Interface VendorInformation
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
VendorInformationObject
,VendorInformationTlv
@Generated("mdsal-binding-generator")
public interface VendorInformation
extends org.opendaylight.yangtools.binding.Grouping
VENDOR-INFORMATION format
This 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; }
-
Method Summary
Modifier and TypeMethodDescriptionReturn enterpriseNumber, ornull
if it is not present.Return enterpriseSpecificInformation, ornull
if it is not present.default @NonNull EnterpriseNumber
Return enterpriseNumber, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getEnterpriseNumber
EnterpriseNumber getEnterpriseNumber()Return enterpriseNumber, ornull
if it is not present.- Returns:
EnterpriseNumber
enterpriseNumber, ornull
if it is not present.
-
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.
-