Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.protection.subobject
Interface ProtectionSubobject
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ProtectionSubobject>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ProtectionSubobject>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface ProtectionSubobject extends org.opendaylight.yangtools.yang.binding.ChildOf<ProtectionSubobject>, org.opendaylight.yangtools.yang.binding.Augmentable<ProtectionSubobject>
This class represents the following YANG schema fragment defined in module rsvp
container protection-subobject { leaf secondary { type boolean; default false; } leaf protecting { type boolean; default false; } leaf notification { type boolean; default false; } leaf operational { type boolean; default false; } leaf lsp-flag { type lsp-flag; } leaf link-flags { type link-flags; } leaf in-place { type boolean; default false; } leaf required { type boolean; default false; } leaf seg-flag { type lsp-flag; } }
The schema path to identify an instance is rsvp/protection-subobject/protection-subobjectTo create instances of this class use
ProtectionSubobjectBuilder
.- See Also:
ProtectionSubobjectBuilder
-
-
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 Deprecated Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull ProtectionSubobject thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull ProtectionSubobject obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull ProtectionSubobject obj)
Default implementation ofObject.toString()
contract for this interface.Boolean
getInPlace()
Return inPlace, ornull
if it is not present.LinkFlags
getLinkFlags()
Return linkFlags, ornull
if it is not present.LspFlag
getLspFlag()
Return lspFlag, ornull
if it is not present.Boolean
getNotification()
Return notification, ornull
if it is not present.Boolean
getOperational()
Return operational, ornull
if it is not present.Boolean
getProtecting()
Return protecting, ornull
if it is not present.Boolean
getRequired()
Return required, ornull
if it is not present.Boolean
getSecondary()
Return secondary, ornull
if it is not present.LspFlag
getSegFlag()
Return segFlag, ornull
if it is not present.default Class<ProtectionSubobject>
implementedInterface()
default Boolean
isInPlace()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isNotification()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isOperational()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isProtecting()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isRequired()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isSecondary()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
default Class<ProtectionSubobject> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull ProtectionSubobject 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 ProtectionSubobject 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 ProtectionSubobject 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
-
getSecondary
Boolean getSecondary()
Return secondary, ornull
if it is not present.- Returns:
java.lang.Boolean
secondary, ornull
if it is not present.
-
isSecondary
@Deprecated(forRemoval=true) default Boolean isSecondary()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getProtecting
Boolean getProtecting()
Return protecting, ornull
if it is not present.- Returns:
java.lang.Boolean
protecting, ornull
if it is not present.
-
isProtecting
@Deprecated(forRemoval=true) default Boolean isProtecting()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getNotification
Boolean getNotification()
Return notification, ornull
if it is not present.- Returns:
java.lang.Boolean
notification, ornull
if it is not present.
-
isNotification
@Deprecated(forRemoval=true) default Boolean isNotification()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getOperational
Boolean getOperational()
Return operational, ornull
if it is not present.- Returns:
java.lang.Boolean
operational, ornull
if it is not present.
-
isOperational
@Deprecated(forRemoval=true) default Boolean isOperational()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getLspFlag
LspFlag getLspFlag()
Return lspFlag, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.LspFlag
lspFlag, ornull
if it is not present.
-
getLinkFlags
LinkFlags getLinkFlags()
Return linkFlags, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.LinkFlags
linkFlags, ornull
if it is not present.
-
getInPlace
Boolean getInPlace()
Return inPlace, ornull
if it is not present.- Returns:
java.lang.Boolean
inPlace, ornull
if it is not present.
-
isInPlace
@Deprecated(forRemoval=true) default Boolean isInPlace()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getRequired
Boolean getRequired()
Return required, ornull
if it is not present.- Returns:
java.lang.Boolean
required, ornull
if it is not present.
-
isRequired
@Deprecated(forRemoval=true) default Boolean isRequired()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getSegFlag
LspFlag getSegFlag()
Return segFlag, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.LspFlag
segFlag, ornull
if it is not present.
-
-