Class Fragment
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.Fragment
- 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 Fragment
extends Object
implements org.opendaylight.yangtools.yang.binding.BitsTypeObject, Serializable
This class represents the following YANG schema fragment defined in module bgp-flowspec
typedef fragment { type bits { bit last { position 4; } bit first { position 5; } bit is-a { position 6; } bit do-not { position 7; } } }
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.google.common.collect.ImmutableSet<String>
-
Constructor Summary
-
Method Summary
-
Field Details
-
VALID_NAMES
-
-
Constructor Details
-
Fragment
public Fragment(boolean _doNot, boolean _first, boolean _isA, boolean _last) -
Fragment
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Details
-
getDefaultInstance
-
getLast
public boolean getLast() -
getFirst
public boolean getFirst() -
getIsA
public boolean getIsA() -
getDoNot
public boolean getDoNot() -
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
-