Interface ExtensionDefinition
-
- All Superinterfaces:
DocumentedNode
,DocumentedNode.WithStatus
,EffectiveStatementEquivalent<ExtensionEffectiveStatement>
,SchemaNode
public interface ExtensionDefinition extends SchemaNode, EffectiveStatementEquivalent<ExtensionEffectiveStatement>
Contains the methods for getting the data which are part of the YANGextensoion
statement.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getArgument()
Returns theString
that is the name of argument to the Keyword.boolean
isYinElement()
This statement indicates if the argument is mapped to an XML element in YIN or to an XML attribute.
By contract if implementation of ExtensionDefinition does not specify the yin-element statement the return value is by default set tofalse
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getDescription, getReference, getUnknownSchemaNodes
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus
getStatus
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveStatementEquivalent
asEffectiveStatement
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.SchemaNode
getPath, getQName
-
-
-
-
Method Detail
-
getArgument
String getArgument()
Returns theString
that is the name of argument to the Keyword. If no argument statement is present the method will returnnull
The argument statement is defined in [RFC-6020] The argument Statement- Returns:
- the
String
that is the name of argument to the Keyword. If no argument statement is present the method will returnnull
-
isYinElement
boolean isYinElement()
This statement indicates if the argument is mapped to an XML element in YIN or to an XML attribute.
By contract if implementation of ExtensionDefinition does not specify the yin-element statement the return value is by default set tofalse
For more specific definition please look into [RFC-6020] The yin-element Statement
- Returns:
true
if the argument is mapped to an XML element in YIN or returnsfalse
if the argument is mapped to an XML attribute.
-
-