Interface InterfaceRef
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<InterfaceRef>,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.ChildOf<InterfaceRef>,org.opendaylight.yangtools.binding.ContainerObject<InterfaceRef,,InterfaceRef> org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.Grouping,org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>,InterfaceRefStateContainer,org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,,InterfaceRef> org.opendaylight.yangtools.binding.lib.JavaDataContainer<InterfaceRef>,org.opendaylight.yangtools.binding.ParentObject<InterfaceRef>
@Generated("mdsal-binding-generator")
public interface InterfaceRef
extends org.opendaylight.yangtools.binding.ContainerObject<InterfaceRef,InterfaceRef>, InterfaceRefStateContainer
Reference to an interface or subinterface
This class represents the following YANG schema fragment defined in module openconfig-interfaces
container interface-ref {
container config {
uses interface-ref-common;
}
uses interface-ref-state-container;
}
To create instances of this class use InterfaceRefBuilder.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameThe YANG identifier of thecontainerstatement represented by this interface. -
Method Summary
Modifier and TypeMethodDescriptionReturn config, ornullif it is not present.default Class<InterfaceRef> default booleanjavaEQ(InterfaceRef obj) default intjavaHC()default StringjavaTS()@NonNull ConfigReturn config, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentationsMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412.InterfaceRefStateContainer
getState, nonnullStateMethods inherited from interface org.opendaylight.yangtools.binding.lib.JavaContract
equals, hashCode, toString
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEThe YANG identifier of thecontainerstatement represented by this interface.
-
-
Method Details
-
getConfig
Config getConfig()Return config, ornullif it is not present.Configured reference to interface / subinterface- Returns:
Configconfig, ornullif it is not present.
-
nonnullConfig
@NonNull Config nonnullConfig()Return config, or an empty instance if it is not present.Configured reference to interface / subinterface- Returns:
Configconfig, or an empty instance if it is not present.
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.ParentObject<InterfaceRef>
-
javaHC
default int javaHC()- Specified by:
javaHCin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InterfaceRef> - Specified by:
javaHCin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<InterfaceRef>
-
javaEQ
- Specified by:
javaEQin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InterfaceRef> - Specified by:
javaEQin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<InterfaceRef>
-
javaTS
- Specified by:
javaTSin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InterfaceRef> - Specified by:
javaTSin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<InterfaceRef>
-