Class PortConfig
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.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 opendaylight-port-types
typedef port-config { type bits { bit PORT-DOWN; bit NO-RECV; bit NO-FWD; bit NO-PACKET-IN; } }
- 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
-