|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.omnipilot.lassopro.LassoValue
Used for passing to, and returning values from LassoCall
methods.
LassoValue param = new LassoValue(); if ( lasso.getTagParam( 0, param ) == ERR_NOERR ) { lasso.outputTagData( "First tag param name: " + param.name() + ", value: " + param.value() ); }
Field Summary | |
static int |
TYPE_ARRAY
array |
static int |
TYPE_BLOB
binary data |
static int |
TYPE_BOOLEAN
boolean |
static int |
TYPE_CHAR
string |
static int |
TYPE_CODE
substitution tag |
static int |
TYPE_CUSTOM
custom type |
static int |
TYPE_DATETIME
date |
static int |
TYPE_DECIMAL
decimal |
static int |
TYPE_INT
integer |
static int |
TYPE_MAP
map |
static int |
TYPE_NULL
null |
static int |
TYPE_OBJECT
|
static int |
TYPE_PAIR
pair |
static int |
TYPE_PICT
|
static int |
TYPE_REFERENCE
reference |
Constructor Summary | |
LassoValue()
|
|
LassoValue(int type)
|
|
LassoValue(java.lang.String data)
|
|
LassoValue(java.lang.String name,
java.lang.String data)
|
|
LassoValue(java.lang.String name,
java.lang.String data,
int type)
Creates new LassoValue instance |
Method Summary | |
java.lang.String |
data()
data field accessor |
java.lang.String |
name()
name field accessor |
java.lang.String |
setData(java.lang.String data)
|
java.lang.String |
setName(java.lang.String name)
|
int |
setType(int type)
|
java.lang.String |
toString()
|
int |
type()
Original type of the data returned from one of the LassoCall methods
before it was converted to string: TYPE_CHAR for strings, TYPE_INT
for integers, and so on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int TYPE_CHAR
public static final int TYPE_NULL
public static final int TYPE_INT
public static final int TYPE_BOOLEAN
public static final int TYPE_PICT
public static final int TYPE_BLOB
public static final int TYPE_DECIMAL
public static final int TYPE_DATETIME
public static final int TYPE_OBJECT
public static final int TYPE_ARRAY
public static final int TYPE_MAP
public static final int TYPE_CODE
public static final int TYPE_REFERENCE
public static final int TYPE_PAIR
public static final int TYPE_CUSTOM
Constructor Detail |
public LassoValue()
public LassoValue(int type)
public LassoValue(java.lang.String data)
public LassoValue(java.lang.String name, java.lang.String data)
public LassoValue(java.lang.String name, java.lang.String data, int type)
LassoValue
instance
Method Detail |
public java.lang.String name()
name
field accessor
public java.lang.String data()
data
field accessor
public int type()
LassoCall
methods
before it was converted to string: TYPE_CHAR
for strings, TYPE_INT
for integers, and so on.
For unnamed tag parameters, it's a type of the data stored in the data
field.
Otherwise, it reflects the type of the name
member.
public java.lang.String setName(java.lang.String name)
public java.lang.String setData(java.lang.String data)
public int setType(int type)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |