Package de.elo.ix.client
Class Any
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.Any
- All Implemented Interfaces:
Serializable
This class is a container for one value of a serializable type.
- Since:
- 7.00.040.019
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Any[]
Array of Any.protected boolean
Boolean value.protected byte[]
Byte array.protected double
Double value.protected int
Integer value.protected long
Long value.protected ValueClass
Object value.protected String
String value.protected int
Type.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
fromObject
(Object obj) Any[]
byte[]
double
int
long
int
getType()
int
hashCode()
boolean
void
setAnyArray
(Any[] anyArray) void
setBooleanValue
(boolean booleanValue) void
setByteArray
(byte[] byteArray) void
setDoubleValue
(double doubleValue) void
setIntValue
(int intValue) void
setLongValue
(long longValue) void
setObjectValue
(ValueClass objectValue) void
setStringValue
(String stringValue) void
setType
(int type) toObject()
Object[][]
toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
type
protected int typeType. One of the type constants given in AnyC.- See Also:
-
booleanValue
protected boolean booleanValueBoolean value.- See Also:
-
intValue
protected int intValueInteger value.- See Also:
-
longValue
protected long longValueLong value.- See Also:
-
doubleValue
protected double doubleValueDouble value.- See Also:
-
stringValue
String value.- See Also:
-
objectValue
Object value.- See Also:
-
byteArray
protected byte[] byteArrayByte array.- See Also:
-
anyArray
Array of Any.- See Also:
-
-
Constructor Details
-
Any
public Any() -
Any
-
Any
public Any(boolean v) -
Any
public Any(int v) -
Any
public Any(long v) -
Any
public Any(double v) -
Any
-
Any
-
Any
public Any(byte[] v) -
Any
-
Any
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int type) -
isBooleanValue
public boolean isBooleanValue() -
setBooleanValue
public void setBooleanValue(boolean booleanValue) -
getIntValue
public int getIntValue() -
setIntValue
public void setIntValue(int intValue) -
getLongValue
public long getLongValue() -
setLongValue
public void setLongValue(long longValue) -
getDoubleValue
public double getDoubleValue() -
setDoubleValue
public void setDoubleValue(double doubleValue) -
getStringValue
-
setStringValue
-
getObjectValue
-
setObjectValue
-
getAnyArray
-
setAnyArray
-
getByteArray
public byte[] getByteArray() -
setByteArray
public void setByteArray(byte[] byteArray) -
toString
-
toObject
-
toObjectTable
-
fromObject
-
hashCode
public int hashCode() -
equals
-