@Beta public abstract class AbstractEffectiveOperationContainerSchemaNode<D extends DeclaredStatement<QName>> extends AbstractEffectiveContainerSchemaNode<D>
DocumentedNode.WithStatus
SchemaTreeAwareEffectiveStatement.Namespace<T extends SchemaTreeEffectiveStatement<?>>
Modifier | Constructor and Description |
---|---|
protected |
AbstractEffectiveOperationContainerSchemaNode(StmtContext<QName,D,?> ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<ActionDefinition> |
getActions()
Return the set of actions.
|
Set<NotificationDefinition> |
getNotifications()
Return the set of notifications in this container, keyed by QName.
|
int |
hashCode() |
boolean |
isPresenceContainer()
Returns true if this container is marked as presence.
|
protected static @NonNull Object |
maskList(ImmutableList<?> list)
Utility method for squashing singleton lists into single objects.
|
String |
toString() |
protected static <T> @NonNull ImmutableList<T> |
unmaskList(@NonNull Object masked,
@NonNull Class<T> type)
Utility method for recovering singleton lists squashed by
maskList(ImmutableList) . |
getMustConstraints
getAvailableAugmentations, getPath, getQName, getWhenCondition, isAddedByUses, isAugmenting, isConfiguration, resetAugmenting
findDataChildByName, getChildNodes, getGroupings, getTypeDefinitions, getUses
findDataSchemaNode, getNamespaceContents
getStatus, getUnknownSchemaNodes
getDescription, getReference, nullableDescription, nullableReference
argument, getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, initSubstatements, initSubstatements
get, getAll, unmaskList
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findDataChildByName, findDataChildByName, findDataTreeChild, findDataTreeChild, findDataTreeChild, getChildNodes, getDataChildByName, getGroupings, getTypeDefinitions, getUses
getAvailableAugmentations
isConfiguration
getPath, getQName
getStatus
getDescription, getReference, getUnknownSchemaNodes
isAugmenting
isAddedByUses
getWhenCondition
getMustConstraints
findAction
findNotification
findSchemaTreeNode
effectiveSubstatements, findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, get, getAll, getDeclared, streamEffectiveSubstatements
argument, getStatementSource, statementDefinition
protected AbstractEffectiveOperationContainerSchemaNode(StmtContext<QName,D,?> ctx)
public final Set<ActionDefinition> getActions()
ActionNodeContainer
public final Set<NotificationDefinition> getNotifications()
NotificationNodeContainer
AugmentationSchemaNode
s, GroupingDefinition
s, ListSchemaNode
s and
ContainerSchemaNode
s can also contain NotificationDefinition
s.public final boolean isPresenceContainer()
ContainerSchemaNode
protected static final @NonNull Object maskList(ImmutableList<?> list)
list
- list to maskNullPointerException
- if list is nullprotected static final <T> @NonNull ImmutableList<T> unmaskList(@NonNull Object masked, @NonNull Class<T> type)
maskList(ImmutableList)
.masked
- list to unmaskNullPointerException
- if any argument is nullClassCastException
- if masked object does not match expected classCopyright © 2020 OpenDaylight. All rights reserved.