com.objex.progeny.anywhere.fields
Class XRFSystemField

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

public class XRFSystemField
extends XRFIDSDataField
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int BARCODE
          Fieldid for container name
static int CONTAINER_NAME
          Fieldid for container name
static int DECEASED_FIELD_ID
           
static int GENDER_FIELD_ID
           
static int GENDER_UNKNOWN_FIELD_ID
           
static int INDIVIDUAL_NAME_ID
           
static int PARENT_SAMPLE_NAME
          Fieldid for Parent Sample Name field
static int PEDIGREE_NAME_ID
           
static int POSITION
          Fieldid for Position field
static int SAMPLE_AUDIT_STATUS
          Fieldid for Sample Audit Status field
static int SAMPLE_FOLDER
          Fieldid for container name
static int SAMPLE_NAME
          Fieldid for Sample Name field
static int SAMPLE_STATUS
          Fieldid for Sample Status field
static int SPREADSHEET_FUDGE_FIELD
           
static int VOLUME
          Fieldid for Volume field
static int WORKFLOW_NAME
          Fieldid for Workflow status field
static int WORKFLOW_STAGE
          Fieldid for Workflow stage field
 
Constructor Summary
XRFSystemField()
          Creates a new instance of XRFSystemField
XRFSystemField(int ai_fieldid)
          Creates a new instance of XRFSystemField
 
Method Summary
 XRFData createFieldData(java.lang.Object value)
          Creates a FieldData object of the relevant type depending on the field type.
 XRFData createFieldData1(java.lang.Object value)
           
 java.lang.Class getFieldClass()
           
 java.lang.String getFieldname()
           
 java.lang.String getImageURL()
           
 boolean isCalcField()
           
 boolean isComputed()
           
 boolean isSystemField()
          A data field that is also a System XRFField will return true
 boolean isTable()
           
 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
countSubFields, equals, getDefaultWidth, getDropdownValues, getFieldid, getFieldtype, getLookupTableInfo, getSubfields, getTableid, getType, getUpdateColsCount, setDefaultWidth, setDropdownValues, setFieldid, setFieldname, setFieldtype, setLookupTableInfo, setSubfields, setTableid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PEDIGREE_NAME_ID

public static final int PEDIGREE_NAME_ID
See Also:
Constant Field Values

INDIVIDUAL_NAME_ID

public static final int INDIVIDUAL_NAME_ID
See Also:
Constant Field Values

DECEASED_FIELD_ID

public static final int DECEASED_FIELD_ID
See Also:
Constant Field Values

GENDER_UNKNOWN_FIELD_ID

public static final int GENDER_UNKNOWN_FIELD_ID
See Also:
Constant Field Values

GENDER_FIELD_ID

public static final int GENDER_FIELD_ID
See Also:
Constant Field Values

SPREADSHEET_FUDGE_FIELD

public static final int SPREADSHEET_FUDGE_FIELD
See Also:
Constant Field Values

CONTAINER_NAME

public static final int CONTAINER_NAME
Fieldid for container name

See Also:
Constant Field Values

SAMPLE_FOLDER

public static final int SAMPLE_FOLDER
Fieldid for container name

See Also:
Constant Field Values

BARCODE

public static final int BARCODE
Fieldid for container name

See Also:
Constant Field Values

SAMPLE_NAME

public static final int SAMPLE_NAME
Fieldid for Sample Name field

See Also:
Constant Field Values

WORKFLOW_NAME

public static final int WORKFLOW_NAME
Fieldid for Workflow status field

See Also:
Constant Field Values

WORKFLOW_STAGE

public static final int WORKFLOW_STAGE
Fieldid for Workflow stage field

See Also:
Constant Field Values

POSITION

public static final int POSITION
Fieldid for Position field

See Also:
Constant Field Values

VOLUME

public static final int VOLUME
Fieldid for Volume field

See Also:
Constant Field Values

SAMPLE_AUDIT_STATUS

public static final int SAMPLE_AUDIT_STATUS
Fieldid for Sample Audit Status field

See Also:
Constant Field Values

SAMPLE_STATUS

public static final int SAMPLE_STATUS
Fieldid for Sample Status field

See Also:
Constant Field Values

PARENT_SAMPLE_NAME

public static final int PARENT_SAMPLE_NAME
Fieldid for Parent Sample Name field

See Also:
Constant Field Values
Constructor Detail

XRFSystemField

public XRFSystemField()
Creates a new instance of XRFSystemField


XRFSystemField

public XRFSystemField(int ai_fieldid)
Creates a new instance of XRFSystemField

Method Detail

isSystemField

public boolean isSystemField()
Description copied from class: XRFIDSDataField
A data field that is also a System XRFField will return true

Specified by:
isSystemField in interface XRFField
Overrides:
isSystemField in class XRFIDSDataField

getFieldname

public java.lang.String getFieldname()
Specified by:
getFieldname in interface XRFField
Overrides:
getFieldname in class XRFIDSDataField

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

isCalcField

public boolean isCalcField()
Specified by:
isCalcField in interface XRFField
Returns:
TRUE if this field is a calculated field such as table summary, summary or computed field

isComputed

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

isTable

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

getImageURL

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

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

createFieldData1

public XRFData createFieldData1(java.lang.Object value)