org.datanucleus.store.mapped.mapping
Class IndexMapping
java.lang.Object
org.datanucleus.store.mapped.mapping.JavaTypeMapping
org.datanucleus.store.mapped.mapping.SingleFieldMapping
org.datanucleus.store.mapped.mapping.IndexMapping
public final class IndexMapping
- extends SingleFieldMapping
Mapping for Index Columns.
This class is for internal use only. It should not be used in user mappings nor extended.
|
Method Summary |
Class |
getJavaType()
Accessor for the type represented here, returning the class itself |
boolean |
includeInFetchStatement()
Accessor for whether to include this column in any fetch statement |
| Methods inherited from class org.datanucleus.store.mapped.mapping.SingleFieldMapping |
equals, getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getJavaTypeForDatastoreMapping, getLong, getObject, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, setString |
| Methods inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping |
addDatastoreMapping, failureMessage, getAbsoluteFieldNumber, getColumnMetaDataForMember, getDatastoreContainer, getDatastoreMapping, getDatastoreMappings, getMemberMetaData, getNumberOfDatastoreMappings, getObject, getReferenceMapping, getRoleForMember, getStoreManager, getType, getValueForDatastoreMapping, hashCode, hasSimpleDatastoreRepresentation, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setDatastoreContainer, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember |
IndexMapping
public IndexMapping()
includeInFetchStatement
public boolean includeInFetchStatement()
- Accessor for whether to include this column in any fetch statement
- Overrides:
includeInFetchStatement in class JavaTypeMapping
- Returns:
- Whether to include the column when fetching.
getJavaType
public Class getJavaType()
- Accessor for the type represented here, returning the class itself
- Specified by:
getJavaType in class JavaTypeMapping
- Returns:
- This class.
Copyright © 2012. All Rights Reserved.