public class BeanDescriptor<T> extends Object implements MetaBeanInfo
| Type | Property and Description |
|---|---|
BeanProperty |
firstVersion
Return the first version property that exists on the bean.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
BeanDescriptor.EntityType |
| Constructor and Description |
|---|
BeanDescriptor(BeanDescriptorMap owner,
TypeManager typeManager,
DeployBeanDescriptor<T> deploy,
String descriptorId)
Construct the BeanDescriptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(BeanFkeyProperty fkey)
Add objects to ElPropertyDeploy etc.
|
DeployNamedQuery |
addNamedQuery(DeployNamedQuery deployNamedQuery) |
void |
bindId(DataBind dataBind,
Object idValue)
Bind the idValue to the preparedStatement.
|
protected ElPropertyValue |
buildElGetValue(String propName,
ElPropertyChainBuilder chain,
boolean propertyDeploy) |
void |
cacheClear()
Clear the bean cache.
|
void |
cacheClearCachedManyIds(String propertyName) |
void |
cacheDelete(Object id,
PersistRequestBean<T> deleteRequest)
Remove a bean from the cache given its Id.
|
T |
cacheGetBean(Object id,
Boolean readOnly)
Return a bean from the bean cache.
|
CachedManyIds |
cacheGetCachedManyIds(Object parentId,
String propertyName) |
Object |
cacheGetNaturalKeyId(Object uniqueKeyValue) |
void |
cacheInitialise()
Initialise the cache once the server has started.
|
void |
cacheInsert(Object id,
PersistRequestBean<T> insertRequest) |
boolean |
cacheIsNaturalKey(String propName) |
boolean |
cacheIsUseManyId() |
boolean |
cacheLoadMany(BeanPropertyAssocMany<?> many,
BeanCollection<?> bc,
Object parentId,
Boolean readOnly) |
void |
cacheNotify(TransactionEventTable.TableIUD tableIUD)
Invalidate parts of cache due to SqlUpdate or external modification etc.
|
void |
cachePutBeanData(Object bean)
Put a bean into the bean cache.
|
void |
cachePutCachedManyIds(Object parentId,
String propertyName,
CachedManyIds ids) |
void |
cachePutMany(BeanPropertyAssocMany<?> many,
BeanCollection<?> bc,
Object parentId) |
void |
cacheRemove(Object id)
Remove a bean from the cache given its Id.
|
void |
cacheRemoveCachedManyIds(Object parentId,
String propertyName) |
void |
cacheUpdate(Object id,
PersistRequestBean<T> updateRequest)
Update the cached bean data.
|
boolean |
calculateUseCache(Boolean queryUseCache) |
boolean |
calculateUseNaturalKeyCache(Boolean queryUseCache) |
void |
clearQueryStatistics()
Reset the statistics on all the query plans.
|
List<MetaQueryPlanStatistic> |
collectAllQueryPlanStatistics(boolean reset)
Collect the current query plan statistics return all the statistics (include query plans that haven't had query executions).
|
List<MetaQueryPlanStatistic> |
collectQueryPlanStatistics(boolean reset)
Collect the current query plan statistics return the non-empty statistics.
|
List<MetaQueryPlanStatistic> |
collectQueryPlanStatisticsInternal(boolean reset,
boolean collectAll) |
Object |
convertId(Object idValue)
Convert the type of the idValue if required.
|
String |
convertOrmUpdateToSql(String ormUpdateStatement)
Convert the logical orm update statement into sql by converting the bean
properties and bean name to database columns and table.
|
Object |
convertSetId(Object idValue,
Object bean)
Convert and set the id value.
|
Object |
createBean()
Create an EntityBean.
|
DeployPropertyParser |
createDeployPropertyParser() |
EntityBean |
createEntityBean()
Creates a new EntityBean without using the creation queue.
|
T |
createReference(Boolean readOnly,
Object id,
Object parent)
Create a reference bean based on the id.
|
SqlUpdate |
deleteById(Object id,
List<Object> idList) |
void |
deregister(BeanPersistController controller)
De-register the BeanPersistController.
|
void |
deregister(BeanPersistListener<?> listener)
De-register the BeanPersistListener.
|
ConcurrencyMode |
determineConcurrencyMode(Object bean)
Determine the concurrency mode based on the existence of a non-null version
property value.
|
Set<String> |
determineLoadedProperties(Object bean)
Determine the non-null properties of the bean.
|
BeanProperty |
findBeanProperty(String propName)
Find a BeanProperty including searching the inheritance hierarchy.
|
BeanProperty |
firstVersionProperty()
Return the first version property that exists on the bean.
|
void |
flushPersistenceContextOnIterate(PersistenceContext persistenceContext) |
String |
getBaseTable()
Return the base table.
|
String |
getBaseTableAlias()
Return the base table alias.
|
<U> BeanDescriptor<U> |
getBeanDescriptor(Class<U> otherType)
Return the BeanDescriptor of another bean type.
|
BeanDescriptor<?> |
getBeanDescriptor(String path)
Return the BeanDescriptor for a given path of Associated One or Many beans.
|
BeanFinder<T> |
getBeanFinder()
Return the beanFinder.
|
BeanProperty |
getBeanProperty(String propName)
Get a BeanProperty by its name.
|
BeanProperty |
getBeanPropertyFromDbColumn(String dbColumn)
Return the BeanProperty for the given deployment name.
|
BeanProperty |
getBeanPropertyFromPath(String path)
Return the bean property traversing the object graph and taking into
account inheritance.
|
protected Object |
getBeanPropertyWithInheritance(Object bean,
String propName) |
Class<T> |
getBeanType()
Return the class type this BeanDescriptor describes.
|
Object[] |
getBindIdValues(Object idValue)
Return the id as an array of scalar bindable values.
|
CacheOptions |
getCacheOptions()
Return the cache options.
|
CompoundUniqueContraint[] |
getCompoundUniqueConstraints()
Return the compound unique constraints.
|
ConcurrencyMode |
getConcurrencyMode()
Return the concurrency mode used for beans of this type.
|
String |
getDefaultOrderBy()
Return the default order by that may need to be added if a many property is
included in the query.
|
String |
getDefaultSelectClause()
Return the default select clause.
|
Set<String> |
getDefaultSelectClauseSet()
Return the default select clause already parsed into an ordered Set.
|
String[] |
getDependantTables()
Return the tables this bean is dependent on.
|
String |
getDescriptorId()
Return the alternate "Id" that identifies this BeanDescriptor.
|
Set<String> |
getDirtyEmbeddedProperties(Object bean)
Return the Set of embedded beans that have changed.
|
SpiEbeanServer |
getEbeanServer()
Return the EbeanServer instance that owns this BeanDescriptor.
|
ElComparator<T> |
getElComparator(String propNameOrSortBy) |
ElPropertyValue |
getElGetValue(String propName)
Get an Expression language Value object.
|
ElPropertyDeploy |
getElPropertyDeploy(String propName)
Similar to ElPropertyValue but also uses foreign key shortcuts.
|
EncryptKey |
getEncryptKey(BeanProperty p)
Return the Encrypt key given the BeanProperty.
|
EncryptKey |
getEncryptKey(String tableName,
String columnName)
Return the Encrypt key given the table and column name.
|
BeanDescriptor.EntityType |
getEntityType()
Return the type of this domain object.
|
String |
getExtraAttribute(String key)
Get a named extra attribute.
|
Class<?> |
getFactoryType()
Return the class type this BeanDescriptor describes.
|
String |
getFullName()
Return the bean class name this descriptor is used for.
|
Object |
getId(Object bean)
Helper method to return the unique property.
|
IdBinder |
getIdBinder()
Return the IdBinder which is helpful for handling the various types of Id.
|
String |
getIdBinderIdSql()
Return the sql for binding an id.
|
String |
getIdBinderInLHSSql()
Return the sql for binding id's using an IN clause.
|
IdGenerator |
getIdGenerator()
Return the IdGenerator.
|
IdType |
getIdType()
Return the identity generation type.
|
InheritInfo |
getInheritInfo()
Returns the Inheritance mapping information.
|
String |
getLazyFetchIncludes()
Return the includes for getReference().
|
BeanPropertyAssocMany<?> |
getManyProperty(SpiQuery<?> query)
Return the many property included in the query or null if one is not.
|
String |
getName()
Return the short name of the entity bean.
|
DeployNamedQuery |
getNamedQuery(String name)
Return a named query.
|
DeployNamedUpdate |
getNamedUpdate(String name)
Return a named update.
|
Set<String> |
getNamesOfManyProps()
Returns the set of many property names for this bean type.
|
int |
getNamesOfManyPropsHash()
Return a hash of the names of the many properties on this bean type.
|
BeanPersistController |
getPersistController()
Return the Controller.
|
BeanPersistListener<T> |
getPersistListener()
Return the beanListener.
|
BeanQueryAdapter |
getQueryAdapter()
Return the BeanQueryAdapter or null if none is defined.
|
CQueryPlan |
getQueryPlan(HashQueryPlan key) |
String |
getSelectLastInsertedId()
Return the SQL used to return the last inserted id.
|
String |
getSequenceName()
Return the sequence name.
|
String |
getServerName()
Return the name of the server this BeanDescriptor belongs to.
|
BeanProperty |
getSingleIdProperty()
If the Id is a single non-embedded property then returns that, otherwise
returns null.
|
TypeManager |
getTypeManager()
Return the TypeManager.
|
BeanPropertyAssocOne<?> |
getUnidirectional()
Return the "shadow" property to support unidirectional relationships.
|
SpiUpdatePlan |
getUpdatePlan(Integer key)
Get a UpdatePlan for a given hash.
|
Object |
getValue(Object bean,
String property)
Get a property value from a bean of this type.
|
boolean |
hasDefaultSelectClause()
Return true if this bean type has a default select clause that is not
simply select all properties.
|
protected boolean |
hasInheritance() |
void |
initialiseFkeys() |
void |
initialiseId()
Initialise the Id properties first.
|
void |
initialiseOther()
Initialise the exported and imported parts for associated properties.
|
void |
initInheritInfo() |
boolean |
isAutoFetchTunable()
Return true if queries for beans of this type are autoFetch tunable.
|
boolean |
isBaseTableType() |
boolean |
isBeanCaching()
Return true if there is currently bean caching for this type of bean.
|
boolean |
isCacheNotify()
Return true if the persist request needs to notify the cache.
|
boolean |
isCacheSharableBeans()
Return true if this bean can cache sharable instances.
|
boolean |
isComplexId()
Return false if the id is a simple scalar and false if it is embedded or
concatenated.
|
boolean |
isDeleteRecurseSkippable()
Return true if delete does not recurse to other beans.
|
protected boolean |
isDynamicSubclass() |
boolean |
isEmbedded()
Return true if this is an embedded bean.
|
boolean |
isInheritanceRoot()
Return true if this object is the root level object in its entity
inheritance.
|
boolean |
isLoadedReference(Set<String> loadedProps)
Return true if the loadedProperties is just the Id property and therefore
this is really a reference.
|
boolean |
isQueryCaching()
Return true if there is currently query caching for this type of bean.
|
boolean |
isSaveRecurseSkippable()
Return true if save does not recurse to other beans.
|
boolean |
isSqlSelectBased()
Returns true if this bean is based on a table (or possibly view) and
returns false if this bean is based on a raw sql select statement.
|
boolean |
isStatelessUpdate(Object bean)
Return true if this is an Update (rather than insert) given that the bean
is involved in a stateless update.
|
boolean |
isUpdateChangesOnly()
Return true if updates should only include changed properties.
|
boolean |
isUseIdGenerator()
Return true if this bean type should use IdGeneration.
|
boolean |
isUsingL2Cache()
Return true if there is L2 bean caching for this bean type.
|
ReadJsonContext.ReadBeanState |
jsonRead(ReadJsonContext ctx,
String path) |
T |
jsonReadBean(ReadJsonContext ctx,
String path) |
void |
jsonWrite(WriteJsonContext ctx,
Object bean) |
boolean |
lazyLoadMany(EntityBeanIntercept ebi)
Return true if the lazy loading property is a Many in which case just
define a Reference for the collection and not invoke a query.
|
boolean |
loadFromCache(EntityBeanIntercept ebi) |
boolean |
loadFromCache(Object bean,
EntityBeanIntercept ebi,
Object id) |
Object |
nextId(Transaction t) |
void |
postLoad(Object bean,
Set<String> includedProperties)
Execute the postLoad if a BeanPersistController exists for this bean.
|
void |
preAllocateIds(int batchSize) |
Iterator<BeanProperty> |
propertiesAll()
Return an Iterator of all BeanProperty.
|
BeanPropertyCompound[] |
propertiesBaseCompound()
Return properties that are immutable compound value objects.
|
BeanProperty[] |
propertiesBaseScalar()
Scalar properties without the unique id or secondary table properties.
|
BeanPropertyAssocOne<?>[] |
propertiesEmbedded()
Return the beans that are embedded.
|
BeanProperty[] |
propertiesId()
Return the BeanProperty that make up the unique id.
|
BeanProperty[] |
propertiesLocal()
Return the properties local to this type for inheritance.
|
BeanPropertyAssocMany<?>[] |
propertiesMany()
All Assoc Many's for this descriptor.
|
BeanPropertyAssocMany<?>[] |
propertiesManyDelete()
Assoc Many's with delete cascade.
|
BeanPropertyAssocMany<?>[] |
propertiesManySave()
Assoc Many's with save cascade.
|
BeanPropertyAssocMany<?>[] |
propertiesManyToMany()
Assoc ManyToMany's.
|
BeanProperty[] |
propertiesNonMany()
All Non Assoc Many's for this descriptor.
|
BeanProperty[] |
propertiesNonTransient()
Return the non transient non id properties.
|
BeanPropertyAssocOne<?>[] |
propertiesOne()
All the BeanPropertyAssocOne that are not embedded.
|
BeanPropertyAssocOne<?>[] |
propertiesOneExported()
Returns OneToOnes that are on the exported side of a OneToOne.
|
BeanPropertyAssocOne<?>[] |
propertiesOneExportedDelete()
Exported assoc ones with delete cascade.
|
BeanPropertyAssocOne<?>[] |
propertiesOneExportedSave()
Exported assoc ones with cascade save.
|
BeanPropertyAssocOne<?>[] |
propertiesOneImported()
Returns ManyToOnes and OneToOnes on the imported owning side.
|
BeanPropertyAssocOne<?>[] |
propertiesOneImportedDelete()
Imported Assoc Ones with cascade delete true.
|
BeanPropertyAssocOne<?>[] |
propertiesOneImportedSave()
Imported Assoc Ones with cascade save true.
|
BeanProperty[] |
propertiesTransient()
Return the transient properties.
|
BeanProperty[] |
propertiesVersion()
Returns 'Version' properties on this bean.
|
void |
putQueryPlan(HashQueryPlan key,
CQueryPlan plan) |
void |
putUpdatePlan(Integer key,
SpiUpdatePlan plan)
Add a UpdatePlan to the cache with a given hash.
|
void |
queryCacheClear()
Clear the query cache.
|
BeanCollection<T> |
queryCacheGet(Object id)
Get a query result from the query cache.
|
void |
queryCachePut(Object id,
BeanCollection<T> query)
Put a query result into the query cache.
|
Iterator<CQueryPlan> |
queryPlans()
Return the query plans for this BeanDescriptor.
|
void |
register(BeanPersistController newController)
Register the new BeanPersistController.
|
void |
register(BeanPersistListener<?> newPersistListener)
Register the new BeanPersistController.
|
void |
runCacheWarming()
Execute the warming cache query (if defined) and load the cache.
|
void |
setEbeanServer(SpiEbeanServer ebeanServer)
Set the server.
|
void |
setLoadedProps(EntityBeanIntercept ebi,
Set<String> loadedProps)
Set the loaded properties with additional check to see if the bean is a
reference.
|
void |
sort(List<T> list,
String sortByClause) |
TableJoin[] |
tableJoins()
Return the TableJoins.
|
String |
toString()
Summary description.
|
Note that this DOES NOT find a version property on an embedded bean.
public BeanDescriptor(BeanDescriptorMap owner, TypeManager typeManager, DeployBeanDescriptor<T> deploy, String descriptorId)
public void setEbeanServer(SpiEbeanServer ebeanServer)
public ConcurrencyMode determineConcurrencyMode(Object bean)
public Set<String> getDirtyEmbeddedProperties(Object bean)
public Set<String> determineLoadedProperties(Object bean)
public SpiEbeanServer getEbeanServer()
public BeanDescriptor.EntityType getEntityType()
public void initialiseId()
These properties need to be initialised prior to the association properties as they are used to get the imported and exported properties.
public void initialiseOther()
public void initInheritInfo()
public void cacheInitialise()
protected boolean hasInheritance()
protected boolean isDynamicSubclass()
public void add(BeanFkeyProperty fkey)
public void initialiseFkeys()
public boolean calculateUseCache(Boolean queryUseCache)
public boolean calculateUseNaturalKeyCache(Boolean queryUseCache)
public CacheOptions getCacheOptions()
public EncryptKey getEncryptKey(BeanProperty p)
public EncryptKey getEncryptKey(String tableName, String columnName)
public void runCacheWarming()
public boolean hasDefaultSelectClause()
public String getDefaultSelectClause()
public Set<String> getDefaultSelectClauseSet()
public boolean isInheritanceRoot()
public boolean isQueryCaching()
public boolean isBeanCaching()
public boolean cacheIsUseManyId()
public boolean isCacheNotify()
public boolean isUsingL2Cache()
public void cacheNotify(TransactionEventTable.TableIUD tableIUD)
public void queryCacheClear()
public BeanCollection<T> queryCacheGet(Object id)
public void queryCachePut(Object id, BeanCollection<T> query)
public void cacheClear()
public void cachePutBeanData(Object bean)
public boolean cacheLoadMany(BeanPropertyAssocMany<?> many, BeanCollection<?> bc, Object parentId, Boolean readOnly)
public void cachePutMany(BeanPropertyAssocMany<?> many, BeanCollection<?> bc, Object parentId)
public void cacheClearCachedManyIds(String propertyName)
public CachedManyIds cacheGetCachedManyIds(Object parentId, String propertyName)
public void cachePutCachedManyIds(Object parentId, String propertyName, CachedManyIds ids)
public boolean cacheIsNaturalKey(String propName)
public void cacheRemove(Object id)
public void cacheDelete(Object id, PersistRequestBean<T> deleteRequest)
public void cacheInsert(Object id, PersistRequestBean<T> insertRequest)
public void cacheUpdate(Object id, PersistRequestBean<T> updateRequest)
public String getBaseTableAlias()
public boolean loadFromCache(EntityBeanIntercept ebi)
public boolean loadFromCache(Object bean, EntityBeanIntercept ebi, Object id)
public void preAllocateIds(int batchSize)
public Object nextId(Transaction t)
public DeployPropertyParser createDeployPropertyParser()
public String convertOrmUpdateToSql(String ormUpdateStatement)
public List<MetaQueryPlanStatistic> collectQueryPlanStatistics(boolean reset)
MetaBeanInfocollectQueryPlanStatistics in interface MetaBeanInfopublic List<MetaQueryPlanStatistic> collectAllQueryPlanStatistics(boolean reset)
MetaBeanInfocollectAllQueryPlanStatistics in interface MetaBeanInfopublic List<MetaQueryPlanStatistic> collectQueryPlanStatisticsInternal(boolean reset, boolean collectAll)
public void clearQueryStatistics()
public void postLoad(Object bean, Set<String> includedProperties)
public Iterator<CQueryPlan> queryPlans()
public CQueryPlan getQueryPlan(HashQueryPlan key)
public void putQueryPlan(HashQueryPlan key, CQueryPlan plan)
public SpiUpdatePlan getUpdatePlan(Integer key)
public void putUpdatePlan(Integer key, SpiUpdatePlan plan)
public TypeManager getTypeManager()
public boolean isUpdateChangesOnly()
public boolean isSaveRecurseSkippable()
public boolean isDeleteRecurseSkippable()
public BeanPropertyAssocMany<?> getManyProperty(SpiQuery<?> query)
public IdBinder getIdBinder()
public String getIdBinderIdSql()
public String getIdBinderInLHSSql()
public void bindId(DataBind dataBind, Object idValue) throws SQLException
This takes care of the various id types such as embedded beans etc.
SQLExceptionpublic Object[] getBindIdValues(Object idValue)
This 'flattens' any EmbeddedId or multiple Id property cases.
public DeployNamedQuery getNamedQuery(String name)
public DeployNamedQuery addNamedQuery(DeployNamedQuery deployNamedQuery)
public DeployNamedUpdate getNamedUpdate(String name)
public Object createBean()
public EntityBean createEntityBean()
public T createReference(Boolean readOnly, Object id, Object parent)
public BeanProperty getBeanPropertyFromDbColumn(String dbColumn)
public BeanProperty getBeanPropertyFromPath(String path)
public BeanDescriptor<?> getBeanDescriptor(String path)
public <U> BeanDescriptor<U> getBeanDescriptor(Class<U> otherType)
public BeanPropertyAssocOne<?> getUnidirectional()
For bidirectional this is a real property on the bean. For unidirectional relationships we have this 'shadow' property which is not externally visible.
public Object getValue(Object bean, String property)
public boolean isUseIdGenerator()
If this is false and the Id is null it is assumed that a database auto increment feature is being used to populate the id.
public String getDescriptorId()
public Class<?> getFactoryType()
public String getFullName()
If this BeanDescriptor is for a table then this returns the table name instead.
public String getName()
public Object getId(Object bean)
public boolean isComplexId()
public String getDefaultOrderBy()
public Object convertSetId(Object idValue, Object bean)
If the bean is not null, the id value is set to the id property of the bean after it has been converted to the correct type.
public BeanProperty getBeanProperty(String propName)
public ElComparator<T> getElComparator(String propNameOrSortBy)
public boolean lazyLoadMany(EntityBeanIntercept ebi)
public ElPropertyValue getElGetValue(String propName)
public ElPropertyDeploy getElPropertyDeploy(String propName)
The foreign key shortcuts means we can avoid unnecessary joins.
protected ElPropertyValue buildElGetValue(String propName, ElPropertyChainBuilder chain, boolean propertyDeploy)
public BeanProperty findBeanProperty(String propName)
This searches this BeanDescriptor and then searches further down the inheritance tree (not up).
protected Object getBeanPropertyWithInheritance(Object bean, String propName)
public String getServerName()
public boolean isCacheSharableBeans()
This means is has no relationships and has readOnly=true in its cache options.
public boolean isAutoFetchTunable()
public InheritInfo getInheritInfo()
public boolean isEmbedded()
public boolean isBaseTableType()
public ConcurrencyMode getConcurrencyMode()
public String[] getDependantTables()
public CompoundUniqueContraint[] getCompoundUniqueConstraints()
public BeanPersistListener<T> getPersistListener()
public BeanFinder<T> getBeanFinder()
public BeanQueryAdapter getQueryAdapter()
public void deregister(BeanPersistListener<?> listener)
public void deregister(BeanPersistController controller)
public void register(BeanPersistListener<?> newPersistListener)
public void register(BeanPersistController newController)
public BeanPersistController getPersistController()
public boolean isSqlSelectBased()
When false querying this bean is based on a supplied sql select statement placed in the orm xml file (as opposed to Ebean generated sql).
public String getBaseTable()
public IdType getIdType()
public String getSequenceName()
public String getSelectLastInsertedId()
This is only used with Identity columns and getGeneratedKeys is not supported.
public IdGenerator getIdGenerator()
public String getLazyFetchIncludes()
public TableJoin[] tableJoins()
For properties mapped to secondary tables rather than the base table.
public Iterator<BeanProperty> propertiesAll()
public BeanProperty[] propertiesId()
The order of these properties can be relied on to be consistent if the bean itself doesn't change or the xml deployment order does not change.
public BeanProperty[] propertiesNonTransient()
public BeanProperty[] propertiesTransient()
public BeanProperty getSingleIdProperty()
public BeanPropertyAssocOne<?>[] propertiesEmbedded()
public BeanPropertyAssocOne<?>[] propertiesOne()
public BeanPropertyAssocOne<?>[] propertiesOneImported()
Excludes OneToOnes on the exported side.
public BeanPropertyAssocOne<?>[] propertiesOneImportedSave()
public BeanPropertyAssocOne<?>[] propertiesOneImportedDelete()
public BeanPropertyAssocOne<?>[] propertiesOneExported()
These associations do not own the relationship.
public BeanPropertyAssocOne<?>[] propertiesOneExportedSave()
public BeanPropertyAssocOne<?>[] propertiesOneExportedDelete()
public int getNamesOfManyPropsHash()
public Set<String> getNamesOfManyProps()
public BeanProperty[] propertiesNonMany()
public BeanPropertyAssocMany<?>[] propertiesMany()
public BeanPropertyAssocMany<?>[] propertiesManySave()
public BeanPropertyAssocMany<?>[] propertiesManyDelete()
public BeanPropertyAssocMany<?>[] propertiesManyToMany()
public BeanProperty firstVersionProperty()
Note that this DOES NOT find a version property on an embedded bean.
public boolean isStatelessUpdate(Object bean)
public BeanProperty[] propertiesVersion()
public BeanProperty[] propertiesBaseScalar()
public BeanPropertyCompound[] propertiesBaseCompound()
These are compound types but are not enhanced (Embedded are enhanced).
public BeanProperty[] propertiesLocal()
public void jsonWrite(WriteJsonContext ctx, Object bean)
public T jsonReadBean(ReadJsonContext ctx, String path)
public ReadJsonContext.ReadBeanState jsonRead(ReadJsonContext ctx, String path)
public void setLoadedProps(EntityBeanIntercept ebi, Set<String> loadedProps)
public boolean isLoadedReference(Set<String> loadedProps)
public void flushPersistenceContextOnIterate(PersistenceContext persistenceContext)
Copyright © 2014. All Rights Reserved.