com.jtri.base
Class FieldMapping
java.lang.Object
com.jtri.base.FieldMapping
- public class FieldMapping
- extends java.lang.Object
This class describes how to retrieve a property from the model object to the
form field converting to and from the proper java type.
- Author:
- atorres
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldMapping
public FieldMapping()
FieldMapping
public FieldMapping(java.lang.String name,
Converter conv)
FieldMapping
public FieldMapping(java.lang.String name,
Converter conv,
boolean readOnly)
getConverter
public Converter getConverter()
- Returns:
getMappedName
public java.lang.String getMappedName()
- Returns:
setConverter
public void setConverter(Converter converter)
- Parameters:
converter -
setMappedName
public void setMappedName(java.lang.String string)
- Parameters:
string -
isReadOnly
public boolean isReadOnly()
- Returns:
isetReadOnly
public void isetReadOnly(boolean b)
- Parameters:
b -