Interface LeafrefTypeDefinition
- All Superinterfaces:
DocumentedNode
,DocumentedNode.WithStatus
,RequireInstanceRestrictedTypeDefinition<LeafrefTypeDefinition>
,SchemaNode
,TypeDefinition<LeafrefTypeDefinition>
public interface LeafrefTypeDefinition
extends RequireInstanceRestrictedTypeDefinition<LeafrefTypeDefinition>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
equals
(@NonNull LeafrefTypeDefinition type, @Nullable Object obj) @NonNull PathExpression
Return thePathExpression
of thisleafref
.static int
hashCode
(@NonNull LeafrefTypeDefinition type) boolean
Returns true or false which represents argument ofrequire-instance
statement.static String
toString
(@NonNull LeafrefTypeDefinition type) 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.SchemaNode
getQName
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.TypeDefinition
getBaseType, getDefaultValue, getUnits
-
Method Details
-
getPathStatement
@NonNull PathExpression getPathStatement()Return thePathExpression
of thisleafref
.- Returns:
- A path expression
-
requireInstance
boolean requireInstance()Returns true or false which represents argument ofrequire-instance
statement. This statement is the substatement of thetype
statement.For YANG version 1 (RFC6020), this should always return true.
- Specified by:
requireInstance
in interfaceRequireInstanceRestrictedTypeDefinition<LeafrefTypeDefinition>
- Returns:
- boolean value which is true if the
require-instance
statement is true and vice versa
-
hashCode
-
equals
-
toString
-