Interface Opaque
- 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:
LdpMpOpaqueValue
,MldpMp2mpLsp
,OpaqueValue
@Generated("mdsal-binding-generator")
public interface Opaque
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module pmsi-tunnel
grouping opaque { leaf opaque-type { type uint8; } leaf opaque-extended-type { type uint16; } leaf opaque { type yang:hex-string; } }
-
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 TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString
Return opaque, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
Return opaqueExtendedType, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return opaqueType, ornull
if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString
Return opaque, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
Return opaqueExtendedType, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return opaqueType, 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
- 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
-
getOpaqueType
org.opendaylight.yangtools.yang.common.Uint8 getOpaqueType()Return opaqueType, ornull
if it is not present.- Returns:
Uint8
opaqueType, ornull
if it is not present.
-
requireOpaqueType
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireOpaqueType()Return opaqueType, guaranteed to be non-null.- Returns:
Uint8
opaqueType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if opaqueType is not present
-
getOpaqueExtendedType
org.opendaylight.yangtools.yang.common.Uint16 getOpaqueExtendedType()Return opaqueExtendedType, ornull
if it is not present.- Returns:
Uint16
opaqueExtendedType, ornull
if it is not present.
-
requireOpaqueExtendedType
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireOpaqueExtendedType()Return opaqueExtendedType, guaranteed to be non-null.- Returns:
Uint16
opaqueExtendedType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if opaqueExtendedType is not present
-
getOpaque
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString getOpaque()Return opaque, ornull
if it is not present.- Returns:
HexString
opaque, ornull
if it is not present.
-
requireOpaque
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString requireOpaque()Return opaque, guaranteed to be non-null.- Returns:
HexString
opaque, guaranteed to be non-null.- Throws:
NoSuchElementException
- if opaque is not present
-