Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stateful.stats.rev181109
Interface StatefulPreferences
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
StatefulCapabilitiesRpcAug
,StatefulCapabilitiesStatsAug
@Generated("mdsal-binding-generator") public interface StatefulPreferences extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-pcep-stateful-stats
grouping stateful-preferences { leaf instantiation { type boolean; default false; } leaf stateful { type boolean; default false; } leaf active { type boolean; default false; } }
The schema path to identify an instance is odl-pcep-stateful-statsstateful-preferences
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Boolean
getActive()
Return active, ornull
if it is not present.Boolean
getInstantiation()
Return instantiation, ornull
if it is not present.Boolean
getStateful()
Return stateful, ornull
if it is not present.Class<? extends StatefulPreferences>
implementedInterface()
default @NonNull Boolean
requireActive()
Return active, guaranteed to be non-null.default @NonNull Boolean
requireInstantiation()
Return instantiation, guaranteed to be non-null.default @NonNull Boolean
requireStateful()
Return stateful, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends StatefulPreferences> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInstantiation
Boolean getInstantiation()
Return instantiation, ornull
if it is not present.Represents peer's instantiation capability.
- Returns:
Boolean
instantiation, ornull
if it is not present.
-
requireInstantiation
default @NonNull Boolean requireInstantiation()
Return instantiation, guaranteed to be non-null.Represents peer's instantiation capability.
- Returns:
Boolean
instantiation, guaranteed to be non-null.- Throws:
NoSuchElementException
- if instantiation is not present
-
getStateful
Boolean getStateful()
Return stateful, ornull
if it is not present.Represents peer's stateful/stateless capability.
- Returns:
Boolean
stateful, ornull
if it is not present.
-
requireStateful
default @NonNull Boolean requireStateful()
Return stateful, guaranteed to be non-null.Represents peer's stateful/stateless capability.
- Returns:
Boolean
stateful, guaranteed to be non-null.- Throws:
NoSuchElementException
- if stateful is not present
-
getActive
Boolean getActive()
Return active, ornull
if it is not present.Represents peer's LSP update capability.
- Returns:
Boolean
active, ornull
if it is not present.
-
requireActive
default @NonNull Boolean requireActive()
Return active, guaranteed to be non-null.Represents peer's LSP update capability.
- Returns:
Boolean
active, guaranteed to be non-null.- Throws:
NoSuchElementException
- if active is not present
-
-