Uses of Class
org.apache.cayenne.map.Attribute
Package
Description
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
-
Uses of Attribute in org.apache.cayenne.map
Modifier and TypeInterfaceDescriptioninterface
PathComponent<T extends Attribute,
U extends Relationship> A component in a path chain.Modifier and TypeClassDescriptionclass
A DbAttribute defines a descriptor for a single database table column.class
An attribute of the ObjEntity that maps to an embeddable class.class
An ObjAttribute is a mapping descriptor of a Java class property.Modifier and TypeMethodDescription<T extends Attribute,
U extends Relationship>
PathComponent<T, U> Entity.lastPathComponent
(Expression path, Map aliasMap) Convenience method returning the last component in the path iterator.abstract <T extends Attribute,
U extends Relationship>
Iterable<PathComponent<T, U>> Entity.resolvePath
(Expression pathExp, Map aliasMap) Returns an Iterable over the path components with elements represented asPathComponent
instances, encapsulating a relationship, an attribute or a subpath alias.Modifier and TypeMethodDescriptionEntity.getAttribute
(String attributeName) Returns attribute with nameattributeName
or null if no attribute with this name exists.Modifier and TypeMethodDescriptionEntity.getAttributeMap()
Returns an unmodifiable sorted map of entity attributes.Collection
<? extends Attribute> Entity.getAttributes()
Returns an unmodifiable collection of entity attributes.Modifier and TypeMethodDescriptionvoid
Entity.addAttribute
(Attribute attribute) Adds new attribute to the entity, setting its parent entity to be this object.void
Entity.updateAttribute
(Attribute attribute) -
Uses of Attribute in org.apache.cayenne.map.event
Modifier and TypeMethodDescriptionvoid
AttributeEvent.setAttribute
(Attribute attribute) Sets the attribute.ModifierConstructorDescriptionAttributeEvent
(Object src, Attribute attr, Entity entity) Creates a Attribute change event.AttributeEvent
(Object src, Attribute attr, Entity entity, int id) Creates a Attribute event of a specified type.AttributeEvent
(Object src, Attribute attr, Entity entity, String oldName) Creates a Attribute name change event.