|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.parameter.BaseParameter
org.eclipse.soda.dk.parameter.BaseKeyParameter
org.eclipse.soda.dk.parameter.SimpleBooleanParameter
public class SimpleBooleanParameter
| Field Summary | |
|---|---|
static int |
BOOLEAN_LENGTH
Define the boolean length (int) constant. |
static int |
FALSE_VALUE
Define the false value (int) constant. |
static int |
TRUE_VALUE
Define the true value (int) constant. |
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
key |
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
BIT_MASKS, MASKS, SET_MASKS, SET_TOP_MASKS |
| Fields inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService |
|---|
ARRAY, ASCII, ASCIIZ, BOOLEAN, BYTE, BYTES, DOUBLE, FLOAT, HEXASCII, HEXSTRING, INSERT, INTEGER, LITTLEENDIAN, LONG, NASCII, NSTRING, NULL, SERVICE_NAME, SHORT, STRING, UNLIMITED, UNSIGNED, USE_CURSOR, USE_CURSOR_INSERT |
| Constructor Summary | |
|---|---|
SimpleBooleanParameter()
Constructs an instance of this class. |
|
SimpleBooleanParameter(java.lang.String key)
Constructs an instance of this class from the specified key parameter. |
|
| Method Summary | |
|---|---|
boolean |
booleanValue(java.lang.Object data)
Boolean value with the specified data parameter and return the boolean result. |
java.lang.Object |
decodeBytes(byte[] container,
ParameterCursorService cursor)
Decode bytes with the specified container and cursor parameters and return the Object result. |
byte[] |
encodeBytes(byte[] container,
java.lang.Object data,
ParameterCursorService cursor)
Encode bytes with the specified container, data and cursor parameters and return the byte[] result. |
long |
getFalseValue()
Gets the false value (long) value. |
long |
getFalseValueDefault()
Gets the false value default (long) value. |
int |
getLength()
Gets the length (int) value. |
long |
getTrueValue()
Gets the true value (long) value. |
long |
getTrueValueDefault()
Gets the true value default (long) value. |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
getKey, setKey |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
createCursorChild, decode, decodeEnd, decodeString, decodeValue, decodeValue, encode, encodeData, encodeString, encodeValue, encodeValue, expand, expand, getAbsoluteOffset, getBytes, getDefaultStyle, getLength, getLittleEndianLong, getLong, getOffset, getOffsetAbsolute, getOffsetDefault, getOffsetLength, getOffsetValue, getUnsignedInteger, getUnsignedLittleEndianLong, getUnsignedLittleEngianLong, getUnsignedLong, isConstantParameter, isInsert, isInsert, needsCursor, setBits, setBits, setBits, setBitsLittleEngian, setBytes, setBytes, setBytes, setBytesLittleEndian, updateCursor, updateCursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FALSE_VALUE
public static final int TRUE_VALUE
public static final int BOOLEAN_LENGTH
| Constructor Detail |
|---|
public SimpleBooleanParameter()
SimpleBooleanParameter(String)public SimpleBooleanParameter(java.lang.String key)
key - The key (String) parameter.SimpleBooleanParameter()| Method Detail |
|---|
public boolean booleanValue(java.lang.Object data)
data - The data (Object) parameter.
boolean) value.getFalseValue(),
getTrueValue()
public java.lang.Object decodeBytes(byte[] container,
ParameterCursorService cursor)
decodeBytes in class BaseParametercontainer - The container (byte[]) parameter.cursor - The cursor (ParameterCursorService) parameter.
Object) value.encodeBytes(byte[],Object,ParameterCursorService)
public byte[] encodeBytes(byte[] container,
java.lang.Object data,
ParameterCursorService cursor)
encodeBytes in class BaseParametercontainer - The container (byte[]) parameter.data - The data (Object) parameter.cursor - The cursor (ParameterCursorService) parameter.
byte[]) value.decodeBytes(byte[],ParameterCursorService)public long getFalseValue()
long) value.public long getFalseValueDefault()
long) value.public int getLength()
getLength in class BaseParameterint) value.BaseParameter.getLength(ParameterCursorService),
BaseParameter.getOffsetLength()public long getTrueValue()
long) value.public long getTrueValueDefault()
long) value.
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||