Uses of Class
org.apache.cayenne.map.ObjAttribute
Package
Description
Contains classes that make up Cayenne ORM stack.
Contains classes that handle JDBC interactions.
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
General utility classes.
-
Uses of ObjAttribute in org.apache.cayenne.access
Modifier and TypeMethodDescriptionRowReader
<?> DataNode.rowReader
(RowDescriptor descriptor, QueryMetadata queryMetadata, Map<ObjAttribute, ColumnDescriptor> attributeOverrides) Creates aRowReader
using internalRowReaderFactory
. -
Uses of ObjAttribute in org.apache.cayenne.access.jdbc
ModifierConstructorDescriptionColumnDescriptor
(ObjAttribute objAttribute, DbAttribute dbAttribute, String columnAlias) -
Uses of ObjAttribute in org.apache.cayenne.access.jdbc.reader
Modifier and TypeMethodDescriptionRowReader
<?> 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) -
Uses of ObjAttribute in org.apache.cayenne.access.translator.ejbql
Modifier and TypeMethodDescriptionprotected void
EJBQLPathTranslator.processTerminatingAttribute
(ObjAttribute attribute) -
Uses of ObjAttribute in org.apache.cayenne.access.translator.select
Modifier and TypeMethodDescriptionDefaultSelectTranslator.getAttributeOverrides()
SelectTranslator.getAttributeOverrides()
protected static Optional
<ObjAttribute> TypeAwareSQLTreeProcessor.getObjAttributeFor
(DbAttribute dbAttribute) -
Uses of ObjAttribute in org.apache.cayenne.configuration
Modifier and TypeMethodDescriptionBaseConfigurationNodeVisitor.visitObjAttribute
(ObjAttribute attribute) ConfigurationNodeVisitor.visitObjAttribute
(ObjAttribute attribute) EmptyConfigurationNodeVisitor.visitObjAttribute
(ObjAttribute attribute) -
Uses of ObjAttribute in org.apache.cayenne.configuration.xml
-
Uses of ObjAttribute in org.apache.cayenne.map
Modifier and TypeClassDescriptionclass
An attribute of the ObjEntity that maps to an embeddable class.Modifier and TypeMethodDescriptionEmbeddedAttribute.getAttribute
(String name) Returns an ObjAttribute for a given name, taking into account column name overrides.ObjEntity.getAttribute
(String name) Returns a named attribute that is either declared in this ObjEntity or is inherited.ObjEntity.getAttributeForDbAttribute
(DbAttribute dbAttribute) Returns ObjAttribute of this entity that maps todbAttribute
parameter.EmbeddedAttribute.getAttributeForDbPath
(String dbPath) Returns an ObjAttribute that maps to a givenDbAttribute
, or returns null if no such attribute exists.ObjAttribute.getClientAttribute()
Returns an ObjAttribute stripped of any server-side information, such as DbAttribute mapping.ObjEntity.getDeclaredAttribute
(String name) Finds attribute declared by this ObjEntity, excluding inherited attributes.Modifier and TypeMethodDescriptionEntityInheritanceTree.allAttributes()
ObjEntity.getAttributeMap()
Returns a Map of all attributes that either belong to this ObjEntity or inherited.EmbeddedAttribute.getAttributes()
Returns a Collection of ObjAttributes of an embedded object taking into account column name overrides.ObjEntity.getAttributes()
Returns a Collection of all attributes that either belong to this ObjEntity or inherited.ObjEntity.getDeclaredAttributes()
Returns a Collection of all attributes that belong to this ObjEntity, excluding inherited attributes.ObjEntity.getPrimaryKeys()
Returns an unmodifiable collection of ObjAttributes representing the primary key of the table described by this DbEntity.ObjEntity.lastPathComponent
(Expression path, Map aliasMap) ObjEntity.resolvePath
(Expression pathExp, Map aliasMap) Returns an Iterable instance over expression path components based on this entity.Modifier and TypeMethodDescriptionprotected void
EntityInheritanceTree.appendDeclaredAttributes
(Collection<ObjAttribute> c) ModifierConstructorDescriptionObjAttribute
(ObjAttribute attribute) Creates a clone of an ObjAttribute argument. -
Uses of ObjAttribute in org.apache.cayenne.reflect
Modifier and TypeFieldDescriptionprotected Collection
<ObjAttribute> PersistentDescriptor.allDiscriminatorColumns
Modifier and TypeMethodDescriptionAttributeProperty.getAttribute()
SimpleAttributeProperty.getAttribute()
Modifier and TypeMethodDescriptionClassDescriptor.getDiscriminatorColumns()
Returns a collection of ObjAttribute for the described class, its superclasses and subclasses, that participate in inheritance qualifier.LazyClassDescriptorDecorator.getDiscriminatorColumns()
PersistentDescriptor.getDiscriminatorColumns()
Modifier and TypeMethodDescriptionprotected void
PersistentDescriptorFactory.createAttributeProperty
(PersistentDescriptor descriptor, ObjAttribute attribute) protected void
PersistentDescriptorFactory.createEmbeddedAttributeProperty
(PersistentDescriptor descriptor, EmbeddedAttribute embeddedAttribute, ObjAttribute attribute) Modifier and TypeMethodDescriptionvoid
PersistentDescriptor.setDiscriminatorColumns
(Collection<ObjAttribute> columns) ModifierConstructorDescriptionSimpleAttributeProperty
(ClassDescriptor owner, Accessor accessor, ObjAttribute attribute) -
Uses of ObjAttribute in org.apache.cayenne.reflect.generic
Modifier and TypeMethodDescriptionprotected void
DataObjectDescriptorFactory.createAttributeProperty
(PersistentDescriptor descriptor, ObjAttribute attribute) DefaultValueComparisonStrategyFactory.getStrategy
(ObjAttribute attribute) ValueComparisonStrategyFactory.getStrategy
(ObjAttribute attribute) -
Uses of ObjAttribute in org.apache.cayenne.util
Modifier and TypeMethodDescriptionvoid
DeleteRuleUpdater.objAttributeAdded
(ObjAttribute attr) void
EntityMergeListener.objAttributeAdded
(ObjAttribute attr) Invoked when a missing attribute in ObjEntity is completed from DbEntity