wt.infoengine.object
Class IeValue
java.lang.Object
wt.infoengine.object.IeObject
wt.infoengine.object.IeValue
- All Implemented Interfaces:
- Cloneable, I_haveData, Serializable
- public class IeValue
- extends IeObject
- implements I_haveData
Description...
Examples...
- See Also:
- Serialized Form
Fields inherited from class wt.infoengine.object.IeObject |
|
Methods inherited from class wt.infoengine.object.IeObject |
addChild, addChildObject, addMetaValue, addMetaValues, addSibling, clone, containsChild, containsMetaValue, deepClone, delFromParent, findChild, firstChild, getChildAt, getChildCount, getLabel, getLevel, getMeta, getMetaKeys, getMetaValue, getMetaValueAt, getMetaValueCount, getMetaValues, getName, getObj, getParent, getSiblings, getType, indent, indent, indexOfChild, indexOfMetaValue, lastChild, printAtts, printChildren, printChildren, printMeta, printObject, printObject, printObjectHelper, printStructure, printStructure, removeAllChildren, removeAllMetaValues, removeChild, removeChildAt, removeChildObject, removeLabel, removeLevel, removeMeta, removeMetaValue, removeMetaValueAt, removeName, removeObj, removeType, setChildAt, setLabel, setLevel, setMeta, setMetaValueAt, setName, setObj, setType |
ID
private static final String ID
- See Also:
- Constant Field Values
RAW
private static final String RAW
- See Also:
- Constant Field Values
CHARS
private static final String CHARS
- See Also:
- Constant Field Values
LONG
private static final String LONG
- See Also:
- Constant Field Values
DOUBLE
private static final String DOUBLE
- See Also:
- Constant Field Values
DATE
private static final String DATE
- See Also:
- Constant Field Values
BYTES
private static final String BYTES
- See Also:
- Constant Field Values
IeValue
public IeValue(I_enableCoercion value)
- Construct a new DataValue from one of the supported datatypes.
IeValue
public IeValue(String value)
IeValue
public IeValue(int value)
IeValue
public IeValue(Integer value)
IeValue
public IeValue(long value)
IeValue
public IeValue(Long value)
IeValue
public IeValue(float value)
IeValue
public IeValue(Float value)
IeValue
public IeValue(double value)
IeValue
public IeValue(Double value)
IeValue
public IeValue(Date value)
IeValue
public IeValue(byte[] value)
toString
public String toString()
- Coerce this IeValue (upon request) to any supported output datatype.
toInteger
public Integer toInteger()
toLong
public Long toLong()
toFloat
public Float toFloat()
toDouble
public Double toDouble()
toDate
public Date toDate()
toBytes
public byte[] toBytes()
setData
public void setData(I_enableCoercion data)
- IeValue accessor methods.
- Specified by:
setData
in interface I_haveData
getData
public I_enableCoercion getData()
- Specified by:
getData
in interface I_haveData
getChildren
public Enumeration getChildren()
- Overrides:
getChildren
in class IeObject
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in class IeObject
getInstance
public static IeValue getInstance(Object value)
- Build a new IeValue object out of any first-class object.
printObject
public void printObject(int level)
- Overrides:
printObject
in class IeObject