Interface LocatorRecord
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<LocatorRecord>
,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.ChildOf<LocatorRecords>
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.DataObject
,org.opendaylight.yangtools.binding.EntryObject<LocatorRecord,
,LocatorRecordKey> org.opendaylight.yangtools.binding.Grouping
,org.opendaylight.yangtools.binding.KeyAware<LocatorRecordKey>
,RlocContainer
@Generated("mdsal-binding-generator")
public interface LocatorRecord
extends org.opendaylight.yangtools.binding.ChildOf<LocatorRecords>, RlocContainer, org.opendaylight.yangtools.binding.EntryObject<LocatorRecord,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; }
To create instances of this class use LocatorRecordBuilder
.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
bindingEquals
(@NonNull LocatorRecord thisObj, 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 String
bindingToString
(@NonNull LocatorRecord obj) Default implementation ofObject.toString()
contract for this interface.Return localLocator, ornull
if it is not present.Return locatorId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return multicastPriority, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return multicastWeight, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return priority, ornull
if it is not present.Return rlocProbed, ornull
if it is not present.Return routed, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return weight, ornull
if it is not present.default Class
<LocatorRecord> key()
default @NonNull Boolean
Return localLocator, guaranteed to be non-null.default @NonNull String
Return locatorId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return multicastPriority, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return multicastWeight, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return priority, guaranteed to be non-null.default @NonNull Boolean
Return rlocProbed, guaranteed to be non-null.default @NonNull Boolean
Return routed, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return weight, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.RlocContainer
getRloc, nonnullRloc
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.binding.DataObject
-
bindingHashCode
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
isnull
-
bindingEquals
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
isnull
-
bindingToString
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
isnull
-
key
LocatorRecordKey key()- Specified by:
key
in interfaceorg.opendaylight.yangtools.binding.KeyAware<LocatorRecordKey>
-
getLocatorId
String getLocatorId()Return locatorId, ornull
if it is not present.- Returns:
String
locatorId, ornull
if it is not present.
-
requireLocatorId
Return locatorId, guaranteed to be non-null.- Returns:
String
locatorId, guaranteed to be non-null.- Throws:
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:
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:
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:
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:
NoSuchElementException
- if multicastWeight is not present
-
getLocalLocator
Boolean getLocalLocator()Return localLocator, ornull
if it is not present.- Returns:
Boolean
localLocator, ornull
if it is not present.
-
requireLocalLocator
Return localLocator, guaranteed to be non-null.- Returns:
Boolean
localLocator, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localLocator is not present
-
getRlocProbed
Boolean getRlocProbed()Return rlocProbed, ornull
if it is not present.- Returns:
Boolean
rlocProbed, ornull
if it is not present.
-
requireRlocProbed
Return rlocProbed, guaranteed to be non-null.- Returns:
Boolean
rlocProbed, guaranteed to be non-null.- Throws:
NoSuchElementException
- if rlocProbed is not present
-
getRouted
Boolean getRouted()Return routed, ornull
if it is not present.- Returns:
Boolean
routed, ornull
if it is not present.
-
requireRouted
Return routed, guaranteed to be non-null.- Returns:
Boolean
routed, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routed is not present
-