Uses of Class
org.apache.cayenne.map.ObjAttribute
-
Packages that use ObjAttribute 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.configuration.xml 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. -
-
Uses of ObjAttribute in org.apache.cayenne.access
Method parameters in org.apache.cayenne.access with type arguments of type ObjAttribute Modifier and Type Method Description RowReader<?>
DataNode. rowReader(RowDescriptor descriptor, QueryMetadata queryMetadata, Map<ObjAttribute,ColumnDescriptor> attributeOverrides)
Creates aRowReader
using internalRowReaderFactory
. -
Uses of ObjAttribute in org.apache.cayenne.access.jdbc
Constructors in org.apache.cayenne.access.jdbc with parameters of type ObjAttribute Constructor Description ColumnDescriptor(ObjAttribute objAttribute, DbAttribute dbAttribute, String columnAlias)
-
Uses of ObjAttribute in org.apache.cayenne.access.jdbc.reader
Method parameters in org.apache.cayenne.access.jdbc.reader with type arguments of type ObjAttribute Modifier and Type Method 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)
-
Uses of ObjAttribute in org.apache.cayenne.access.translator.ejbql
Methods in org.apache.cayenne.access.translator.ejbql with parameters of type ObjAttribute Modifier and Type Method Description protected void
EJBQLPathTranslator. processTerminatingAttribute(ObjAttribute attribute)
-
Uses of ObjAttribute in org.apache.cayenne.access.translator.select
Methods in org.apache.cayenne.access.translator.select that return types with arguments of type ObjAttribute Modifier and Type Method Description Map<ObjAttribute,ColumnDescriptor>
DefaultSelectTranslator. getAttributeOverrides()
Map<ObjAttribute,ColumnDescriptor>
SelectTranslator. getAttributeOverrides()
protected static Optional<ObjAttribute>
TypeAwareSQLTreeProcessor. getObjAttributeFor(DbAttribute dbAttribute)
-
Uses of ObjAttribute in org.apache.cayenne.configuration
Methods in org.apache.cayenne.configuration with parameters of type ObjAttribute Modifier and Type Method Description T
BaseConfigurationNodeVisitor. visitObjAttribute(ObjAttribute attribute)
T
ConfigurationNodeVisitor. visitObjAttribute(ObjAttribute attribute)
Void
EmptyConfigurationNodeVisitor. visitObjAttribute(ObjAttribute attribute)
-
Uses of ObjAttribute in org.apache.cayenne.configuration.xml
Methods in org.apache.cayenne.configuration.xml that return ObjAttribute Modifier and Type Method Description ObjAttribute
ObjEntityHandler. getLastAttribute()
-
Uses of ObjAttribute in org.apache.cayenne.map
Subclasses of ObjAttribute in org.apache.cayenne.map Modifier and Type Class Description class
EmbeddedAttribute
An attribute of the ObjEntity that maps to an embeddable class.Methods in org.apache.cayenne.map that return ObjAttribute Modifier and Type Method Description ObjAttribute
EmbeddedAttribute. getAttribute(String name)
Returns an ObjAttribute for a given name, taking into account column name overrides.ObjAttribute
ObjEntity. getAttribute(String name)
Returns a named attribute that is either declared in this ObjEntity or is inherited.ObjAttribute
ObjEntity. getAttributeForDbAttribute(DbAttribute dbAttribute)
Returns ObjAttribute of this entity that maps todbAttribute
parameter.ObjAttribute
EmbeddedAttribute. getAttributeForDbPath(String dbPath)
Returns an ObjAttribute that maps to a givenDbAttribute
, 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.Methods in org.apache.cayenne.map that return types with arguments of type ObjAttribute Modifier and Type Method Description Collection<ObjAttribute>
EntityInheritanceTree. allAttributes()
Map<String,ObjAttribute>
ObjEntity. getAttributeMap()
Returns a Map 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.Methods in org.apache.cayenne.map with parameters of type ObjAttribute Modifier and Type Method Description void
EmbeddedResult. addAttribute(ObjAttribute attr)
Method parameters in org.apache.cayenne.map with type arguments of type ObjAttribute Modifier and Type Method Description protected void
EntityInheritanceTree. appendDeclaredAttributes(Collection<ObjAttribute> c)
Constructors in org.apache.cayenne.map with parameters of type ObjAttribute Constructor Description ObjAttribute(ObjAttribute attribute)
Creates a clone of an ObjAttribute argument. -
Uses of ObjAttribute in org.apache.cayenne.reflect
Fields in org.apache.cayenne.reflect with type parameters of type ObjAttribute Modifier and Type Field Description protected Collection<ObjAttribute>
PersistentDescriptor. allDiscriminatorColumns
Methods in org.apache.cayenne.reflect that return ObjAttribute Modifier and Type Method Description ObjAttribute
AttributeProperty. getAttribute()
ObjAttribute
SimpleAttributeProperty. getAttribute()
Methods in org.apache.cayenne.reflect that return types with arguments of type ObjAttribute Modifier and Type Method 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()
Methods in org.apache.cayenne.reflect with parameters of type ObjAttribute Modifier and Type Method Description protected void
PersistentDescriptorFactory. createAttributeProperty(PersistentDescriptor descriptor, ObjAttribute attribute)
protected void
PersistentDescriptorFactory. createEmbeddedAttributeProperty(PersistentDescriptor descriptor, EmbeddedAttribute embeddedAttribute, ObjAttribute attribute)
Method parameters in org.apache.cayenne.reflect with type arguments of type ObjAttribute Modifier and Type Method Description void
PersistentDescriptor. setDiscriminatorColumns(Collection<ObjAttribute> columns)
Constructors in org.apache.cayenne.reflect with parameters of type ObjAttribute Constructor Description SimpleAttributeProperty(ClassDescriptor owner, Accessor accessor, ObjAttribute attribute)
-
Uses of ObjAttribute in org.apache.cayenne.reflect.generic
Methods in org.apache.cayenne.reflect.generic with parameters of type ObjAttribute Modifier and Type Method Description protected void
DataObjectDescriptorFactory. createAttributeProperty(PersistentDescriptor descriptor, ObjAttribute attribute)
ValueComparisonStrategy<Object>
DefaultValueComparisonStrategyFactory. getStrategy(ObjAttribute attribute)
ValueComparisonStrategy<Object>
ValueComparisonStrategyFactory. getStrategy(ObjAttribute attribute)
-
Uses of ObjAttribute in org.apache.cayenne.util
Methods in org.apache.cayenne.util with parameters of type ObjAttribute Modifier and Type Method Description void
DeleteRuleUpdater. objAttributeAdded(ObjAttribute attr)
void
EntityMergeListener. objAttributeAdded(ObjAttribute attr)
Invoked when a missing attribute in ObjEntity is completed from DbEntity
-