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 booleanBoolean value.protected byte[]Byte array.protected doubleDouble value.protected intInteger value.protected longLong value.protected ValueClassObject value.protected StringString value.protected intType.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfromObject(Object obj) Any[]byte[]doubleintlongintgetType()inthashCode()booleanvoidsetAnyArray(Any[] anyArray) voidsetBooleanValue(boolean booleanValue) voidsetByteArray(byte[] byteArray) voidsetDoubleValue(double doubleValue) voidsetIntValue(int intValue) voidsetLongValue(long longValue) voidsetObjectValue(ValueClass objectValue) voidsetStringValue(String stringValue) voidsetType(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
-