Interface BaseInterfaceRefState
- 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:
Member
@Generated("mdsal-binding-generator")
public interface BaseInterfaceRefState
extends org.opendaylight.yangtools.yang.binding.DataObject
Reusable opstate w/container for a reference to a base interface (no
subinterface).
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping base-interface-ref-state {
container state {
config false;
leaf interface {
type base-interface-ref;
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetState()Return state, ornullif it is not present.Class<? extends BaseInterfaceRefState>@NonNull StateReturn state, 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 BaseInterfaceRefState> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getState
State getState()Return state, ornullif it is not present.Operational state for base interface reference- Returns:
Statestate, ornullif it is not present.
-
nonnullState
@NonNull State nonnullState()Return state, or an empty instance if it is not present.- Returns:
Statestate, or an empty instance if it is not present.
-