Interface EffectiveStatementMixins.OperationContainerMixin<D extends DeclaredStatement<QName>>
-
- Type Parameters:
D
- Class representing declared version of this statement.
- All Superinterfaces:
ActionNodeContainer
,AddedByUsesAware
,AugmentationTarget
,ContainerSchemaNode
,CopyableNode
,DataNodeContainer
,DataSchemaNode
,DocumentedNode
,DocumentedNode.WithStatus
,EffectiveStatement<QName,D>
,EffectiveStatementMixins.AddedByUsesMixin<QName,D>
,EffectiveStatementMixins.AugmentationTargetMixin<QName,D>
,EffectiveStatementMixins.CopyableMixin<QName,D>
,EffectiveStatementMixins.DataNodeContainerMixin<QName,D>
,EffectiveStatementMixins.DocumentedNodeMixin<QName,D>
,EffectiveStatementMixins.DocumentedNodeMixin.WithStatus<QName,D>
,EffectiveStatementMixins.EffectiveStatementWithFlags<QName,D>
,EffectiveStatementMixins.MustConstraintMixin<QName,D>
,EffectiveStatementMixins.SchemaNodeMixin<QName,D>
,EffectiveStatementMixins.WhenConditionMixin<QName,D>
,ModelStatement<QName>
,MustConstraintAware
,NotificationNodeContainer
,SchemaNode
,WhenConditionAware
- Enclosing class:
- EffectiveStatementMixins
public static interface EffectiveStatementMixins.OperationContainerMixin<D extends DeclaredStatement<QName>> extends ContainerSchemaNode, EffectiveStatementMixins.DocumentedNodeMixin.WithStatus<QName,D>, EffectiveStatementMixins.DataNodeContainerMixin<QName,D>, EffectiveStatementMixins.MustConstraintMixin<QName,D>, EffectiveStatementMixins.WhenConditionMixin<QName,D>, EffectiveStatementMixins.AugmentationTargetMixin<QName,D>, EffectiveStatementMixins.SchemaNodeMixin<QName,D>, EffectiveStatementMixins.CopyableMixin<QName,D>
Helper bridge for operation containers (input
andoutput
).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.DocumentedNodeMixin
EffectiveStatementMixins.DocumentedNodeMixin.WithStatus<A,D extends DeclaredStatement<A>>
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.EffectiveStatementWithFlags
EffectiveStatementMixins.EffectiveStatementWithFlags.FlagsBuilder
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @NonNull QName
argument()
Returns statement argument.default String
defaultToString()
default Optional<ActionDefinition>
findAction(QName qname)
Find an action based on its QName.default Optional<NotificationDefinition>
findNotification(QName qname)
Find a notification based on its QName.default Set<ActionDefinition>
getActions()
Return the set of actions.default Set<NotificationDefinition>
getNotifications()
Return the set of notifications in this container, keyed by QName.default boolean
isConfiguration()
Returnstrue
if the data represents configuration data, otherwise returnsfalse
.default boolean
isPresenceContainer()
Returns true if this container is marked as presence.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DataNodeContainer
findDataChildByName, findDataChildByName, findDataTreeChild, findDataTreeChild, findDataTreeChild, getDataChildByName
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
effectiveSubstatements, findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, get, getAll, getDeclared, streamEffectiveSubstatements
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.AddedByUsesMixin
isAddedByUses
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.AugmentationTargetMixin
getAvailableAugmentations
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.CopyableMixin
isAugmenting
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.DataNodeContainerMixin
getChildNodes, getGroupings, getTypeDefinitions, getUses
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.DocumentedNodeMixin
getDescription, getReference, getUnknownSchemaNodes
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.DocumentedNodeMixin.WithStatus
getStatus
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.EffectiveStatementWithFlags
flags
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.MustConstraintMixin
getMustConstraints
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.SchemaNodeMixin
getQName
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.WhenConditionMixin
getWhenCondition
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
getStatementSource, statementDefinition
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.SchemaNode
getPath
-
-
-
-
Method Detail
-
argument
default @NonNull QName argument()
Description copied from interface:ModelStatement
Returns statement argument.- Specified by:
argument
in interfaceModelStatement<D extends DeclaredStatement<QName>>
- Returns:
- statement argument or null if statement does not have argument.
-
findAction
default Optional<ActionDefinition> findAction(QName qname)
Description copied from interface:ActionNodeContainer
Find an action based on its QName. Default implementation searches the set returned byActionNodeContainer.getActions()
.- Specified by:
findAction
in interfaceActionNodeContainer
- Parameters:
qname
- Action's QName- Returns:
- Action definition, if found
-
findNotification
default Optional<NotificationDefinition> findNotification(QName qname)
Description copied from interface:NotificationNodeContainer
Find a notification based on its QName. Default implementation searches the set returned byNotificationNodeContainer.getNotifications()
.- Specified by:
findNotification
in interfaceNotificationNodeContainer
- Parameters:
qname
- Notification QName- Returns:
- Notification definition, if found
-
getActions
default Set<ActionDefinition> getActions()
Description copied from interface:ActionNodeContainer
Return the set of actions.- Specified by:
getActions
in interfaceActionNodeContainer
- Returns:
- set of action nodes
-
getNotifications
default Set<NotificationDefinition> getNotifications()
Description copied from interface:NotificationNodeContainer
Return the set of notifications in this container, keyed by QName. RFC7950 specifies thatAugmentationSchemaNode
s,GroupingDefinition
s,ListSchemaNode
s andContainerSchemaNode
s can also containNotificationDefinition
s.- Specified by:
getNotifications
in interfaceNotificationNodeContainer
- Returns:
- set of notification nodes
-
isConfiguration
default boolean isConfiguration()
Description copied from interface:DataSchemaNode
Returnstrue
if the data represents configuration data, otherwise returnsfalse
.- Specified by:
isConfiguration
in interfaceDataSchemaNode
- Returns:
true
if the data represents configuration data, otherwise returnsfalse
-
isPresenceContainer
default boolean isPresenceContainer()
Description copied from interface:ContainerSchemaNode
Returns true if this container is marked as presence.- Specified by:
isPresenceContainer
in interfaceContainerSchemaNode
- Returns:
- true, if presence of this container has an explicit meaning, false otherwise
-
defaultToString
default String defaultToString()
-
-