Interface InterfaceRefState
- 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
@Generated("mdsal-binding-generator")
public interface InterfaceRefState
extends org.opendaylight.yangtools.yang.binding.DataObject
Reusable opstate w/container for a reference to an interface or subinterface
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping interface-ref-state { container interface-ref { uses interface-ref-state-container; } }
-
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 TypeMethodDescriptionReturn interfaceRef, ornull
if it is not present.Class<? extends InterfaceRefState>
@NonNull InterfaceRef
Return interfaceRef, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends InterfaceRefState> 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
-
getInterfaceRef
InterfaceRef getInterfaceRef()Return interfaceRef, ornull
if it is not present.Reference to an interface or subinterface
- Returns:
InterfaceRef
interfaceRef, ornull
if it is not present.
-
nonnullInterfaceRef
@NonNull InterfaceRef nonnullInterfaceRef()Return interfaceRef, or an empty instance if it is not present.- Returns:
InterfaceRef
interfaceRef, or an empty instance if it is not present.
-