Interface LocatorRecord
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<LocatorRecord>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<LocatorRecords>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<LocatorRecordKey>
,RlocContainer
@Generated("mdsal-binding-generator") public interface LocatorRecord extends org.opendaylight.yangtools.yang.binding.ChildOf<LocatorRecords>, org.opendaylight.yangtools.yang.binding.Augmentable<LocatorRecord>, RlocContainer, org.opendaylight.yangtools.yang.binding.Identifiable<LocatorRecordKey>
This class represents the following YANG schema fragment defined in module odl-lisp-proto
list LocatorRecord { key locator-id; ordered-by user; leaf locator-id { type string; } leaf priority { type uint8; } leaf weight { type uint8; } leaf multicastPriority { type uint8; } leaf multicastWeight { type uint8; } leaf localLocator { type boolean; } leaf rlocProbed { type boolean; } leaf routed { type boolean; } uses rloc-container; }
The schema path to identify an instance is odl-lisp-protoLocatorRecordsLocatorRecordTo create instances of this class use
LocatorRecordBuilder
.- See Also:
LocatorRecordBuilder
,LocatorRecordKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull LocatorRecord thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull LocatorRecord obj)
Default implementation ofObject.hashCode()
contract for this interface.static java.lang.String
bindingToString(@NonNull LocatorRecord obj)
Default implementation ofObject.toString()
contract for this interface.java.lang.Boolean
getLocalLocator()
Return localLocator, ornull
if it is not present.java.lang.String
getLocatorId()
Return locatorId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getMulticastPriority()
Return multicastPriority, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getMulticastWeight()
Return multicastWeight, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getPriority()
Return priority, ornull
if it is not present.java.lang.Boolean
getRlocProbed()
Return rlocProbed, ornull
if it is not present.java.lang.Boolean
getRouted()
Return routed, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getWeight()
Return weight, ornull
if it is not present.default java.lang.Class<LocatorRecord>
implementedInterface()
LocatorRecordKey
key()
default @NonNull java.lang.Boolean
requireLocalLocator()
Return localLocator, guaranteed to be non-null.default @NonNull java.lang.String
requireLocatorId()
Return locatorId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requireMulticastPriority()
Return multicastPriority, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requireMulticastWeight()
Return multicastWeight, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requirePriority()
Return priority, guaranteed to be non-null.default @NonNull java.lang.Boolean
requireRlocProbed()
Return rlocProbed, guaranteed to be non-null.default @NonNull java.lang.Boolean
requireRouted()
Return routed, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requireWeight()
Return weight, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentations
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.RlocContainer
getRloc
-
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<LocatorRecord> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceRlocContainer
-
bindingHashCode
static int bindingHashCode(@NonNull LocatorRecord 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:
java.lang.NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull LocatorRecord thisObj, java.lang.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:
java.lang.NullPointerException
- ifthisObj
is null
-
bindingToString
static java.lang.String bindingToString(@NonNull LocatorRecord 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:
java.lang.NullPointerException
- ifobj
is null
-
key
LocatorRecordKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<LocatorRecordKey>
-
getLocatorId
java.lang.String getLocatorId()
Return locatorId, ornull
if it is not present.- Returns:
String
locatorId, ornull
if it is not present.
-
requireLocatorId
default @NonNull java.lang.String requireLocatorId()
Return locatorId, guaranteed to be non-null.- Returns:
String
locatorId, guaranteed to be non-null.- Throws:
java.util.NoSuchElementException
- if locatorId is not present
-
getPriority
org.opendaylight.yangtools.yang.common.Uint8 getPriority()
Return priority, ornull
if it is not present.- Returns:
Uint8
priority, ornull
if it is not present.
-
requirePriority
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requirePriority()
Return priority, guaranteed to be non-null.- Returns:
Uint8
priority, guaranteed to be non-null.- Throws:
java.util.NoSuchElementException
- if priority is not present
-
getWeight
org.opendaylight.yangtools.yang.common.Uint8 getWeight()
Return weight, ornull
if it is not present.- Returns:
Uint8
weight, ornull
if it is not present.
-
requireWeight
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireWeight()
Return weight, guaranteed to be non-null.- Returns:
Uint8
weight, guaranteed to be non-null.- Throws:
java.util.NoSuchElementException
- if weight is not present
-
getMulticastPriority
org.opendaylight.yangtools.yang.common.Uint8 getMulticastPriority()
Return multicastPriority, ornull
if it is not present.- Returns:
Uint8
multicastPriority, ornull
if it is not present.
-
requireMulticastPriority
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireMulticastPriority()
Return multicastPriority, guaranteed to be non-null.- Returns:
Uint8
multicastPriority, guaranteed to be non-null.- Throws:
java.util.NoSuchElementException
- if multicastPriority is not present
-
getMulticastWeight
org.opendaylight.yangtools.yang.common.Uint8 getMulticastWeight()
Return multicastWeight, ornull
if it is not present.- Returns:
Uint8
multicastWeight, ornull
if it is not present.
-
requireMulticastWeight
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireMulticastWeight()
Return multicastWeight, guaranteed to be non-null.- Returns:
Uint8
multicastWeight, guaranteed to be non-null.- Throws:
java.util.NoSuchElementException
- if multicastWeight is not present
-
getLocalLocator
java.lang.Boolean getLocalLocator()
Return localLocator, ornull
if it is not present.- Returns:
Boolean
localLocator, ornull
if it is not present.
-
requireLocalLocator
default @NonNull java.lang.Boolean requireLocalLocator()
Return localLocator, guaranteed to be non-null.- Returns:
Boolean
localLocator, guaranteed to be non-null.- Throws:
java.util.NoSuchElementException
- if localLocator is not present
-
getRlocProbed
java.lang.Boolean getRlocProbed()
Return rlocProbed, ornull
if it is not present.- Returns:
Boolean
rlocProbed, ornull
if it is not present.
-
requireRlocProbed
default @NonNull java.lang.Boolean requireRlocProbed()
Return rlocProbed, guaranteed to be non-null.- Returns:
Boolean
rlocProbed, guaranteed to be non-null.- Throws:
java.util.NoSuchElementException
- if rlocProbed is not present
-
getRouted
java.lang.Boolean getRouted()
Return routed, ornull
if it is not present.- Returns:
Boolean
routed, ornull
if it is not present.
-
requireRouted
default @NonNull java.lang.Boolean requireRouted()
Return routed, guaranteed to be non-null.- Returns:
Boolean
routed, guaranteed to be non-null.- Throws:
java.util.NoSuchElementException
- if routed is not present
-
-