Uses of Class
org.apache.cayenne.map.Attribute
| Package | Description |
|---|---|
| org.apache.cayenne.map |
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
|
| org.apache.cayenne.map.event |
-
Uses of Attribute in org.apache.cayenne.map
Classes in org.apache.cayenne.map with type parameters of type Attribute Modifier and Type Interface Description interfacePathComponent<T extends Attribute,U extends Relationship>A component in a path chain.Subclasses of Attribute in org.apache.cayenne.map Modifier and Type Class Description classDbAttributeA DbAttribute defines a descriptor for a single database table column.classEmbeddedAttributeAn attribute of the ObjEntity that maps to an embeddable class.classObjAttributeAn ObjAttribute is a mapping descriptor of a Java class property.Fields in org.apache.cayenne.map with type parameters of type Attribute Modifier and Type Field Description protected Map<String,Attribute>Entity. attributesMethods in org.apache.cayenne.map with type parameters of type Attribute Modifier and Type Method Description <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 asPathComponentinstances, encapsulating a relationship, an attribute or a subpath alias.Methods in org.apache.cayenne.map that return Attribute Modifier and Type Method Description AttributeEntity. getAttribute(String attributeName)Returns attribute with nameattributeNameor null if no attribute with this name exists.Methods in org.apache.cayenne.map that return types with arguments of type Attribute Modifier and Type Method Description Map<String,? extends Attribute>Entity. getAttributeMap()Returns an unmodifiable sorted map of entity attributes.Collection<? extends Attribute>Entity. getAttributes()Returns an unmodifiable collection of entity attributes.Methods in org.apache.cayenne.map with parameters of type Attribute Modifier and Type Method Description voidEntity. addAttribute(Attribute attribute)Adds new attribute to the entity, setting its parent entity to be this object.voidEntity. updateAttribute(Attribute attribute) -
Uses of Attribute in org.apache.cayenne.map.event
Fields in org.apache.cayenne.map.event declared as Attribute Modifier and Type Field Description protected AttributeAttributeEvent. attributeMethods in org.apache.cayenne.map.event that return Attribute Modifier and Type Method Description AttributeAttributeEvent. getAttribute()Get attribute (obj or db).Methods in org.apache.cayenne.map.event with parameters of type Attribute Modifier and Type Method Description voidAttributeEvent. setAttribute(Attribute attribute)Sets the attribute.Constructors in org.apache.cayenne.map.event with parameters of type Attribute Constructor Description AttributeEvent(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.