Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.access.jdbc |
Contains classes that handle JDBC interactions.
|
org.apache.cayenne.access.jdbc.reader | |
org.apache.cayenne.access.translator.ejbql | |
org.apache.cayenne.access.translator.select | |
org.apache.cayenne.configuration | |
org.apache.cayenne.map |
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
|
org.apache.cayenne.reflect | |
org.apache.cayenne.reflect.generic | |
org.apache.cayenne.util |
General utility classes.
|
Modifier and Type | Method and Description |
---|---|
RowReader<?> |
DataNode.rowReader(RowDescriptor descriptor,
QueryMetadata queryMetadata,
Map<ObjAttribute,ColumnDescriptor> attributeOverrides)
Creates a
RowReader using internal RowReaderFactory . |
Constructor and Description |
---|
ColumnDescriptor(ObjAttribute objAttribute,
DbAttribute dbAttribute,
String columnAlias) |
Modifier and Type | Method and Description |
---|---|
RowReader<?> |
DefaultRowReaderFactory.rowReader(RowDescriptor descriptor,
QueryMetadata queryMetadata,
DbAdapter adapter,
Map<ObjAttribute,ColumnDescriptor> attributeOverrides) |
RowReader<?> |
RowReaderFactory.rowReader(RowDescriptor descriptor,
QueryMetadata queryMetadata,
DbAdapter adapter,
Map<ObjAttribute,ColumnDescriptor> attributeOverrides) |
Modifier and Type | Method and Description |
---|---|
protected void |
EJBQLPathTranslator.processTerminatingAttribute(ObjAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
Map<ObjAttribute,ColumnDescriptor> |
SelectTranslator.getAttributeOverrides() |
Map<ObjAttribute,ColumnDescriptor> |
DefaultSelectTranslator.getAttributeOverrides()
Returns a map of ColumnDescriptors keyed by ObjAttribute for columns that
may need to be reprocessed manually due to incompatible mappings along
the inheritance hierarchy.
|
Modifier and Type | Method and Description |
---|---|
T |
BaseConfigurationNodeVisitor.visitObjAttribute(ObjAttribute attribute) |
T |
ConfigurationNodeVisitor.visitObjAttribute(ObjAttribute attribute) |
Modifier and Type | Class and Description |
---|---|
class |
EmbeddedAttribute
An attribute of the ObjEntity that maps to an embeddable class.
|
Modifier and Type | Method and Description |
---|---|
ObjAttribute |
ObjEntity.getAttribute(String name)
Returns a named attribute that is either declared in this ObjEntity or is
inherited.
|
ObjAttribute |
EmbeddedAttribute.getAttribute(String name)
Returns an ObjAttribute for a given name, taking into account column name
overrides.
|
ObjAttribute |
ObjEntity.getAttributeForDbAttribute(DbAttribute dbAttribute)
Returns ObjAttribute of this entity that maps to
dbAttribute
parameter. |
ObjAttribute |
EmbeddedAttribute.getAttributeForDbPath(String dbPath)
Returns an ObjAttribute that maps to a given
DbAttribute , or returns null
if no such attribute exists. |
ObjAttribute |
ObjAttribute.getClientAttribute()
Returns an ObjAttribute stripped of any server-side information, such as
DbAttribute mapping.
|
ObjAttribute |
ObjEntity.getDeclaredAttribute(String name)
Finds attribute declared by this ObjEntity,
excluding inherited attributes.
|
Modifier and Type | Method and Description |
---|---|
Collection<ObjAttribute> |
EntityInheritanceTree.allAttributes() |
SortedMap<String,ObjAttribute> |
ObjEntity.getAttributeMap()
Returns a SortedMap of all attributes that either belong to this
ObjEntity or inherited.
|
Collection<ObjAttribute> |
ObjEntity.getAttributes()
Returns a Collection of all attributes that either belong to this
ObjEntity or inherited.
|
Collection<ObjAttribute> |
EmbeddedAttribute.getAttributes()
Returns a Collection of ObjAttributes of an embedded object taking into account
column name overrides.
|
Collection<ObjAttribute> |
ObjEntity.getDeclaredAttributes()
Returns a Collection of all attributes that belong to this ObjEntity,
excluding inherited attributes.
|
Collection<ObjAttribute> |
ObjEntity.getPrimaryKeys()
Returns an unmodifiable collection of ObjAttributes representing the
primary key of the table described by this DbEntity.
|
PathComponent<ObjAttribute,ObjRelationship> |
ObjEntity.lastPathComponent(Expression path,
Map aliasMap) |
Iterable<PathComponent<ObjAttribute,ObjRelationship>> |
ObjEntity.resolvePath(Expression pathExp,
Map aliasMap)
Returns an Iterable instance over expression path components based on
this entity.
|
Modifier and Type | Method and Description |
---|---|
protected void |
EntityInheritanceTree.appendDeclaredAttributes(Collection<ObjAttribute> c) |
Constructor and Description |
---|
ObjAttribute(ObjAttribute attribute)
Creates a clone of an ObjAttribute argument.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<ObjAttribute> |
PersistentDescriptor.allDiscriminatorColumns |
Modifier and Type | Method and Description |
---|---|
ObjAttribute |
AttributeProperty.getAttribute() |
ObjAttribute |
SimpleAttributeProperty.getAttribute() |
Modifier and Type | Method and Description |
---|---|
Collection<ObjAttribute> |
LazyClassDescriptorDecorator.getDiscriminatorColumns() |
Collection<ObjAttribute> |
PersistentDescriptor.getDiscriminatorColumns() |
Collection<ObjAttribute> |
ClassDescriptor.getDiscriminatorColumns()
Returns a collection of ObjAttribute for the described class, its superclasses and
subclasses, that participate in inheritance qualifier.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PersistentDescriptorFactory.createAttributeProperty(PersistentDescriptor descriptor,
ObjAttribute attribute) |
protected void |
PersistentDescriptorFactory.createEmbeddedAttributeProperty(PersistentDescriptor descriptor,
EmbeddedAttribute embeddedAttribute,
ObjAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
void |
PersistentDescriptor.setDiscriminatorColumns(Collection<ObjAttribute> columns) |
Constructor and Description |
---|
SimpleAttributeProperty(ClassDescriptor owner,
Accessor accessor,
ObjAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
protected void |
DataObjectDescriptorFactory.createAttributeProperty(PersistentDescriptor descriptor,
ObjAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
void |
EntityMergeListener.objAttributeAdded(ObjAttribute attr)
Invoked when a missing attribute in ObjEntity is completed from DbEntity
|
void |
DeleteRuleUpdater.objAttributeAdded(ObjAttribute attr) |
Copyright © 2001–2023 Apache Cayenne. All rights reserved.