Interface MandatoryAware
-
- All Known Subinterfaces:
AnydataSchemaNode
,AnyxmlSchemaNode
,ChoiceSchemaNode
,EffectiveStatementMixins.MandatoryMixin<A,D>
,LeafSchemaNode
,YangModeledAnyxmlSchemaNode
public interface MandatoryAware
Mix-in interface forSchemaNode
s which can have amandatory
statement.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isMandatory()
Return whether this node is mandatory or not.
-
-
-
Method Detail
-
isMandatory
boolean isMandatory()
Return whether this node is mandatory or not. Note this reflects the declared model, as defined by 'mandatory' statement, not the effective model. This notably means this attribute does not mirror the definition ofmandatory node
as per RFC7950 Terminology.- Returns:
- True if this node is marked as mandatory.
-
-