Interface ErrorSpec
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface ErrorSpec extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module rsvp
grouping error-spec { leaf node { type inet:ip-address-no-zone; } leaf flags { type bits { bit in-place { position 7; } bit not-guilty { position 6; } } } leaf code { type uint8; } leaf value { type uint16; } }The schema path to identify an instance is rsvperror-spec
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classErrorSpec.Flags
-
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 org.opendaylight.yangtools.yang.common.Uint8getCode()Return code, ornullif it is not present.ErrorSpec.FlagsgetFlags()Return flags, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZonegetNode()Return node, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getValue()Return value, ornullif it is not present.Class<? extends ErrorSpec>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint8requireCode()Return code, guaranteed to be non-null.default @NonNull ErrorSpec.FlagsrequireFlags()Return flags, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZonerequireNode()Return node, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16requireValue()Return value, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ErrorSpec> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getNode
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone getNode()
Return node, ornullif it is not present.- Returns:
IpAddressNoZonenode, ornullif it is not present.
-
requireNode
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone requireNode()
Return node, guaranteed to be non-null.- Returns:
IpAddressNoZonenode, guaranteed to be non-null.- Throws:
NoSuchElementException- if node is not present
-
getFlags
ErrorSpec.Flags getFlags()
Return flags, ornullif it is not present.- Returns:
Flagsflags, ornullif it is not present.
-
requireFlags
default @NonNull ErrorSpec.Flags requireFlags()
Return flags, guaranteed to be non-null.- Returns:
Flagsflags, guaranteed to be non-null.- Throws:
NoSuchElementException- if flags is not present
-
getCode
org.opendaylight.yangtools.yang.common.Uint8 getCode()
Return code, ornullif it is not present.- Returns:
Uint8code, ornullif it is not present.
-
requireCode
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireCode()
Return code, guaranteed to be non-null.- Returns:
Uint8code, guaranteed to be non-null.- Throws:
NoSuchElementException- if code is not present
-
getValue
org.opendaylight.yangtools.yang.common.Uint16 getValue()
Return value, ornullif it is not present.- Returns:
Uint16value, ornullif it is not present.
-
requireValue
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireValue()
Return value, guaranteed to be non-null.- Returns:
Uint16value, guaranteed to be non-null.- Throws:
NoSuchElementException- if value is not present
-
-