com.objex.progeny.anywhere.fields
Class XTFComputedFieldType

java.lang.Object
  extended by com.objex.progeny.anywhere.fields.XRFFieldType
      extended by com.objex.progeny.anywhere.fields.XTFComputedFieldType
All Implemented Interfaces:
java.io.Serializable

public class XTFComputedFieldType
extends XRFFieldType

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.objex.progeny.anywhere.fields.XRFFieldType
TABLE
 
Constructor Summary
XTFComputedFieldType()
          Creates a new instance of XTFComputedFieldType
 
Method Summary
 java.lang.Class getFieldClass()
           
 java.lang.String getImageURL()
           
static XTFComputedFieldType getInstance()
           
 boolean isComputed()
           
 java.lang.String transformDataToString(java.lang.Object a_from)
          Transform the object as_from to a correctly represented string depending on the this XRFFieldType
 
Methods inherited from class com.objex.progeny.anywhere.fields.XRFFieldType
equals, getTypeid, getTypename, isSystemType, setTypeid, setTypename
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTFComputedFieldType

public XTFComputedFieldType()
Creates a new instance of XTFComputedFieldType

Method Detail

getInstance

public static XTFComputedFieldType getInstance()

isComputed

public boolean isComputed()
Specified by:
isComputed in class XRFFieldType
Returns:
TRUE if this field is a calculated field

getImageURL

public java.lang.String getImageURL()
Specified by:
getImageURL in class XRFFieldType

transformDataToString

public java.lang.String transformDataToString(java.lang.Object a_from)
Description copied from class: XRFFieldType
Transform the object as_from to a correctly represented string depending on the this XRFFieldType

Specified by:
transformDataToString in class XRFFieldType

getFieldClass

public java.lang.Class getFieldClass()
Specified by:
getFieldClass in class XRFFieldType
Returns:
The class for the data stored in fields of this type. Helps in transforming data to correct primitive types without necessarily consulting the fieldtype id