public static interface CustomEntityDirtinessStrategy.AttributeInformation
Provides CustomEntityDirtinessStrategy.AttributeChecker
with meta information about the attributes being checked.
Modifier and Type | Method and Description |
---|---|
int |
getAttributeIndex()
Many of Hibernate internals use arrays to define information about attributes.
|
EntityPersister |
getContainingPersister()
Get a reference to the persister for the entity containing this attribute.
|
Object |
getCurrentValue()
Get the current value of this attribute.
|
Object |
getLoadedValue()
Get the loaded value of this attribute.
|
String |
getName()
Get the name of this attribute.
|
Type |
getType()
Get the mapping type of this attribute.
|
EntityPersister getContainingPersister()
Get a reference to the persister for the entity containing this attribute.
int getAttributeIndex()
Many of Hibernate internals use arrays to define information about attributes. This value provides this index into those arrays for this particular attribute. <p/> It can be useful if needing to leverage those Hibernate internals.
String getName()
Get the name of this attribute.
Type getType()
Get the mapping type of this attribute.
Object getCurrentValue()
Get the current value of this attribute.
Object getLoadedValue()
Get the loaded value of this attribute. <p/> <b>NOTE : A call to this method may require hitting the database in cases where the loaded state is not known. In those cases the db hit is incurred only once per entity, not for each attribute.</b>
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.