Home about services products contact login
   com.smardec

J2Native

  j2native
com.smardec.j2native
Class Bool

java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.DelegatedArgument
|
+--com.smardec.j2native.Bool
All Implemented Interfaces:
java.lang.Cloneable

public class Bool
extends DelegatedArgument

Bool class represents bool (boolean) type.


Field Summary
Fields inherited from class com.smardec.j2native.Argument
JAVA_SIDE, NATIVE_SIDE
Constructor Summary
Bool()
Constructs a Bool object with a false value.
Bool(boolean value)
Constructs a Bool object with a specified value.
Method Summary
boolean getValue()
Returns the boolean value of Bool object.
protected boolean isFixedLength()
Identify if Argument is a fixed length variable.
void setValue(boolean value)
Sets a boolean value
Methods inherited from class com.smardec.j2native.DelegatedArgument
finalize, free, fromBytesValue, getAlignedLength, getInternalValue, getLength, read, readFromRAM, readFromStack, restoreFromRAM, setInternalValue, storeToRAM, toBytesValue, toBytesValue, write, writeToRAM, writeToStack
Methods inherited from class com.smardec.j2native.Argument
clone, getResultFlags, update
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail
Bool
public Bool()

Constructs a Bool object with a false value.


Bool
public Bool(boolean value)
Constructs a Bool object with a specified value.

Parameters:
value - value to set
Method Detail
getValue
public boolean getValue()
Returns the boolean value of Bool object.

Returns:
boolean value

setValue
public void setValue(boolean value)
Sets a boolean value

Parameters:
value - boolean value

isFixedLength
protected boolean isFixedLength()
Description copied from class: Argument
Identify if Argument is a fixed length variable.

Overrides:
isFixedLength in class DelegatedArgument
Returns:
true if it is so, and false otherwise
Home about services products contact login