Interface ExcludeRouteSubobjects
-
- All Superinterfaces:
BasicExplicitRouteSubobjects,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Exrs,SubobjectContainer
@Generated("mdsal-binding-generator") public interface ExcludeRouteSubobjects extends org.opendaylight.yangtools.yang.binding.DataObject, BasicExplicitRouteSubobjects
Subobject of an Exclude Route ObjectThis 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; }The schema path to identify an instance is rsvpexclude-route-subobjects
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExcludeRouteSubobjects.Attribute
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExcludeRouteSubobjects.AttributegetAttribute()Return attribute, ornullif it is not present.BooleangetMandatory()Return mandatory, ornullif it is not present.Class<? extends ExcludeRouteSubobjects>implementedInterface()default @NonNull ExcludeRouteSubobjects.AttributerequireAttribute()Return attribute, guaranteed to be non-null.default @NonNull BooleanrequireMandatory()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
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends ExcludeRouteSubobjects> implementedInterface()
- Specified by:
implementedInterfacein interfaceBasicExplicitRouteSubobjects- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMandatory
Boolean getMandatory()
Return mandatory, ornullif it is not present.- Returns:
Booleanmandatory, ornullif it is not present.
-
requireMandatory
default @NonNull Boolean requireMandatory()
Return mandatory, guaranteed to be non-null.- Returns:
Booleanmandatory, guaranteed to be non-null.- Throws:
NoSuchElementException- if mandatory is not present
-
getAttribute
ExcludeRouteSubobjects.Attribute getAttribute()
Return attribute, ornullif it is not present.- Returns:
Attributeattribute, ornullif it is not present.
-
requireAttribute
default @NonNull ExcludeRouteSubobjects.Attribute requireAttribute()
Return attribute, guaranteed to be non-null.- Returns:
Attributeattribute, guaranteed to be non-null.- Throws:
NoSuchElementException- if attribute is not present
-
-