Package | Description |
---|---|
org.apache.cayenne.access.jdbc |
Contains classes that handle JDBC interactions.
|
org.apache.cayenne.access.trans |
Provides translators for Cayenne queries.
|
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.merge | |
org.apache.cayenne.reflect | |
org.apache.cayenne.reflect.generic | |
org.apache.cayenne.util |
General utility classes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
EJBQLPathTranslator.processTerminatingAttribute(ObjAttribute attribute) |
Constructor and Description |
---|
ColumnDescriptor(ObjAttribute objAttribute,
DbAttribute dbAttribute,
String columnAlias) |
Modifier and Type | Method and Description |
---|---|
Map<ObjAttribute,ColumnDescriptor> |
SelectTranslator.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 |
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.
|
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> |
EmbeddedAttribute.getAttributes()
Returns a Collection of ObjAttributes of an embedded object taking into account
column name overrides.
|
Collection<ObjAttribute> |
ObjEntity.getAttributes()
Returns a Collection of all attributes that either belong to this ObjEntity or
inherited.
|
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 | Method and Description |
---|---|
void |
ModelMergeDelegate.objAttributeAdded(ObjAttribute att) |
void |
ModelMergeDelegate.objAttributeModified(ObjAttribute att) |
void |
ModelMergeDelegate.objAttributeRemoved(ObjAttribute att) |
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> |
ClassDescriptor.getDiscriminatorColumns()
Returns a collection of ObjAttribute for the described class, its superclasses and
subclasses, that participate in inheritance qualifier.
|
Collection<ObjAttribute> |
LazyClassDescriptorDecorator.getDiscriminatorColumns() |
Collection<ObjAttribute> |
PersistentDescriptor.getDiscriminatorColumns() |
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 |
---|---|
protected void |
EntityMergeSupport.fireAttributeAdded(ObjAttribute attr)
Notifies all listeners that an ObjAttribute was added
|
void |
DeleteRuleUpdater.objAttributeAdded(ObjAttribute attr) |
void |
EntityMergeListener.objAttributeAdded(ObjAttribute attr)
Invoked when a missing attribute in ObjEntity is completed from DbEntity
|
Copyright © 2001–2018 Apache Cayenne. All rights reserved.