Interface ExcludeRouteSubobjects
- All Superinterfaces:
BasicExplicitRouteSubobjects,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
Exrs,SubobjectContainer
@Generated("mdsal-binding-generator")
public interface ExcludeRouteSubobjects
extends org.opendaylight.yangtools.binding.Grouping, 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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThis class represents the following YANG schema fragment defined in module rsvp -
Method Summary
Modifier and TypeMethodDescriptionReturn attribute, ornullif it is not present.Return mandatory, ornullif it is not present.default @NonNull ExcludeRouteSubobjects.AttributeReturn attribute, guaranteed to be non-null.default @NonNull BooleanReturn mandatory, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.BasicExplicitRouteSubobjects
getSubobjectTypeMethods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getMandatory
Boolean getMandatory()Return mandatory, ornullif it is not present.- Returns:
Booleanmandatory, ornullif it is not present.
-
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
Return attribute, guaranteed to be non-null.- Returns:
Attributeattribute, guaranteed to be non-null.- Throws:
NoSuchElementException- if attribute is not present
-