Class PortConfig
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfig
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.BitsTypeObject
,org.opendaylight.yangtools.yang.binding.TypeObject
@Generated("mdsal-binding-generator")
public class PortConfig
extends Object
implements org.opendaylight.yangtools.yang.binding.BitsTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openflow-types
typedef port-config { type bits { bit port-down { position 0; } bit no-recv { position 2; } bit no-fwd { position 5; } bit no-packet-in { position 6; } } }
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.google.common.collect.ImmutableSet<String>
-
Constructor Summary
ConstructorDescriptionPortConfig
(boolean _noFwd, boolean _noPacketIn, boolean _noRecv, boolean _portDown) PortConfig
(PortConfig source) Creates a copy from Source Object. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
static PortConfig
getDefaultInstance
(String defaultValue) boolean
getNoFwd()
boolean
boolean
boolean
int
hashCode()
toString()
com.google.common.collect.ImmutableSet<String>
boolean[]
values()
-
Field Details
-
VALID_NAMES
-
-
Constructor Details
-
PortConfig
public PortConfig(boolean _noFwd, boolean _noPacketIn, boolean _noRecv, boolean _portDown) -
PortConfig
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Details
-
getDefaultInstance
-
getPortDown
public boolean getPortDown() -
getNoRecv
public boolean getNoRecv() -
getNoFwd
public boolean getNoFwd() -
getNoPacketIn
public boolean getNoPacketIn() -
validNames
- Specified by:
validNames
in interfaceorg.opendaylight.yangtools.yang.binding.BitsTypeObject
-
values
public boolean[] values()- Specified by:
values
in interfaceorg.opendaylight.yangtools.yang.binding.BitsTypeObject
-
hashCode
public int hashCode() -
equals
-
toString
-