Interface ExcludeRouteSubobjects
- All Superinterfaces:
BasicExplicitRouteSubobjects
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Exrs
,Subobject
,SubobjectContainer
@Generated("mdsal-binding-generator")
public interface ExcludeRouteSubobjects
extends org.opendaylight.yangtools.yang.binding.DataObject, BasicExplicitRouteSubobjects
Subobject of an Exclude Route Object
This class represents the following YANG schema fragment defined in module rsvp
grouping exclude-route-subobjects { leaf mandatory { type boolean; default false; } leaf attribute { type enumeration { enum interface { value 0; } enum node { value 1; } enum srlg { value 2; } } } uses basic-explicit-route-subobjects; }
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
This class represents the following YANG schema fragment defined in module rsvp -
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 TypeMethodDescriptionReturn attribute, ornull
if it is not present.Return mandatory, ornull
if it is not present.Class<? extends ExcludeRouteSubobjects>
default @NonNull ExcludeRouteSubobjects.Attribute
Return attribute, guaranteed to be non-null.default @NonNull Boolean
Return mandatory, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.BasicExplicitRouteSubobjects
getSubobjectType
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends ExcludeRouteSubobjects> implementedInterface()- Specified by:
implementedInterface
in interfaceBasicExplicitRouteSubobjects
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMandatory
Boolean getMandatory()Return mandatory, ornull
if it is not present.- Returns:
Boolean
mandatory, ornull
if it is not present.
-
requireMandatory
Return mandatory, guaranteed to be non-null.- Returns:
Boolean
mandatory, guaranteed to be non-null.- Throws:
NoSuchElementException
- if mandatory is not present
-
getAttribute
ExcludeRouteSubobjects.Attribute getAttribute()Return attribute, ornull
if it is not present.- Returns:
Attribute
attribute, ornull
if it is not present.
-
requireAttribute
Return attribute, guaranteed to be non-null.- Returns:
Attribute
attribute, guaranteed to be non-null.- Throws:
NoSuchElementException
- if attribute is not present
-