|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> [ map overview ] | PREV NEXT | ||||||||
A
- ATTRIBUTE_TOKEN - Static variable in class org.objectstyle.cayenne.map.DerivedDbAttribute
- Attribute - class org.objectstyle.cayenne.map.Attribute.
- An Attribute defines an abstract descriptor of an entity attribute.
- Attribute() - Constructor for class org.objectstyle.cayenne.map.Attribute
- Attribute(String) - Constructor for class org.objectstyle.cayenne.map.Attribute
- Creates a named attribute.
- addAttribute(Attribute) - Method in class org.objectstyle.cayenne.map.DbEntity
- addAttribute(Attribute) - Method in class org.objectstyle.cayenne.map.Entity
- Adds new attribute to the entity.
- addCallParameter(ProcedureParameter) - Method in class org.objectstyle.cayenne.map.Procedure
- Adds new call parameter to the stored procedure.
- addDbEntity(DbEntity) - Method in class org.objectstyle.cayenne.map.DataMap
- Adds DbEntity to the list of map entities.
- addDbRelationship(DbRelationship) - Method in class org.objectstyle.cayenne.map.ObjRelationship
- Appends a DbRelationship to the existing list of DbRelationships.
- addDependency(DataMap) - Method in class org.objectstyle.cayenne.map.DataMap
- Adds a data map that has entities used by this map.
- addJoin(DbAttributePair) - Method in class org.objectstyle.cayenne.map.DbRelationship
- Adds a join.
- addObjEntity(ObjEntity) - Method in class org.objectstyle.cayenne.map.DataMap
- Adds ObjEntity to the list of map entities.
- addParam(DbAttribute) - Method in class org.objectstyle.cayenne.map.DerivedDbAttribute
- Sets the params.
- addProcedure(Procedure) - Method in class org.objectstyle.cayenne.map.DataMap
- Adds stored procedure to the list of procedures.
- addQuery(String, SelectQuery) - Method in class org.objectstyle.cayenne.map.Entity
- Creates a named association of a SelectQuery with this entity.
- addRelationship(Relationship) - Method in class org.objectstyle.cayenne.map.Entity
- Adds new relationship to the entity.
- attrType - Variable in class org.objectstyle.cayenne.map.ObjAttribute
- attrib - Variable in class org.objectstyle.cayenne.map.MapLoader
- attributes - Variable in class org.objectstyle.cayenne.map.Entity
- attributesMapRef - Variable in class org.objectstyle.cayenne.map.Entity
- attributesRef - Variable in class org.objectstyle.cayenne.map.Entity
C
- CASCADE - Static variable in class org.objectstyle.cayenne.map.DeleteRule
- Delete the destination object(s)
- CASCADE_NAME - Static variable in class org.objectstyle.cayenne.map.DeleteRule
- calculateReadOnlyValue() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- calculateToManyValue() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- callParameters - Variable in class org.objectstyle.cayenne.map.Procedure
- catalog - Variable in class org.objectstyle.cayenne.map.DbEntity
- catalog - Variable in class org.objectstyle.cayenne.map.Procedure
- catalog - Variable in class org.objectstyle.cayenne.map.TableInfo
- characters(char[], int, int) - Method in class org.objectstyle.cayenne.map.MapLoader
- charactersBuffer - Variable in class org.objectstyle.cayenne.map.MapLoader
- className - Variable in class org.objectstyle.cayenne.map.ObjEntity
- clearAttributes() - Method in class org.objectstyle.cayenne.map.DbEntity
- clearAttributes() - Method in class org.objectstyle.cayenne.map.Entity
- clearCallParameters() - Method in class org.objectstyle.cayenne.map.Procedure
- clearDbMapping() - Method in class org.objectstyle.cayenne.map.ObjEntity
- Clears all the mapping between this obj entity and its current db entity.
- clearDbRelationships() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- clearDependencies() - Method in class org.objectstyle.cayenne.map.DataMap
- clearParams() - Method in class org.objectstyle.cayenne.map.DerivedDbAttribute
- clearQueries() - Method in class org.objectstyle.cayenne.map.Entity
- clearRelationships() - Method in class org.objectstyle.cayenne.map.Entity
- compare(Object, Object) - Method in class org.objectstyle.cayenne.map.DataMap.MapComparator
- compareMaps(DataMap, DataMap) - Method in class org.objectstyle.cayenne.map.DataMap.MapComparator
- Checks if these 2 DataMaps have a dependency on each other.
- configLocator() - Method in class org.objectstyle.cayenne.map.MapLoader
- Creates, configures and returns ResourceLocator object used to lookup DataMap files.
- currentEnt - Variable in class org.objectstyle.cayenne.map.Entity.PathIterator
- currentTag - Variable in class org.objectstyle.cayenne.map.MapLoader
D
- DATA_MAP_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_ATTRIBUTE_DERIVED_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_ATTRIBUTE_PAIR_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_ATTRIBUTE_REF_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_ATTRIBUTE_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_ENTITY_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_GENERATOR_NAME_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_GENERATOR_TYPE_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_KEY_CACHE_SIZE_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_KEY_GENERATOR_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_RELATIONSHIP_REF_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DB_RELATIONSHIP_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- DENY - Static variable in class org.objectstyle.cayenne.map.DeleteRule
- If the relationship has any objects (toOne or toMany), deny the delete.
- DENY_NAME - Static variable in class org.objectstyle.cayenne.map.DeleteRule
- DataMap - class org.objectstyle.cayenne.map.DataMap.
- DataMap is a central class in Cayenne Object Relational mapping design.
- DataMap() - Constructor for class org.objectstyle.cayenne.map.DataMap
- Creates an empty DataMap
- DataMap(String) - Constructor for class org.objectstyle.cayenne.map.DataMap
- Creates an empty DataMap and assigns it a
name. - DataMap.MapComparator - class org.objectstyle.cayenne.map.DataMap.MapComparator.
- Used as a comparator to infer DataMap ordering.
- DataMap.MapComparator() - Constructor for class org.objectstyle.cayenne.map.DataMap.MapComparator
- DataMapException - exception org.objectstyle.cayenne.map.DataMapException.
- A DataMapException is thrown to indicate problemes with DataMap loading.
- DataMapException() - Constructor for class org.objectstyle.cayenne.map.DataMapException
- DataMapException(String, Throwable) - Constructor for class org.objectstyle.cayenne.map.DataMapException
- DataMapException(Throwable) - Constructor for class org.objectstyle.cayenne.map.DataMapException
- DataMapException(String) - Constructor for class org.objectstyle.cayenne.map.DataMapException
- DbAttribute - class org.objectstyle.cayenne.map.DbAttribute.
- A DbAttribute defines a descriptor for a single database table column.
- DbAttribute() - Constructor for class org.objectstyle.cayenne.map.DbAttribute
- DbAttribute(String) - Constructor for class org.objectstyle.cayenne.map.DbAttribute
- DbAttribute(String, int, DbEntity) - Constructor for class org.objectstyle.cayenne.map.DbAttribute
- DbAttributePair - class org.objectstyle.cayenne.map.DbAttributePair.
- A DbAttributePair represents a join between two database tables.
- DbAttributePair() - Constructor for class org.objectstyle.cayenne.map.DbAttributePair
- DbAttributePair(DbAttribute, DbAttribute) - Constructor for class org.objectstyle.cayenne.map.DbAttributePair
- DbEntity - class org.objectstyle.cayenne.map.DbEntity.
- A DbEntity is a mapping descriptor that defines a structure of a database table.
- DbEntity() - Constructor for class org.objectstyle.cayenne.map.DbEntity
- Creates an unnamed DbEntity.
- DbEntity(String) - Constructor for class org.objectstyle.cayenne.map.DbEntity
- Creates a named DbEntity.
- DbKeyGenerator - class org.objectstyle.cayenne.map.DbKeyGenerator.
- DbKeyGenerator is an abstraction of a primary key generator It configures the primary key generation per DbEntity in a RDBMS independent manner.
- DbKeyGenerator() - Constructor for class org.objectstyle.cayenne.map.DbKeyGenerator
- DbRelationship - class org.objectstyle.cayenne.map.DbRelationship.
- A DbRelationship is a descriptor of a database inter-table relationship based on one or more primary key/foreign key pairs.
- DbRelationship() - Constructor for class org.objectstyle.cayenne.map.DbRelationship
- DbRelationship(String) - Constructor for class org.objectstyle.cayenne.map.DbRelationship
- DbRelationship(DbEntity, DbEntity, DbAttributePair) - Constructor for class org.objectstyle.cayenne.map.DbRelationship
- DeleteRule - class org.objectstyle.cayenne.map.DeleteRule.
- Defines constants for the possible deleteRule values of an ObjRelationship
- DeleteRule() - Constructor for class org.objectstyle.cayenne.map.DeleteRule
- DerivedDbAttribute - class org.objectstyle.cayenne.map.DerivedDbAttribute.
- A DerivedDbAttribute is a DbAttribute that resolves to an SQL expression based on a set of other attributes.
- DerivedDbAttribute() - Constructor for class org.objectstyle.cayenne.map.DerivedDbAttribute
- Constructor for DerivedDbAttribute.
- DerivedDbAttribute(String) - Constructor for class org.objectstyle.cayenne.map.DerivedDbAttribute
- Constructor for DerivedDbAttribute.
- DerivedDbAttribute(String, int, DbEntity, String) - Constructor for class org.objectstyle.cayenne.map.DerivedDbAttribute
- Constructor for DerivedDbAttribute.
- DerivedDbAttribute(DbEntity, DbAttribute) - Constructor for class org.objectstyle.cayenne.map.DerivedDbAttribute
- Creates and initializes a derived attribute with an attribute of a parent entity.
- DerivedDbEntity - class org.objectstyle.cayenne.map.DerivedDbEntity.
- DbEntity subclass that is based on another DbEntity and allows to define complex database expressions like GROUP BY and aggregate functions.
- DerivedDbEntity() - Constructor for class org.objectstyle.cayenne.map.DerivedDbEntity
- Constructor for DerivedDbEntity.
- DerivedDbEntity(String) - Constructor for class org.objectstyle.cayenne.map.DerivedDbEntity
- Constructor for DerivedDbEntity.
- DerivedDbEntity(String, DbEntity) - Constructor for class org.objectstyle.cayenne.map.DerivedDbEntity
- Constructor for DerivedDbEntity.
- dataMap - Variable in class org.objectstyle.cayenne.map.MapLoader
- dbAttributeAdded(AttributeEvent) - Method in class org.objectstyle.cayenne.map.DbEntity
- dbAttributeChanged(AttributeEvent) - Method in class org.objectstyle.cayenne.map.DbEntity
- dbAttributePath - Variable in class org.objectstyle.cayenne.map.ObjAttribute
- dbAttributeRemoved(AttributeEvent) - Method in class org.objectstyle.cayenne.map.DbEntity
- dbEntity - Variable in class org.objectstyle.cayenne.map.MapLoader
- dbEntity - Variable in class org.objectstyle.cayenne.map.ObjEntity
- dbEntityMap - Variable in class org.objectstyle.cayenne.map.DataMap
- DbEntities representing metadata for individual database tables.
- dbEntityMapRef - Variable in class org.objectstyle.cayenne.map.DataMap
- dbEntityValuesRef - Variable in class org.objectstyle.cayenne.map.DataMap
- dbRelationship - Variable in class org.objectstyle.cayenne.map.MapLoader
- dbRelationshipDidChange(RelationshipEvent) - Method in class org.objectstyle.cayenne.map.ObjRelationship
- dbRelationshipMap - Variable in class org.objectstyle.cayenne.map.MapLoader
- dbRelationshipRefs - Variable in class org.objectstyle.cayenne.map.MapLoader
- dbRelationships - Variable in class org.objectstyle.cayenne.map.MapLoader
- dbRelationships - Variable in class org.objectstyle.cayenne.map.ObjRelationship
- dbRelationshipsRef - Variable in class org.objectstyle.cayenne.map.ObjRelationship
- deleteDbEntity(String) - Method in class org.objectstyle.cayenne.map.DataMap
- Clean remove of the DbEntity from the data map.
- deleteObjEntity(String) - Method in class org.objectstyle.cayenne.map.DataMap
- Clean remove of the ObjEntity from the data map.
- deleteRule - Variable in class org.objectstyle.cayenne.map.ObjRelationship
- deleteRuleForName(String) - Static method in class org.objectstyle.cayenne.map.DeleteRule
- Translates a possible delete rule name (typically returned from deleteRuleName at some stage), into a deleteRule constant
- deleteRuleName(int) - Static method in class org.objectstyle.cayenne.map.DeleteRule
- Returns String label for a delete rule state.
- dependencies - Variable in class org.objectstyle.cayenne.map.DataMap
- Contains a list of DataMaps that are used by this map.
- dependenciesRef - Variable in class org.objectstyle.cayenne.map.DataMap
- direction - Variable in class org.objectstyle.cayenne.map.ProcedureParameter
E
- Entity - class org.objectstyle.cayenne.map.Entity.
- An Entity is an abstract descriptor for an entity mapping concept.
- Entity() - Constructor for class org.objectstyle.cayenne.map.Entity
- Entity.PathIterator - class org.objectstyle.cayenne.map.Entity.PathIterator.
- Entity.PathIterator(Entity, String) - Constructor for class org.objectstyle.cayenne.map.Entity.PathIterator
- endElement(String, String, String) - Method in class org.objectstyle.cayenne.map.MapLoader
- equals(Object) - Method in class org.objectstyle.cayenne.map.DbAttributePair
- Returns
trueif this join and object parameter both represent joins between the same DbAttributes. - equals(Object) - Method in class org.objectstyle.cayenne.map.MapLoader.SourceTarget
- error(SAXParseException) - Method in class org.objectstyle.cayenne.map.MapLoader
- expressionSpec - Variable in class org.objectstyle.cayenne.map.DerivedDbAttribute
F
- FALSE - Static variable in class org.objectstyle.cayenne.map.MapLoader
- fatalError(SAXParseException) - Method in class org.objectstyle.cayenne.map.MapLoader
- firePropertyDidChange() - Method in class org.objectstyle.cayenne.map.DbRelationship
G
- generatorName - Variable in class org.objectstyle.cayenne.map.DbKeyGenerator
- generatorType - Variable in class org.objectstyle.cayenne.map.DbKeyGenerator
- getAliasedName(String) - Method in class org.objectstyle.cayenne.map.DbAttribute
- getAliasedName(String) - Method in class org.objectstyle.cayenne.map.DerivedDbAttribute
- getAttribute(String) - Method in class org.objectstyle.cayenne.map.Entity
- Returns attribute with name
attrName. - getAttributeForDbAttribute(DbAttribute) - Method in class org.objectstyle.cayenne.map.ObjEntity
- Returns ObjAttribute of this entity that maps to
dbAttrparameter. - getAttributeMap() - Method in class org.objectstyle.cayenne.map.Entity
- Returns entity attributes as an unmodifiable map.
- getAttributes() - Method in class org.objectstyle.cayenne.map.Entity
- Returns entity attributes.
- getCallOutParameters() - Method in class org.objectstyle.cayenne.map.Procedure
- Returns a list of OUT and INOUT call parameters.
- getCallParameters() - Method in class org.objectstyle.cayenne.map.Procedure
- Returns a list of call parameters.
- getCatalog() - Method in class org.objectstyle.cayenne.map.DbEntity
- Returns the catalog name of the table described by this DbEntity.
- getCatalog() - Method in class org.objectstyle.cayenne.map.DerivedDbEntity
- Returns catalog of the parent entity.
- getCatalog() - Method in class org.objectstyle.cayenne.map.Procedure
- getCatalog() - Method in class org.objectstyle.cayenne.map.TableInfo
- Get the catalog for the table.
- getClassName() - Method in class org.objectstyle.cayenne.map.ObjEntity
- Returns the name of the corresponding data object class
- getDataMap() - Method in class org.objectstyle.cayenne.map.Entity
- getDataMap() - Method in class org.objectstyle.cayenne.map.Procedure
- getDbAttribute() - Method in class org.objectstyle.cayenne.map.ObjAttribute
- Returns an attribute describing a mapped database table column.
- getDbAttributeName() - Method in class org.objectstyle.cayenne.map.ObjAttribute
- Returns the dbAttributeName.
- getDbAttributePath() - Method in class org.objectstyle.cayenne.map.ObjAttribute
- getDbEntities() - Method in class org.objectstyle.cayenne.map.DataMap
- Returns all DbEntities in this DataMap.
- getDbEntities(boolean) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns all DbEntities in this DataMap, including entities
from dependent maps if
includeDepsistrue. - getDbEntity(String) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns DbEntity matching the
nameparameter. - getDbEntity(String, boolean) - Method in class org.objectstyle.cayenne.map.DataMap
- getDbEntity() - Method in class org.objectstyle.cayenne.map.DbKeyGenerator
- getDbEntity() - Method in class org.objectstyle.cayenne.map.ObjEntity
- Returns a DbEntity that this ObjEntity is mapped to.
- getDbEntityMap() - Method in class org.objectstyle.cayenne.map.DataMap
- Returns sorted unmodifiable map of DbEntities contained in this DataMap.
- getDbEntityNames(boolean) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns a list of DbEntity names.
- getDbPathIterator() - Method in class org.objectstyle.cayenne.map.ObjAttribute
- getDbRelationships() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- Returns a list of underlying DbRelationships.
- getDeleteRule() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- Returns the deleteRule.
- getDependencies() - Method in class org.objectstyle.cayenne.map.DataMap
- getDirection() - Method in class org.objectstyle.cayenne.map.ProcedureParameter
- Returns the direction of this parameter.
- getEntity() - Method in class org.objectstyle.cayenne.map.Attribute
- Returns the entity that holds this attribute.
- getEntity() - Method in class org.objectstyle.cayenne.map.ProcedureParameter
- Returns the procedure that holds this parameter.
- getExpressionSpec() - Method in class org.objectstyle.cayenne.map.DerivedDbAttribute
- Returns the expressionSpec.
- getFullyQualifiedName() - Method in class org.objectstyle.cayenne.map.DbEntity
- Returns table name including schema, if present.
- getFullyQualifiedName() - Method in class org.objectstyle.cayenne.map.DerivedDbEntity
- getFullyQualifiedName() - Method in class org.objectstyle.cayenne.map.Procedure
- Returns procedure name including schema, if present.
- getGeneratorName() - Method in class org.objectstyle.cayenne.map.DbKeyGenerator
- getGeneratorType() - Method in class org.objectstyle.cayenne.map.DbKeyGenerator
- getGroupByAttributes() - Method in class org.objectstyle.cayenne.map.DerivedDbEntity
- Returns attributes used in GROUP BY as an unmodifiable list.
- getJavaClass() - Method in class org.objectstyle.cayenne.map.ObjEntity
- Returns Java class of persistent objects described by this entity.
- getJoins() - Method in class org.objectstyle.cayenne.map.DbRelationship
- Returns a list of joins.
- getKeyCacheSize() - Method in class org.objectstyle.cayenne.map.DbKeyGenerator
- getLocation() - Method in class org.objectstyle.cayenne.map.DataMap
- Returns "location" property value.
- getMappedEntities(DbEntity) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns a list of ObjEntities mapped to the given DbEntity.
- getMaxLength() - Method in class org.objectstyle.cayenne.map.DbAttribute
- Returns the length of database column described by this attribute.
- getMaxLength() - Method in class org.objectstyle.cayenne.map.ProcedureParameter
- getName() - Method in class org.objectstyle.cayenne.map.DataMap
- Returns "name" property value.
- getName() - Method in class org.objectstyle.cayenne.map.MapObject
- getName() - Method in class org.objectstyle.cayenne.map.TableInfo
- getNameToDisplay() - Method in class org.objectstyle.cayenne.map.TableInfo
- getObjEntities() - Method in class org.objectstyle.cayenne.map.DataMap
- Returns a list of ObjEntities stored in this DataMap.
- getObjEntities(boolean) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns all ObjEntities in this DataMap, including entities
from dependent maps if
includeDepsistrue. - getObjEntity(String) - Method in class org.objectstyle.cayenne.map.DataMap
- Get ObjEntity by its name.
- getObjEntity(String, boolean) - Method in class org.objectstyle.cayenne.map.DataMap
- getObjEntityMap() - Method in class org.objectstyle.cayenne.map.DataMap
- getParams() - Method in class org.objectstyle.cayenne.map.DerivedDbAttribute
- Returns the params.
- getParent() - Method in class org.objectstyle.cayenne.map.MapObject
- getParentEntity() - Method in class org.objectstyle.cayenne.map.DerivedDbEntity
- Returns the parentEntity.
- getParentEntityName() - Method in class org.objectstyle.cayenne.map.DerivedDbEntity
- Returns the parentEntityName.
- getPrecision() - Method in class org.objectstyle.cayenne.map.DbAttribute
- Returns the number of digits after period for DECIMAL.
- getPrecision() - Method in class org.objectstyle.cayenne.map.ProcedureParameter
- getPrimaryKey() - Method in class org.objectstyle.cayenne.map.DbEntity
- Returns an unmodifiable list of DbAttributes representing the primary key of the table described by this DbEntity.
- getPrimaryKeyGenerator() - Method in class org.objectstyle.cayenne.map.DbEntity
- getProcedure(String) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns a named stored procedure or null if no such procedure exists in the map.
- getProcedure(String, boolean) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns a named stored procedure or null if no such procedure exists in the map, searching dependent maps if requested.
- getProcedure() - Method in class org.objectstyle.cayenne.map.ProcedureParameter
- Returns the procedure that holds this parameter.
- getProcedureMap() - Method in class org.objectstyle.cayenne.map.DataMap
- getProcedures() - Method in class org.objectstyle.cayenne.map.DataMap
- Returns stored procedures associated with this DataMap.
- getProcedures(boolean) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns stored procedures associated with this DataMap, including procedures from dependent maps if requested.
- getQuery(String) - Method in class org.objectstyle.cayenne.map.Entity
- Returns a named query associated with this entity.
- getRelationship(String) - Method in class org.objectstyle.cayenne.map.Entity
- Returns relationship with name
relName. - getRelationshipForDbRelationship(DbRelationship) - Method in class org.objectstyle.cayenne.map.ObjEntity
- Returns ObjRelationship of this entity that maps to
dbRelparameter. - getRelationshipMap() - Method in class org.objectstyle.cayenne.map.Entity
- getRelationships() - Method in class org.objectstyle.cayenne.map.Entity
- Returns a collection of Relationships that exist in this entity.
- getResultParam() - Method in class org.objectstyle.cayenne.map.Procedure
- Returns parameter describing the return value of the StoredProcedure, or null if procedure does not support return values.
- getReverseRelationship() - Method in class org.objectstyle.cayenne.map.DbRelationship
- Returns DbRelationship that is the opposite of this DbRelationship.
- getReverseRelationship() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- Returns ObjRelationship that is the opposite of this ObjRelationship.
- getSchema() - Method in class org.objectstyle.cayenne.map.DbEntity
- Returns database schema of this table.
- getSchema() - Method in class org.objectstyle.cayenne.map.DerivedDbEntity
- Returns schema of the parent entity.
- getSchema() - Method in class org.objectstyle.cayenne.map.Procedure
- getSchema() - Method in class org.objectstyle.cayenne.map.TableInfo
- Get table's schema.
- getSource() - Method in class org.objectstyle.cayenne.map.DbAttributePair
- Returns DbAttribute on on the left side of the join.
- getSourceEntity() - Method in class org.objectstyle.cayenne.map.Relationship
- Returns relationship source entity.
- getSuperClassName() - Method in class org.objectstyle.cayenne.map.ObjEntity
- Returns the fully qualified name of the super class of the data object class for this entity Used in the modeller and in class generation only, not at "runtime"
- getTarget() - Method in class org.objectstyle.cayenne.map.DbAttributePair
- Returns DbAttribute on on the right side of the join.
- getTargetEntity() - Method in class org.objectstyle.cayenne.map.DbRelationship
- getTargetEntity() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- getTargetEntity() - Method in class org.objectstyle.cayenne.map.Relationship
- Returns relationship target entity.
- getTargetEntityName() - Method in class org.objectstyle.cayenne.map.Relationship
- Returns the targetEntityName.
- getType() - Method in class org.objectstyle.cayenne.map.DbAttribute
- Returns the SQL type of the column.
- getType() - Method in class org.objectstyle.cayenne.map.ObjAttribute
- Gets the type of the data object property.
- getType() - Method in class org.objectstyle.cayenne.map.ProcedureParameter
- getType() - Method in class org.objectstyle.cayenne.map.TableInfo
- groupBy - Variable in class org.objectstyle.cayenne.map.DerivedDbAttribute
H
- handlePrimaryKeyUpdate(AttributeEvent) - Method in class org.objectstyle.cayenne.map.DbEntity
- hasNext() - Method in class org.objectstyle.cayenne.map.Entity.PathIterator
- hashCode() - Method in class org.objectstyle.cayenne.map.DbAttributePair
- hashCode() - Method in class org.objectstyle.cayenne.map.MapLoader.SourceTarget
I
- IN_OUT_PARAMETER - Static variable in class org.objectstyle.cayenne.map.ProcedureParameter
- IN_PARAMETER - Static variable in class org.objectstyle.cayenne.map.ProcedureParameter
- idSnapshotMapFromSnapshot(Map) - Method in class org.objectstyle.cayenne.map.ObjEntity
- Creates an id snapshot (the key/value pairs for the pk of the object) from the values in object snapshot.
- isCompound() - Method in class org.objectstyle.cayenne.map.ObjAttribute
- isDependentOn(DataMap) - Method in class org.objectstyle.cayenne.map.DataMap
- Returns
trueif this map depends on DataMap supplied as amapparameter. - isFlattened - Variable in class org.objectstyle.cayenne.map.ObjRelationship
- isFlattened() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- Returns true if the relationship is a "flattened" relationship.
- isGroupBy() - Method in class org.objectstyle.cayenne.map.DerivedDbAttribute
- Returns true if this attribute is used in GROUP BY clause of the parent entity.
- isInParameter() - Method in class org.objectstyle.cayenne.map.ProcedureParameter
- isMandatory() - Method in class org.objectstyle.cayenne.map.DbAttribute
- isOutParam() - Method in class org.objectstyle.cayenne.map.ProcedureParameter
- isPrimaryKey() - Method in class org.objectstyle.cayenne.map.DbAttribute
- isReadOnly() - Method in class org.objectstyle.cayenne.map.ObjEntity
- Returns
trueif this ObjEntity represents a set of read-only objects. - isReadOnly - Variable in class org.objectstyle.cayenne.map.ObjRelationship
- isReadOnly() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- Returns true if the relationship is flattened, but is not of the single case that can have automatic write support Otherwise, it returns false.
- isReturningValue() - Method in class org.objectstyle.cayenne.map.Procedure
- Returns
trueif a stored procedure returns a value. - isToDependentEntity() - Method in class org.objectstyle.cayenne.map.ObjRelationship
- Returns true if underlying DbRelationships point to dependent entity.
- isToDependentPK() - Method in class org.objectstyle.cayenne.map.DbRelationship
- Returns
trueif relationship from source to target points to dependent primary key. - isToMany() - Method in class org.objectstyle.cayenne.map.Relationship
- Is relationship from source to target to-one or to-many.
- isToMasterPK() - Method in class org.objectstyle.cayenne.map.DbRelationship
- Returns
trueif a methodisToDependentPKof reverse relationship of this relationship returnstrue. - isValidForDepPk(DbRelationship) - Static method in class org.objectstyle.cayenne.map.MapLoader
- Returns
trueif this relationship'stoDependentPkproperty can be potentially set totrue.
J
- joins - Variable in class org.objectstyle.cayenne.map.DbRelationship
K
- keyCacheSize - Variable in class org.objectstyle.cayenne.map.DbKeyGenerator
L
- loadDataMap(InputSource) - Method in class org.objectstyle.cayenne.map.MapLoader
- Loads the data map from the input source (usually file).
- loadDataMap(InputSource, List) - Method in class org.objectstyle.cayenne.map.MapLoader
- loadDataMap(String) - Method in class org.objectstyle.cayenne.map.MapLoader
- Loads the array a DataMap for the map file URI.
- location - Variable in class org.objectstyle.cayenne.map.DataMap
- logObj - Static variable in class org.objectstyle.cayenne.map.DataMap
- logObj - Static variable in class org.objectstyle.cayenne.map.MapLoader
M
- MapLoader - class org.objectstyle.cayenne.map.MapLoader.
- Default MapLoader.
- MapLoader() - Constructor for class org.objectstyle.cayenne.map.MapLoader
- MapLoader.SourceTarget - class org.objectstyle.cayenne.map.MapLoader.SourceTarget.
- Used for creating the key in DbRelationship map
- MapLoader.SourceTarget(String, String, String) - Constructor for class org.objectstyle.cayenne.map.MapLoader.SourceTarget
- MapObject - class org.objectstyle.cayenne.map.MapObject.
- Superclass of DataMap objects.
- MapObject() - Constructor for class org.objectstyle.cayenne.map.MapObject
- Constructor for MapObject.
- MapObject(String) - Constructor for class org.objectstyle.cayenne.map.MapObject
- mandatory - Variable in class org.objectstyle.cayenne.map.DbAttribute
- If
true, column corresponding to this attribute does not allows nulls. - mapNameFromLocation(String) - Method in class org.objectstyle.cayenne.map.MapLoader
- Helper method to guess the map name from its location.
- mapsToDependentDbEntity() - Method in class org.objectstyle.cayenne.map.ObjAttribute
- maxLength - Variable in class org.objectstyle.cayenne.map.DbAttribute
- maxLength - Variable in class org.objectstyle.cayenne.map.ProcedureParameter
- mergeWithDataMap(DataMap) - Method in class org.objectstyle.cayenne.map.DataMap
- Adds all Object and DB entities from another map to this map.
N
- NAMED_SEQUENCE_TABLE_TYPE - Static variable in class org.objectstyle.cayenne.map.DbKeyGenerator
- NO_ACTION - Static variable in class org.objectstyle.cayenne.map.DeleteRule
- NO_ACTION_NAME - Static variable in class org.objectstyle.cayenne.map.DeleteRule
- NULLIFY - Static variable in class org.objectstyle.cayenne.map.DeleteRule
- Remove the reference that the destination has to this source (if the inverse relationship is toOne, nullify, if toMany, remove the source object)
- NULLIFY_NAME - Static variable in class org.objectstyle.cayenne.map.DeleteRule
- name - Variable in class org.objectstyle.cayenne.map.DataMap
- name - Variable in class org.objectstyle.cayenne.map.MapLoader.SourceTarget
- name - Variable in class org.objectstyle.cayenne.map.TableInfo
- next() - Method in class org.objectstyle.cayenne.map.Entity.PathIterator
O
- OBJ_ATTRIBUTE_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- OBJ_ENTITY_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- OBJ_RELATIONSHIP_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- ORACLE_TYPE - Static variable in class org.objectstyle.cayenne.map.DbKeyGenerator
- OUT_PARAMETER - Static variable in class org.objectstyle.cayenne.map.ProcedureParameter
- ObjAttribute - class org.objectstyle.cayenne.map.ObjAttribute.
- An ObjAttribute is a mapping descriptor of a Java class property.
- ObjAttribute() - Constructor for class org.objectstyle.cayenne.map.ObjAttribute
- ObjAttribute(String) - Constructor for class org.objectstyle.cayenne.map.ObjAttribute
- ObjAttribute(String, String, ObjEntity) - Constructor for class org.objectstyle.cayenne.map.ObjAttribute
- ObjEntity - class org.objectstyle.cayenne.map.ObjEntity.
- ObjEntity is a mapping descriptor for a DataObject Java class.
- ObjEntity() - Constructor for class org.objectstyle.cayenne.map.ObjEntity
- ObjEntity(String) - Constructor for class org.objectstyle.cayenne.map.ObjEntity
- ObjRelationship - class org.objectstyle.cayenne.map.ObjRelationship.
- Metadata for the navigational association between the data objects.
- ObjRelationship() - Constructor for class org.objectstyle.cayenne.map.ObjRelationship
- ObjRelationship(String) - Constructor for class org.objectstyle.cayenne.map.ObjRelationship
- ObjRelationship(ObjEntity, ObjEntity, boolean) - Constructor for class org.objectstyle.cayenne.map.ObjRelationship
- objEntity - Variable in class org.objectstyle.cayenne.map.MapLoader
- objEntityMap - Variable in class org.objectstyle.cayenne.map.DataMap
- ObjEntities representing the data object classes.
- objEntityMapRef - Variable in class org.objectstyle.cayenne.map.DataMap
- objEntityValuesRef - Variable in class org.objectstyle.cayenne.map.DataMap
- objName - Variable in class org.objectstyle.cayenne.map.MapObject
- objParent - Variable in class org.objectstyle.cayenne.map.MapObject
- objRelationship - Variable in class org.objectstyle.cayenne.map.MapLoader
- objRelationships - Variable in class org.objectstyle.cayenne.map.MapLoader
- objectIdFromSnapshot(Map) - Method in class org.objectstyle.cayenne.map.ObjEntity
- Creates an object id from the values in object snapshot.
- org.objectstyle.cayenne.map - package org.objectstyle.cayenne.map
P
- PATH_SEPARATOR - Static variable in class org.objectstyle.cayenne.map.Entity
- PROCEDURE_PARAMETER_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- PROCEDURE_TAG - Static variable in class org.objectstyle.cayenne.map.MapLoader
- PROPERTY_DID_CHANGE - Static variable in class org.objectstyle.cayenne.map.DbRelationship
- Procedure - class org.objectstyle.cayenne.map.Procedure.
- A mapping descriptor for a database stored procedure.
- Procedure() - Constructor for class org.objectstyle.cayenne.map.Procedure
- Creates an unnamed procedure object.
- Procedure(String) - Constructor for class org.objectstyle.cayenne.map.Procedure
- Creates a named Procedure object.
- ProcedureParameter - class org.objectstyle.cayenne.map.ProcedureParameter.
- A descriptor for the StoredProcedure parameter.
- ProcedureParameter() - Constructor for class org.objectstyle.cayenne.map.ProcedureParameter
- Constructor for ProcedureParam.
- ProcedureParameter(String) - Constructor for class org.objectstyle.cayenne.map.ProcedureParameter
- ProcedureParameter(String, int, int) - Constructor for class org.objectstyle.cayenne.map.ProcedureParameter
- params - Variable in class org.objectstyle.cayenne.map.DerivedDbAttribute
- parentEntityName - Variable in class org.objectstyle.cayenne.map.DerivedDbEntity
- precision - Variable in class org.objectstyle.cayenne.map.DbAttribute
- precision - Variable in class org.objectstyle.cayenne.map.ProcedureParameter
- primaryKey - Variable in class org.objectstyle.cayenne.map.DbAttribute
- If
true, this attribute is a part of primary key. - primaryKey - Variable in class org.objectstyle.cayenne.map.DbEntity
- primaryKeyGenerator - Variable in class org.objectstyle.cayenne.map.DbEntity
- primaryKeyRef - Variable in class org.objectstyle.cayenne.map.DbEntity
- printAttributes(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- Prints the attributes.
- procedure - Variable in class org.objectstyle.cayenne.map.MapLoader
- procedureMap - Variable in class org.objectstyle.cayenne.map.DataMap
- procedureMapRef - Variable in class org.objectstyle.cayenne.map.DataMap
- procedureValuesRef - Variable in class org.objectstyle.cayenne.map.DataMap
- processEndDbAttribute() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndDbEntity() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndDbGeneratorName() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndDbGeneratorType() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndDbKeyCacheSize() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndDbRelationship() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndObjEntity() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndObjRelationship() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndProcedure() - Method in class org.objectstyle.cayenne.map.MapLoader
- processEndProcedureParameter() - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartDbAttribute(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartDbAttributePair(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartDbAttributeRef(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartDbEntity(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartDbKeyGenerator(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartDbRelationship(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartDbRelationshipRef(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartDerivedDbAttribute(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartObjAttribute(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartObjEntity(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartObjRelationship(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartProcedure(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
- processStartProcedureParameter(Attributes) - Method in class org.objectstyle.cayenne.map.MapLoader
Q
R
- Relationship - class org.objectstyle.cayenne.map.Relationship.
- Superclass of metadata relationship classes.
- Relationship() - Constructor for class org.objectstyle.cayenne.map.Relationship
- Relationship(String) - Constructor for class org.objectstyle.cayenne.map.Relationship
- readOnly - Variable in class org.objectstyle.cayenne.map.ObjEntity
- relationships - Variable in class org.objectstyle.cayenne.map.Entity
- relationshipsRef - Variable in class org.objectstyle.cayenne.map.Entity
- rememberCurrentTag(String) - Method in class org.objectstyle.cayenne.map.MapLoader
- remove() - Method in class org.objectstyle.cayenne.map.Entity.PathIterator
- removeAllJoins() - Method in class org.objectstyle.cayenne.map.DbRelationship
- removeAttribute(String) - Method in class org.objectstyle.cayenne.map.DbEntity
- Removes attribute from the entity, removes any relationship joins containing this attribute.
- removeAttribute(String) - Method in class org.objectstyle.cayenne.map.DerivedDbEntity
- removeAttribute(String) - Method in class org.objectstyle.cayenne.map.Entity
- Removes an attribute named
attrName. - removeCallParameter(String) - Method in class org.objectstyle.cayenne.map.Procedure
- Removes a named call parameter.
- removeDbEntity(String) - Method in class org.objectstyle.cayenne.map.DataMap
- "Dirty" remove of the DbEntity from the data map.
- removeDbRelationship(DbRelationship) - Method in class org.objectstyle.cayenne.map.ObjRelationship
- Removes the relationship
dbRelfrom the list of relationships. - removeDependency(DataMap) - Method in class org.objectstyle.cayenne.map.DataMap
- removeJoin(DbAttributePair) - Method in class org.objectstyle.cayenne.map.DbRelationship
- removeObjEntity(String) - Method in class org.objectstyle.cayenne.map.DataMap
- "Dirty" remove of the ObjEntity from the data map.
- removeParam(DbAttribute) - Method in class org.objectstyle.cayenne.map.DerivedDbAttribute
- removeProcedure(String) - Method in class org.objectstyle.cayenne.map.DataMap