wt.infoengine.object
Class IeValue

java.lang.Object
  extended bywt.infoengine.object.IeObject
      extended bywt.infoengine.object.IeValue
All Implemented Interfaces:
Cloneable, I_haveData, Serializable

public class IeValue
extends IeObject
implements I_haveData

Description...

 Examples...
 

See Also:
Serialized Form

Field Summary
private static String BYTES
           
private static String CHARS
           
private static String DATE
           
private static String DOUBLE
           
private static String ID
           
private static String LONG
           
private static String RAW
           
 
Fields inherited from class wt.infoengine.object.IeObject
 
Constructor Summary
IeValue(byte[] value)
           
IeValue(Date value)
           
IeValue(double value)
           
IeValue(Double value)
           
IeValue(float value)
           
IeValue(Float value)
           
IeValue(I_enableCoercion value)
          Construct a new DataValue from one of the supported datatypes.
IeValue(int value)
           
IeValue(Integer value)
           
IeValue(long value)
           
IeValue(Long value)
           
IeValue(String value)
           
 
Method Summary
 Enumeration getChildren()
           
 I_enableCoercion getData()
           
static IeValue getInstance(Object value)
          Build a new IeValue object out of any first-class object.
 boolean hasChildren()
           
 void printObject(int level)
           
 void setData(I_enableCoercion data)
          IeValue accessor methods.
 byte[] toBytes()
           
 Date toDate()
           
 Double toDouble()
           
 Float toFloat()
           
 Integer toInteger()
           
 Long toLong()
           
 String toString()
          Coerce this IeValue (upon request) to any supported output datatype.
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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