Package org.opendaylight.yang.gen.v1.urn.opendaylight.model.topology.general.rev131030.node.identifiers
Interface NodeIdentifier
-
- All Superinterfaces:
Augmentable<NodeIdentifier>
,BindingObject
,ChildOf<NodeIdentifiers>
,DataContainer
,DataObject
,Identifiable<NodeIdentifierKey>
public interface NodeIdentifier extends ChildOf<NodeIdentifiers>, Augmentable<NodeIdentifier>, Identifiable<NodeIdentifierKey>
This class represents the following YANG schema fragment defined in module UnqualifiedQName{localName=opendaylight-topology}
list node-identifier { key "type identifier"; leaf type { type node-type-ref; } leaf identifier { type inet:uri; } }
The schema path to identify an instance is opendaylight-topology/node-identifiers/node-identifierTo create instances of this class use
NodeIdentifierBuilder
.- See Also:
NodeIdentifierBuilder
,NodeIdentifierKey
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull NodeIdentifier thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull NodeIdentifier obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull NodeIdentifier obj)
Default implementation ofObject.toString()
contract for this interface.@Nullable Uri
getIdentifier()
Return identifier, ornull
if it is not present..@Nullable Class<? extends NodeType>
getType()
Return type, ornull
if it is not present..default Class<NodeIdentifier>
implementedInterface()
NodeIdentifierKey
key()
-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentations
-
-
-
-
Field Detail
-
QNAME
static final @NonNull QName QNAME
-
-
Method Detail
-
implementedInterface
default Class<NodeIdentifier> implementedInterface()
- Specified by:
implementedInterface
in interfaceDataContainer
- Specified by:
implementedInterface
in interfaceDataObject
-
bindingHashCode
static int bindingHashCode(@NonNull NodeIdentifier obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull NodeIdentifier thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull NodeIdentifier obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
getType
@Nullable Class<? extends NodeType> getType()
Return type, ornull
if it is not present..- Returns:
java.lang.Class
type, ornull
if it is not present.
-
getIdentifier
@Nullable Uri getIdentifier()
Return identifier, ornull
if it is not present..- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
identifier, ornull
if it is not present.
-
key
NodeIdentifierKey key()
- Specified by:
key
in interfaceIdentifiable<NodeIdentifierKey>
-
-