public abstract class SingleFieldMultiMapping extends JavaTypeMapping
absFieldNumber, columnMappings, mmd, referenceMapping, roleForMember, storeMgr, table, type
Constructor and Description |
---|
SingleFieldMultiMapping() |
Modifier and Type | Method and Description |
---|---|
protected void |
addColumns(String typeName)
Convenience method to add a column for this mapping.
|
String |
getJavaTypeForColumnMapping(int index)
Accessor for the name of the java-type actually used when mapping the particular datastore
field.
|
boolean |
hasSimpleDatastoreRepresentation()
Whether the mapping has a simple (single column) datastore representation.
|
addColumnMapping, equals, failureMessage, getAbsoluteFieldNumber, getBoolean, getByte, getChar, getColumnMapping, getColumnMappings, getColumnMetaDataForMember, getDouble, getFloat, getInt, getJavaType, getLong, getMemberMetaData, getNumberOfColumnMappings, getObject, getObject, getReferenceMapping, getRoleForMember, getShort, getStoreManager, getString, getTable, getType, getValueForColumnMapping, hashCode, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setMemberMetaData, setObject, setObject, setReferenceMapping, setRoleForMember, setShort, setString, setTable
protected void addColumns(String typeName)
typeName
- Java type of the field to add the column for.public String getJavaTypeForColumnMapping(int index)
getJavaTypeForColumnMapping
in class JavaTypeMapping
index
- requested column index.public boolean hasSimpleDatastoreRepresentation()
hasSimpleDatastoreRepresentation
in class JavaTypeMapping
Copyright © 2020. All rights reserved.