Modifier and Type | Method and Description |
---|---|
EntityType |
EnvAmberManager.getEntity(java.lang.String className)
Returns a matching entity.
|
EntityType |
EnvAmberManager.getEntityByInstanceClass(java.lang.String className)
Returns a matching entity.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
EnvAmberManager.getEntity(EntityType rootType,
java.lang.Object key)
Returns the query result.
|
EntityItem |
EnvAmberManager.putEntity(EntityType rootType,
java.lang.Object key,
EntityItem entity)
Sets the entity result.
|
EntityItem |
EnvAmberManager.removeEntity(EntityType rootType,
java.lang.Object key)
Remove the entity result.
|
Modifier and Type | Method and Description |
---|---|
EntityType |
EntityConfig.getEntityType()
Returns the configured entity type
|
Modifier and Type | Method and Description |
---|---|
void |
BaseConfigIntrospector.introspectCallbacks(java.lang.Class type,
EntityType entityType)
Introspects the callbacks.
|
void |
BaseConfigIntrospector.introspectEntityListener(java.lang.Class type,
AmberPersistenceUnit persistenceUnit,
EntityType sourceType,
java.lang.String sourceClassName) |
void |
BaseConfigIntrospector.introspectEntityListeners(java.lang.Class type,
EntityType entityType,
AmberPersistenceUnit persistenceUnit) |
void |
EntityConfig.setEntityType(EntityType entityType)
Returns the configured entity type
|
Modifier and Type | Method and Description |
---|---|
EntityType |
Entity.__caucho_getEntityType()
Get the entity type.
|
EntityType |
AmberEntityHome.getEntityType()
Returns the entity type
|
EntityType |
AmberEntityHome.getRootType()
Returns the entity type
|
Modifier and Type | Method and Description |
---|---|
boolean |
Entity.__caucho_create(AmberConnection aConn,
EntityType entityType)
Creates the entity in the database, making it persistent-new.
|
boolean |
Entity.__caucho_lazy_create(AmberConnection aConn,
EntityType entityType)
Changes the entity state to P_PERSISTING, but does not flush to database.
|
boolean |
Entity.__caucho_makePersistent(AmberConnection aConn,
EntityType entityType)
Makes the entity persistent.
|
boolean |
RowInvalidateCompletion.complete(EntityType entityType,
java.lang.Object key,
EntityItem entityItem)
Code when the transaction completes.
|
boolean |
TableInvalidateCompletion.complete(EntityType rootType,
java.lang.Object key,
EntityItem entityItem)
Code when the transaction completes.
|
boolean |
RowInsertCompletion.complete(EntityType rootType,
java.lang.Object key,
EntityItem entityItem)
Code when the transaction completes.
|
boolean |
AmberCompletion.complete(EntityType rootType,
java.lang.Object key,
EntityItem entityItem)
Code when the transaction completes.
|
Constructor and Description |
---|
AmberEntityHome(AmberPersistenceUnit manager,
EntityType type) |
Modifier and Type | Method and Description |
---|---|
EntityType |
TableIdExpr.getEntityType()
Returns the entity type.
|
EntityType |
LoadEntityExpr.getEntityType()
Returns the entity type.
|
EntityType |
MapFieldExpr.getTableType()
Returns the expr's type.
|
EntityType |
KeyManyToOneExpr.getTargetType()
Returns the entity class.
|
EntityType |
EntityPathExpr.getTargetType()
Returns the entity type.
|
EntityType |
OneToManyExpr.getTargetType()
Returns the expr type.
|
EntityType |
DependentEntityOneToOneExpr.getTargetType()
Returns the entity class.
|
EntityType |
ManyToOneExpr.getTargetType()
Returns the entity class.
|
Constructor and Description |
---|
TableIdExpr(EntityType type,
java.lang.String name)
Creates the table id expr.
|
Modifier and Type | Method and Description |
---|---|
EntityType |
AbstractField.getEntitySourceType()
Returns the source type as
entity or mapped-superclass.
|
EntityType |
OneToManyField.getEntitySourceType()
Returns the source type as
entity or mapped-superclass.
|
EntityType |
DependentEntityOneToOneField.getEntitySourceType()
Returns the source type as
entity or mapped-superclass.
|
EntityType |
ManyToOneField.getEntityTargetType()
Returns the target type as
entity or mapped-superclass.
|
EntityType |
OneToManyField.getEntityTargetType()
Returns the target type as
entity or mapped-superclass.
|
EntityType |
DependentEntityOneToOneField.getEntityTargetType()
Returns the target type as
entity or mapped-superclass.
|
EntityType |
KeyManyToOneField.getEntityType()
Returns the target type as entity (ejb 2.1)
See com.caucho.ejb.ql.Expr
|
EntityType |
Id.getOwnerType()
Returns the owner type.
|
EntityType |
PropertyField.getRelatedSourceType()
Returns the source type as
entity or mapped-superclass.
|
EntityType |
ManyToOneField.getRelatedType()
Returns the source type as
entity or mapped-superclass.
|
EntityType |
ManyToManyField.getRelatedType()
Returns the source type as
entity or mapped-superclass.
|
EntityType |
ElementCollectionField.getRelatedType()
Returns the source type as
entity or mapped-superclass.
|
EntityType |
ManyToManyField.getTargetType()
Returns the target type.
|
Modifier and Type | Method and Description |
---|---|
void |
ManyToOneField.init(EntityType relatedType)
Initializes the field.
|
void |
EntityMapField.setTargetType(EntityType type)
Sets the target type.
|
Constructor and Description |
---|
AssociationField(EntityType relatedType) |
AssociationField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeTypes) |
CollectionElementField(EntityType entityType) |
CollectionField(EntityType relatedType) |
CollectionField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeTypes) |
CompositeId(EntityType ownerType) |
CompositeId(EntityType ownerType,
java.util.ArrayList<IdField> keys) |
DependentEntityOneToOneField(EntityType relatedType,
java.lang.String name) |
DependentEntityOneToOneField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeTypes) |
Discriminator(EntityType entityType) |
Discriminator(EntityType entityType,
java.lang.String name) |
ElementCollectionField(EntityType sourceType,
java.lang.String name) |
EmbeddedId(EntityType ownerType,
EmbeddedIdField key) |
EmbeddedIdField(EntityType ownerType,
EmbeddableType embeddableType) |
EmbeddedIdField(EntityType ownerType,
EmbeddableType embeddableType,
java.lang.String name) |
EntityEmbeddedField(EntityType ownerType,
EmbeddableType embeddableType) |
EntityEmbeddedField(EntityType ownerType,
EmbeddableType embeddableType,
java.lang.String name) |
EntityMapField(EntityType entityType) |
Id(EntityType ownerType) |
Id(EntityType ownerType,
java.util.ArrayList<IdField> keys) |
Id(EntityType ownerType,
IdField key) |
IdentifyingKeyPropertyField(EntityType entityType,
ForeignColumn column) |
KeyManyToOneField(EntityType entityType,
java.lang.String name) |
KeyManyToOneField(EntityType entityType,
java.lang.String name,
LinkColumns columns) |
KeyPropertyField(EntityType tableType) |
KeyPropertyField(EntityType tableType,
java.lang.String name) |
KeyPropertyField(EntityType entityType,
java.lang.String name,
AmberColumn column) |
ManyToManyField(EntityType relatedType) |
ManyToManyField(EntityType relatedType,
java.lang.String name) |
ManyToManyField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeTypes) |
ManyToManyField(EntityType relatedType,
java.lang.String name,
ManyToManyField source,
CascadeType[] cascadeTypes) |
ManyToOneField(EntityType relatedType) |
ManyToOneField(EntityType relatedType,
java.lang.String name) |
ManyToOneField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeType) |
ManyToOneField(EntityType relatedType,
java.lang.String name,
CascadeType[] cascadeType,
boolean isManyToOne) |
MapElementField(EntityType entityType) |
MapManyToManyField(EntityType entityType) |
OneToManyField(EntityType entityType) |
OneToManyField(EntityType entityType,
java.lang.String name) |
OneToManyField(EntityType entityType,
java.lang.String name,
CascadeType[] cascadeTypes) |
SubId(EntityType ownerType,
EntityType rootType) |
VersionField(EntityType entityType) |
VersionField(EntityType entityType,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
EntityType |
AmberMappedComponent.getEntityType() |
EntityType |
EntityComponent.getEntityType()
Gets the entity type.
|
protected EntityType |
AmberEnhancer.loadEntityTypeImpl(java.lang.Class cl,
java.lang.ClassLoader rawLoader) |
Modifier and Type | Method and Description |
---|---|
void |
EntityGenerator.setEntityType(EntityType entityType)
Sets the bean info for the generator
|
void |
EntityComponent.setEntityType(EntityType entityType)
Sets the bean info for the generator
|
Constructor and Description |
---|
LoadGroupGenerator(java.lang.String extClassName,
EntityType entityType,
int index) |
Modifier and Type | Method and Description |
---|---|
EntityType |
AmberPersistenceUnit.createEntity(java.lang.Class beanClass)
Adds an entity.
|
EntityType |
AmberPersistenceUnit.createEntity(java.lang.String name,
java.lang.Class beanClass)
Adds an entity.
|
EntityType |
AmberContainer.getEntity(java.lang.String className)
Returns the EntityType for an introspected class.
|
EntityType |
AmberPersistenceUnit.getEntityByInstanceClass(java.lang.String className)
Returns a matching entity.
|
EntityType |
AmberPersistenceUnit.getEntityType(java.lang.Class cl) |
EntityType |
AmberPersistenceUnit.getEntityType(java.lang.String className)
Returns a matching entity.
|
Modifier and Type | Method and Description |
---|---|
void |
AmberContainer.addEntity(java.lang.String className,
EntityType type)
Adds an entity for an introspected class.
|
EntityItem |
AmberPersistenceUnit.getEntity(EntityType rootType,
java.lang.Object key)
Returns the entity with the given key.
|
java.lang.Object |
AmberConnection.loadProxy(EntityType type,
java.lang.Object key)
Loads the object with the given class.
|
EntityItem |
AmberPersistenceUnit.putEntity(EntityType rootType,
java.lang.Object key,
EntityItem entity)
Sets the entity result.
|
EntityItem |
AmberPersistenceUnit.removeEntity(EntityType rootType,
java.lang.Object key)
Remove the entity result.
|
void |
AmberPersistenceUnit.updateCacheItem(EntityType rootType,
java.lang.Object key,
EntityItem cacheItem)
Updates the cache item after commit.
|
Modifier and Type | Method and Description |
---|---|
EntityType |
FromItem.getEntityType()
Gets the entity class.
|
EntityType |
FromItem.getTableType()
Gets the table type
|
Modifier and Type | Method and Description |
---|---|
FromItem |
QueryParser.addFromItem(EntityType entityType,
AmberTable table)
Adds a new FromItem.
|
FromItem |
QueryParser.addFromItem(EntityType entityType,
AmberTable table,
java.lang.String id)
Adds a new FromItem.
|
FromItem |
AbstractQuery.createFromItem(EntityType entityType,
AmberTable table,
java.lang.String name)
Sets the from list.
|
Modifier and Type | Method and Description |
---|---|
EntityType |
AmberTable.getType()
Gets the entity type.
|
Modifier and Type | Method and Description |
---|---|
void |
AmberTable.setType(EntityType type)
Sets the entity type.
|
Modifier and Type | Class and Description |
---|---|
class |
MappedSuperclassType
Represents a non-persistent class with abstract O/R mapping information.
|
class |
SubEntityType
Represents an application persistent bean type
|
Modifier and Type | Method and Description |
---|---|
EntityType |
TypeManager.getEntityByInstanceClass(java.lang.String name)
Returns the type.
|
EntityType |
SubEntityType.getParentType()
Returns the parent class.
|
EntityType |
EntityType.getParentType()
Returns the parent type.
|
EntityType |
SubEntityType.getRootType()
Returns the root type.
|
EntityType |
EntityType.getRootType()
Returns the root type.
|
EntityType |
EntityType.getSubClass(java.lang.String discriminator)
Gets a sub-class.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityType.addSubClass(EntityType type)
Adds a sub-class.
|
void |
EntityType.setParentType(EntityType parentType)
Returns the parent type.
|
Modifier and Type | Method and Description |
---|---|
int |
EntityType.updateFlushPriority(java.util.ArrayList<EntityType> updatingEntities)
Updates global (persistence unit) entity priorities
for flushing.
|
Constructor and Description |
---|
SubEntityType(AmberPersistenceUnit amberPersistenceUnit,
EntityType parent) |