Z - the source typeX - the destination typepublic interface SingularMapping<Z,X>
EmbeddedMapping and BasicMapping.| Modifier and Type | Method and Description |
|---|---|
boolean |
fillValue(EntityTypeImpl<?> type,
ManagedInstance<?> managedInstance,
Object instance)
Fills the sequence / table generated value.
|
X |
get(Object instance)
Returns the mapping value of instance.
|
SingularAttributeImpl<? super Z,X> |
getAttribute()
Returns the attribute of the mapping.
|
void |
set(Object instance,
Object value)
Sets the mapping value of instance.
|
boolean fillValue(EntityTypeImpl<?> type, ManagedInstance<?> managedInstance, Object instance)
The operation returns false if at least one entity needs to obtain identity from the database.
type - the entity typemanagedInstance - the managed instanceinstance - the instance to fill ids.X get(Object instance)
instance - the instance of which the value to be returnedSingularAttributeImpl<? super Z,X> getAttribute()
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.