Interface InterfaceRef
- 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:
Unnumbered
@Generated("mdsal-binding-generator")
public interface InterfaceRef
extends org.opendaylight.yangtools.binding.Grouping
Reusable definition for a reference to an interface or subinterface
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping interface-ref { container interface-ref { container config { uses interface-ref-common; } uses interface-ref-state-container; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn interfaceRef, ornull
if it is not present.@NonNull InterfaceRef
Return interfaceRef, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getInterfaceRef
InterfaceRef getInterfaceRef()Return interfaceRef, ornull
if it is not present.Reference to an interface or subinterface
- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412._interface.ref.InterfaceRef
interfaceRef, ornull
if it is not present.
-
nonnullInterfaceRef
@NonNull InterfaceRef nonnullInterfaceRef()Return interfaceRef, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412._interface.ref.InterfaceRef
interfaceRef, or an empty instance if it is not present.
-