Interface Port
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Port>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Port>
,CommonPort
,CommonPortWithMask
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<PortKey>
public interface Port extends org.opendaylight.yangtools.yang.binding.ChildOf<Port>, org.opendaylight.yangtools.yang.binding.Augmentable<Port>, CommonPortWithMask, org.opendaylight.yangtools.yang.binding.Identifiable<PortKey>
This class represents the following YANG schema fragment defined in module opendaylight-port-types
list port { key port-mod-order; leaf port-mod-order { type uint32; } uses common-port-with-mask; leaf container-name { type string; } leaf port-name { type string; } leaf barrier { type boolean; } }
The schema path to identify an instance is opendaylight-port-types/port-mod/port/portTo create instances of this class use
PortBuilder
.- See Also:
PortBuilder
,PortKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getContainerName()
org.opendaylight.yangtools.yang.common.Uint32
getPortModOrder()
String
getPortName()
default Class<Port>
implementedInterface()
Boolean
isBarrier()
PortKey
key()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.CommonPort
getAdvertisedFeatures, getConfiguration, getHardwareAddress, getPortNumber
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.CommonPortWithMask
getMask
-
-
-
-
Method Detail
-
implementedInterface
default Class<Port> implementedInterface()
- Specified by:
implementedInterface
in interfaceCommonPort
- Specified by:
implementedInterface
in interfaceCommonPortWithMask
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPortModOrder
org.opendaylight.yangtools.yang.common.Uint32 getPortModOrder()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
portModOrder
, ornull
if not present
-
getContainerName
String getContainerName()
- Returns:
java.lang.String
containerName
, ornull
if not present
-
getPortName
String getPortName()
- Returns:
java.lang.String
portName
, ornull
if not present
-
isBarrier
Boolean isBarrier()
- Returns:
java.lang.Boolean
barrier
, ornull
if not present
-
-