Class BitmaskOperand
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.BitmaskOperand
- 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 BitmaskOperand
extends Object
implements org.opendaylight.yangtools.yang.binding.BitsTypeObject, Serializable
This class represents the following YANG schema fragment defined in module bgp-flowspec
typedef bitmask-operand { type bits { bit end-of-list { position 0; } bit and-bit { position 1; } bit not { position 6; } bit match { position 7; } } }
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.google.common.collect.ImmutableSet<String>
-
Constructor Summary
ConstructorDescriptionBitmaskOperand
(boolean _andBit, boolean _endOfList, boolean _match, boolean _not) BitmaskOperand
(BitmaskOperand source) Creates a copy from Source Object. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
boolean
static BitmaskOperand
getDefaultInstance
(String defaultValue) boolean
boolean
getMatch()
boolean
getNot()
int
hashCode()
toString()
com.google.common.collect.ImmutableSet<String>
boolean[]
values()
-
Field Details
-
VALID_NAMES
-
-
Constructor Details
-
BitmaskOperand
public BitmaskOperand(boolean _andBit, boolean _endOfList, boolean _match, boolean _not) -
BitmaskOperand
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Details
-
getDefaultInstance
-
getEndOfList
public boolean getEndOfList() -
getAndBit
public boolean getAndBit() -
getNot
public boolean getNot() -
getMatch
public boolean getMatch() -
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
-