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.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:
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; } }
-
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 active, ornull
if it is not present.Return instantiation, ornull
if it is not present.Return stateful, ornull
if it is not present.Class<? extends StatefulPreferences>
default @NonNull Boolean
Return active, guaranteed to be non-null.default @NonNull Boolean
Return instantiation, guaranteed to be non-null.default @NonNull Boolean
Return stateful, guaranteed to be non-null.
-
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 StatefulPreferences> implementedInterface()- 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
-
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
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
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
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
-