Interface VendorInformation
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
VendorInformationObject
,VendorInformationTlv
@Generated("mdsal-binding-generator") public interface VendorInformation extends org.opendaylight.yangtools.yang.binding.DataObject
VENDOR-INFORMATION formatThis class represents the following YANG schema fragment defined in module pcep-types
grouping vendor-information { leaf enterprise-number { type iana:enterprise-number; } choice enterprise-specific-information; }
The schema path to identify an instance is pcep-typesvendor-information
-
-
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 EnterpriseNumber
getEnterpriseNumber()
Return enterpriseNumber, ornull
if it is not present.EnterpriseSpecificInformation
getEnterpriseSpecificInformation()
Return enterpriseSpecificInformation, ornull
if it is not present.Class<? extends VendorInformation>
implementedInterface()
default @NonNull EnterpriseNumber
requireEnterpriseNumber()
Return enterpriseNumber, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends VendorInformation> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEnterpriseNumber
EnterpriseNumber getEnterpriseNumber()
Return enterpriseNumber, ornull
if it is not present.- Returns:
EnterpriseNumber
enterpriseNumber, ornull
if it is not present.
-
requireEnterpriseNumber
default @NonNull EnterpriseNumber requireEnterpriseNumber()
Return enterpriseNumber, guaranteed to be non-null.- Returns:
EnterpriseNumber
enterpriseNumber, guaranteed to be non-null.- Throws:
NoSuchElementException
- if enterpriseNumber is not present
-
getEnterpriseSpecificInformation
EnterpriseSpecificInformation getEnterpriseSpecificInformation()
Return enterpriseSpecificInformation, ornull
if it is not present.- Returns:
EnterpriseSpecificInformation
enterpriseSpecificInformation, ornull
if it is not present.
-
-