public abstract class GroupValueFunction
extends java.lang.Object
SimpleType.getGroupValue()
.Constructor and Description |
---|
GroupValueFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
executeDefault(java.lang.Object value,
Record record,
java.util.Map field,
java.lang.String fieldName,
Canvas component)
Calls the default implementation of
SimpleType.getGroupValue() . |
SimpleType |
getSimpleType()
Returns the SimpleType object being customized
|
abstract java.lang.String |
getValue(java.lang.Object value,
Record record,
java.util.Map field,
java.lang.String fieldName,
Canvas component)
Defines new behavior to override
SimpleType.getGroupValue() . |
void |
setSimpleType(SimpleType simpleType) |
public void setSimpleType(SimpleType simpleType)
public SimpleType getSimpleType()
public java.lang.String executeDefault(java.lang.Object value, Record record, java.util.Map field, java.lang.String fieldName, Canvas component)
SimpleType.getGroupValue()
.value
- the record value to return a group value forrecord
- the record containing the passed group valuefield
- the field relating to the value to be processedfieldName
- the name of the field relating to the value to be processedcomponent
- the component, usually a ListGrid
,
containing the passed recordpublic abstract java.lang.String getValue(java.lang.Object value, Record record, java.util.Map field, java.lang.String fieldName, Canvas component)
SimpleType.getGroupValue()
.value
- the record value to return a group value forrecord
- the record containing the passed group valuefield
- the field relating to the value to be processedfieldName
- the name of the field relating to the value to be processedcomponent
- the component, usually a ListGrid
,
containing the passed record