public final class NdConstantBoolean extends NdConstant
| Modifier and Type | Field and Description |
|---|---|
static StructDef<NdConstantBoolean> |
type |
static FieldByte |
VALUE |
PARENT_ANNOTATION_VALUE, PARENT_ARRAY, PARENT_METHOD, PARENT_VARIABLE| Modifier | Constructor and Description |
|---|---|
protected |
NdConstantBoolean(Nd nd) |
|
NdConstantBoolean(Nd nd,
long address) |
| Modifier and Type | Method and Description |
|---|---|
static NdConstantBoolean |
create(Nd nd,
boolean value) |
Constant |
getConstant()
Returns the
Constant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant. |
boolean |
getValue() |
void |
setValue(boolean value) |
create, setParent, toStringdelete, destruct, equals, getAddress, getBindingID, getBit, getByte, getNodeId, getNodeType, hashCode, load, loadpublic static final FieldByte VALUE
public static StructDef<NdConstantBoolean> type
public NdConstantBoolean(Nd nd, long address)
protected NdConstantBoolean(Nd nd)
public static NdConstantBoolean create(Nd nd, boolean value)
public void setValue(boolean value)
public boolean getValue()
public Constant getConstant()
NdConstantConstant corresponding to the value of this NdConstant or null if the receiver
corresponds to a Constant.getConstant in class NdConstant