public class LocaleMapping extends ObjectAsStringMapping
LocaleabsFieldNumber, datastoreMappings, LOCALISER, LOCALISER_RDBMS, mmd, referenceMapping, roleForMember, storeMgr, table, type| Constructor and Description |
|---|
LocaleMapping() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultLength(int index)
Method to return the default length of this type in the datastore.
|
Class |
getJavaType()
Method to return the Java type.
|
protected String |
objectToString(Object object)
Method to set the datastore string value based on the object value.
|
protected Object |
stringToObject(String datastoreValue)
Method to extract the objects value from the datastore string value.
|
getJavaTypeForDatastoreMapping, getObject, setObjectequals, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setStringaddDatastoreMapping, failureMessage, getAbsoluteFieldNumber, getColumnMetaDataForMember, getDatastoreMapping, getDatastoreMappings, getMemberMetaData, getNumberOfDatastoreMappings, getObject, getReferenceMapping, getRoleForMember, getStoreManager, getTable, getType, getValueForDatastoreMapping, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember, setTablepublic Class getJavaType()
ObjectAsStringMappinggetJavaType in class ObjectAsStringMappingpublic int getDefaultLength(int index)
getDefaultLength in class SingleFieldMappingindex - The index positionprotected String objectToString(Object object)
objectToString in class ObjectAsStringMappingobject - The objectprotected Object stringToObject(String datastoreValue)
stringToObject in class ObjectAsStringMappingdatastoreValue - Value obtained from the datastoreCopyright © 2013. All Rights Reserved.