com.objex.progeny.anywhere.fields.data
Interface XRFData
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- XRFDateFieldData, XRFDoubleFieldData, XRFFieldData, XRFIntegerFieldData, XRFTableData, XRFTextFieldData
public interface XRFData
- extends java.io.Serializable
getField
XRFField getField()
setField
void setField(XRFField aField)
getDataValue
java.lang.Object getDataValue()
setDataValue
void setDataValue(java.lang.Object dataValue)
getDisplayValue
java.lang.String getDisplayValue()
isModified
boolean isModified()
- Returns:
- TRUE if the the cell or editor with this data value has been changed since loading. Useful in spreadsheets
getUpdateValue
java.lang.Object getUpdateValue()
- The value required to update or save the spreadsheet cell to the database
getUpdateValueString
java.lang.String getUpdateValueString()
- The String representation of the value 's. Used for updating database
getRawValue
java.lang.Object getRawValue()
- Returns:
- The value of this data cell in its raw form e.g. Date, Integer or double value without any conversion
compareEquals
boolean compareEquals(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this objected equals object 02. i.e. if XRFData.getRawValue() equals object 02, whose native type is determined by the subclass.
compareNotEquals
boolean compareNotEquals(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this objected not equals object 02. i.e. if XRFData.getRawValue() does not equals object 02, whose native type is determined by the subclass.
compareGreaterThan
boolean compareGreaterThan(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this objected greater than object 02. i.e. if XRFData.getRawValue() greater than object 02, whose native type is determined by the subclass.
compareLessThan
boolean compareLessThan(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this objected less than object 02. i.e. if XRFData.getRawValue() less than object 02, whose native type is determined by the subclass.
compareGreaterThanOrEqual
boolean compareGreaterThanOrEqual(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this objected greater than or equal object 02. i.e. if XRFData.getRawValue() greater than or equal object 02, whose native type is determined by the subclass.
compareLessThanOrEqual
boolean compareLessThanOrEqual(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this objected less than or equal object 02. i.e. if XRFData.getRawValue() less than or equal object 02, whose native type is determined by the subclass.
compareIsNull
boolean compareIsNull()
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this objected is NULL or empty. i.e. if XRFData.getRawValue() is NULL.
compareIsNotNull
boolean compareIsNotNull()
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this objected is NOT NULL i.e. if XRFData.getRawValue() is NOT NULL
compareBeginsWith
boolean compareBeginsWith(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this object begins with the string value of object 02
compareDoesNotBeginWith
boolean compareDoesNotBeginWith(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this object does not begin with the string value of object 02
compareEndsWith
boolean compareEndsWith(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this object ends with the string value of object 02
compareDoesNotEndWith
boolean compareDoesNotEndWith(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this object does not end with the string value of object 02
compareContains
boolean compareContains(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this object contains the string value of object 02
compareDoesNotContain
boolean compareDoesNotContain(java.lang.Object o2)
- Parameters:
o2 -
- Returns:
- True if the value encapsulated by this object does not contain the string value of object 02