Class PortStateV10
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortStateV10
- 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 PortStateV10
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-state-v10 { type bits { bit link_down { position 0; } bit blocked { position 1; } bit live { position 2; } bit stp_listen { } bit stp_learn { } bit stp_forward { } bit stp_block { } bit stp_mask { } } }
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.google.common.collect.ImmutableSet<String>
-
Constructor Summary
ConstructorDescriptionPortStateV10
(boolean _blocked, boolean _linkDown, boolean _live, boolean _stpBlock, boolean _stpForward, boolean _stpLearn, boolean _stpListen, boolean _stpMask) PortStateV10
(PortStateV10 source) Creates a copy from Source Object. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
boolean
static PortStateV10
getDefaultInstance
(String defaultValue) boolean
boolean
getLive()
boolean
boolean
boolean
boolean
boolean
int
hashCode()
toString()
com.google.common.collect.ImmutableSet<String>
boolean[]
values()
-
Field Details
-
VALID_NAMES
-
-
Constructor Details
-
PortStateV10
public PortStateV10(boolean _blocked, boolean _linkDown, boolean _live, boolean _stpBlock, boolean _stpForward, boolean _stpLearn, boolean _stpListen, boolean _stpMask) -
PortStateV10
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Details
-
getDefaultInstance
-
getLinkDown
public boolean getLinkDown() -
getBlocked
public boolean getBlocked() -
getLive
public boolean getLive() -
getStpListen
public boolean getStpListen() -
getStpLearn
public boolean getStpLearn() -
getStpForward
public boolean getStpForward() -
getStpBlock
public boolean getStpBlock() -
getStpMask
public boolean getStpMask() -
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
-