com.objex.progeny.anywhere.fields
Class XRFIDSLookupTableField

java.lang.Object
  extended by com.objex.progeny.anywhere.fields.XRFIDSDataField
      extended by com.objex.progeny.anywhere.fields.XRFIDSLookupTableField
All Implemented Interfaces:
XRFField, XRFLookupTableField, java.io.Serializable

public class XRFIDSLookupTableField
extends XRFIDSDataField
implements java.io.Serializable, XRFLookupTableField

See Also:
Serialized Form

Constructor Summary
XRFIDSLookupTableField()
          Creates a new instance of TextField
 
Method Summary
 int countSubFields()
           
 XRFData createFieldData(java.lang.Object value)
          Creates a FieldData object of the relevant type depending on the field type.
 java.lang.Class getFieldClass()
           
 java.lang.String getImageURL()
           
 XRFLookupTableInfo getLookupTableInfo()
           
 XRFField getSubfield(int aIndex)
          Rteurn Subfield at the specified index if one exists otherwise NULL
 XRFField[] getSubfields()
           
 boolean isCalcField()
           
 boolean isComputed()
           
 boolean isTable()
           
 void setLookupTableInfo(XRFLookupTableInfo a_lookupTableInfo)
           
 void setSubfield(XRFField aSubfield, int aIndex)
          Add a subfield to the subfields array at specified index.
 void setSubfields(XRFField[] subfields)
           
 java.lang.String transform(java.lang.Object a_from)
          Where possible, transform the value a_from contained some place as the data for this field, into a string literal representation
 
Methods inherited from class com.objex.progeny.anywhere.fields.XRFIDSDataField
equals, getDefaultWidth, getDropdownValues, getFieldid, getFieldname, getFieldtype, getTableid, getType, getUpdateColsCount, isSystemField, setDefaultWidth, setDropdownValues, setFieldid, setFieldname, setFieldtype, setTableid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XRFIDSLookupTableField

public XRFIDSLookupTableField()
Creates a new instance of TextField

Method Detail

createFieldData

public XRFData createFieldData(java.lang.Object value)
Description copied from interface: XRFField
Creates a FieldData object of the relevant type depending on the field type. Must set the XRFData.setField(XRFField) property

Specified by:
createFieldData in interface XRFField
Parameters:
value - The default data value

getLookupTableInfo

public XRFLookupTableInfo getLookupTableInfo()
Specified by:
getLookupTableInfo in interface XRFField
Specified by:
getLookupTableInfo in interface XRFLookupTableField
Overrides:
getLookupTableInfo in class XRFIDSDataField

setLookupTableInfo

public void setLookupTableInfo(XRFLookupTableInfo a_lookupTableInfo)
Specified by:
setLookupTableInfo in interface XRFField
Specified by:
setLookupTableInfo in interface XRFLookupTableField
Overrides:
setLookupTableInfo in class XRFIDSDataField

getImageURL

public java.lang.String getImageURL()
Specified by:
getImageURL in interface XRFField

transform

public java.lang.String transform(java.lang.Object a_from)
Description copied from interface: XRFField
Where possible, transform the value a_from contained some place as the data for this field, into a string literal representation

Specified by:
transform in interface XRFField

getFieldClass

public java.lang.Class getFieldClass()
Specified by:
getFieldClass in interface XRFField
Returns:
The Class for all data objects carried by this field

isComputed

public boolean isComputed()
Specified by:
isComputed in interface XRFField

isCalcField

public boolean isCalcField()
Specified by:
isCalcField in interface XRFField
Returns:
TRUE if the field is not editable and is a calculated or computed field e.g. computed, table summary and summary fields

isTable

public boolean isTable()
Specified by:
isTable in interface XRFField

getSubfields

public XRFField[] getSubfields()
Specified by:
getSubfields in interface XRFField
Overrides:
getSubfields in class XRFIDSDataField

setSubfields

public void setSubfields(XRFField[] subfields)
Specified by:
setSubfields in interface XRFField
Overrides:
setSubfields in class XRFIDSDataField

getSubfield

public XRFField getSubfield(int aIndex)
Rteurn Subfield at the specified index if one exists otherwise NULL


setSubfield

public void setSubfield(XRFField aSubfield,
                        int aIndex)
Add a subfield to the subfields array at specified index. Should probably use a Vector or ArrayList instead of doing this BS


countSubFields

public int countSubFields()
Specified by:
countSubFields in interface XRFField
Overrides:
countSubFields in class XRFIDSDataField