Interface AsNumberSubobject
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,CSubobject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
AsNumber
@Generated("mdsal-binding-generator")
public interface AsNumberSubobject
extends org.opendaylight.yangtools.binding.Grouping, CSubobject
This class represents the following YANG schema fragment defined in module rsvp
grouping as-number-subobject { uses c-subobject; leaf as-number { type inet:as-number; } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
Return asNumber, ornull
if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
Return asNumber, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getAsNumber
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getAsNumber()Return asNumber, ornull
if it is not present.- Returns:
AsNumber
asNumber, ornull
if it is not present.
-
requireAsNumber
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber requireAsNumber()Return asNumber, guaranteed to be non-null.- Returns:
AsNumber
asNumber, guaranteed to be non-null.- Throws:
NoSuchElementException
- if asNumber is not present
-