Z - the source typeX - the destination typepublic class BasicMappingImpl<Z,X> extends AbstractMapping<Z,X,X> implements SingularMappingEx<Z,X>, BasicMapping<Z,X>
| Constructor and Description |
|---|
BasicMappingImpl(AbstractParentMapping<?,Z> parent,
BasicAttribute<? super Z,X> attribute) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fillValue(EntityTypeImpl<?> type,
ManagedInstance<?> managedInstance,
Object instance)
Fills the sequence / table generated value.
|
BasicAttribute<? super Z,X> |
getAttribute()
Returns the attribute of the mapping.
|
BasicColumn |
getColumn()
Returns the column of the mapping.
|
ColumnTransformerMetadata |
getColumnTransformer() |
javax.persistence.EnumType |
getEnumType() |
IdType |
getIdType() |
javax.persistence.TemporalType |
getTemporalType() |
boolean |
isId() |
boolean |
isLob() |
boolean |
isVersion() |
equals, get, getJavaMember, getJavaType, getLocator, getName, getParent, getPath, getRoot, hashCode, isCollection, set, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitget, getJavaMember, getJavaType, getLocator, getName, getParent, getPath, getRoot, isCollection, setpublic BasicMappingImpl(AbstractParentMapping<?,Z> parent, BasicAttribute<? super Z,X> attribute)
parent - the parent mappingattribute - the attributepublic boolean fillValue(EntityTypeImpl<?> type, ManagedInstance<?> managedInstance, Object instance)
The operation returns false if at least one entity needs to obtain identity from the database.
fillValue in interface SingularMappingEx<Z,X>type - the entity typemanagedInstance - the managed instanceinstance - the instance to fill ids.public BasicAttribute<? super Z,X> getAttribute()
getAttribute in interface SingularMappingEx<Z,X>getAttribute in class AbstractMapping<Z,X,X>public BasicColumn getColumn()
getColumn in interface BasicMapping<Z,X>public ColumnTransformerMetadata getColumnTransformer()
getColumnTransformer in interface BasicMapping<Z,X>public javax.persistence.EnumType getEnumType()
getEnumType in interface BasicMapping<Z,X>public IdType getIdType()
getIdType in interface SingularMapping<Z,X>public javax.persistence.TemporalType getTemporalType()
getTemporalType in interface BasicMapping<Z,X>public boolean isId()
isId in interface SingularMapping<Z,X>public boolean isLob()
isLob in interface BasicMapping<Z,X>public boolean isVersion()
isVersion in interface BasicMapping<Z,X>Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.