A B C D E F G H I L M N O P Q R S T U V

A

AbstractDbLoaderDelegate - Class in org.apache.cayenne.access
 
AbstractDbLoaderDelegate() - Constructor for class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
adapter - Variable in class org.apache.cayenne.tools.CayenneTask
 
addEmbeddables(Collection<Embeddable>) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
addEntities(Collection<ObjEntity>) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Adds entities to the internal entity list.
addEntities(Collection<ObjEntity>) - Method in class org.apache.cayenne.gen.ClientClassGenerationAction
 
additionalMaps - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
addQueries(Collection<Query>) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
addQueries(Collection<Query>) - Method in class org.apache.cayenne.gen.ClientClassGenerationAction
 
addReservedType(String) - Method in class org.apache.cayenne.gen.ImportUtils
Reserve a fully-qualified data type class name so it cannot be used by another class.
addType(String) - Method in class org.apache.cayenne.gen.ImportUtils
Register a fully-qualified data type class name.
Artifact - Interface in org.apache.cayenne.gen
Represents a class generation "artifact" which is a facade to a metadata object used for a given single generation template run.
ArtifactGenerationMode - Enum in org.apache.cayenne.gen
Code generator execution mode for a single artifact.
artifacts - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
ArtifactsGenerationMode - Enum in org.apache.cayenne.gen
Code generator execution mode for a collection of artifacts.
artifactsGenerationMode - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 

B

BASE_CLASS_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
 
BASE_PACKAGE_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
 
baseClassName - Variable in class org.apache.cayenne.gen.EntityUtils
 
basePackageName - Variable in class org.apache.cayenne.gen.EntityUtils
 

C

callbackNames - Variable in class org.apache.cayenne.gen.EntityUtils
 
canRegisterType(String) - Method in class org.apache.cayenne.gen.ImportUtils
 
capitalized(String) - Method in class org.apache.cayenne.gen.StringUtils
Capitalizes the first letter of the property name.
capitalizedAsConstant(String) - Method in class org.apache.cayenne.gen.StringUtils
Converts property name to Java constants naming convention.
CayenneGeneratorTask - Class in org.apache.cayenne.tools
An Ant task to perform class generation based on CayenneDataMap.
CayenneGeneratorTask() - Constructor for class org.apache.cayenne.tools.CayenneGeneratorTask
 
CayenneTask - Class in org.apache.cayenne.tools
Base task for all Cayenne ant tasks, providing support for common configuration items.
CayenneTask() - Constructor for class org.apache.cayenne.tools.CayenneTask
 
ClassGenerationAction - Class in org.apache.cayenne.gen
 
ClassGenerationAction() - Constructor for class org.apache.cayenne.gen.ClassGenerationAction
 
ClassGeneratorResourceLoader - Class in org.apache.cayenne.gen
Velocity template resource loader customized for Cayenne use.
ClassGeneratorResourceLoader() - Constructor for class org.apache.cayenne.gen.ClassGeneratorResourceLoader
 
classpath - Variable in class org.apache.cayenne.tools.CayenneTask
 
cleanDest - Variable in class org.apache.cayenne.tools.DataPortTask
 
client - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
CLIENT_SUPERCLASS_PREFIX - Static variable in class org.apache.cayenne.gen.ClientClassGenerationAction
 
ClientClassGenerationAction - Class in org.apache.cayenne.gen
 
ClientClassGenerationAction() - Constructor for class org.apache.cayenne.gen.ClientClassGenerationAction
 
ClientDataMapArtifact - Class in org.apache.cayenne.gen
 
ClientDataMapArtifact(DataMap, Collection<Query>) - Constructor for class org.apache.cayenne.gen.ClientDataMapArtifact
 
ClientEntityArtifact - Class in org.apache.cayenne.gen
Client code generation artifact based on ObjEntity.
ClientEntityArtifact(ObjEntity) - Constructor for class org.apache.cayenne.gen.ClientEntityArtifact
 
context - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
createConfig() - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Provides a VPPConfig object to configure.
createDbRelationshipName(ExportedKey, boolean) - Method in class org.apache.cayenne.map.naming.SmartNamingStrategy
 
createFK - Variable in class org.apache.cayenne.tools.DbGeneratorTask
 
createGeneratorAction() - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
 
createPatterns(String) - Method in class org.apache.cayenne.tools.NamePatternMatcher
Returns an array of Patterns.
createPK - Variable in class org.apache.cayenne.tools.DbGeneratorTask
 
createTables - Variable in class org.apache.cayenne.tools.DbGeneratorTask
 
customTemplateName(TemplateType) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 

D

dataMap - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
dataMap - Variable in class org.apache.cayenne.gen.DataMapArtifact
 
DATAMAP_SINGLE_CLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
DATAMAP_SUBCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
DATAMAP_SUPERCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
DATAMAP_UTILS_KEY - Static variable in class org.apache.cayenne.gen.DataMapArtifact
 
DataMapArtifact - Class in org.apache.cayenne.gen
Artifact facade for a DataMap.
DataMapArtifact(DataMap, Collection<Query>) - Constructor for class org.apache.cayenne.gen.DataMapArtifact
 
DataMapUtils - Class in org.apache.cayenne.gen
Attributes and Methods for working with Queries.
DataMapUtils() - Constructor for class org.apache.cayenne.gen.DataMapUtils
 
DataPortTask - Class in org.apache.cayenne.tools
A "cdataport" Ant task implementing a frontend to DataPort allowing porting database data using Ant build scripts.
DataPortTask() - Constructor for class org.apache.cayenne.tools.DataPortTask
 
dbEntityAdded(DbEntity) - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
dbEntityRemoved(DbEntity) - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
DbGeneratorTask - Class in org.apache.cayenne.tools
An Ant Task that is a frontend to Cayenne DbGenerator allowing schema generation from DataMap using Ant.
DbGeneratorTask() - Constructor for class org.apache.cayenne.tools.DbGeneratorTask
 
DbImporterTask - Class in org.apache.cayenne.tools
 
DbImporterTask() - Constructor for class org.apache.cayenne.tools.DbImporterTask
 
defaultTemplateName(TemplateType) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
defaultTemplateName(TemplateType) - Method in class org.apache.cayenne.gen.ClientClassGenerationAction
 
destDir - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
destDir - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
destNode - Variable in class org.apache.cayenne.tools.DataPortTask
 
DMAP_SINGLE_CLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClientClassGenerationAction
 
DMAP_SUBCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClientClassGenerationAction
 
DMAP_SUPERCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClientClassGenerationAction
 
driver - Variable in class org.apache.cayenne.tools.CayenneTask
 
dropPK - Variable in class org.apache.cayenne.tools.DbGeneratorTask
 
dropTables - Variable in class org.apache.cayenne.tools.DbGeneratorTask
 

E

ejbqlQueries - Variable in class org.apache.cayenne.gen.DataMapArtifact
 
embeddable - Variable in class org.apache.cayenne.gen.EmbeddableArtifact
 
EMBEDDABLE_SINGLE_CLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
EMBEDDABLE_SUBCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
EMBEDDABLE_SUPERCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
EmbeddableArtifact - Class in org.apache.cayenne.gen
Artifact facade for an Embeddable.
EmbeddableArtifact(Embeddable) - Constructor for class org.apache.cayenne.gen.EmbeddableArtifact
 
embeddableSuperTemplate - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
embeddablesupertemplate - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
embeddableTemplate - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
embeddabletemplate - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
encoding - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
encoding - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
entity - Variable in class org.apache.cayenne.gen.EntityArtifact
 
ENTITY_UTILS_KEY - Static variable in class org.apache.cayenne.gen.EntityArtifact
 
EntityArtifact - Class in org.apache.cayenne.gen
Artifact facade for an ObjEntity.
EntityArtifact(ObjEntity) - Constructor for class org.apache.cayenne.gen.EntityArtifact
 
EntityUtils - Class in org.apache.cayenne.gen
Attributes and Methods for working with ObjEntities.
EntityUtils(DataMap, ObjEntity, String, String, String) - Constructor for class org.apache.cayenne.gen.EntityUtils
 
excludeEntitiesPattern - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
excludeTables - Variable in class org.apache.cayenne.tools.DataPortTask
 
execute() - Method in class org.apache.cayenne.gen.ClassGenerationAction
Executes class generation once per each artifact.
execute(Artifact) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Executes class generation for a single artifact.
execute() - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Executes the task.
execute() - Method in class org.apache.cayenne.tools.DataPortTask
 
execute() - Method in class org.apache.cayenne.tools.DbGeneratorTask
 
execute() - Method in class org.apache.cayenne.tools.DbImporterTask
 

F

fileForClass() - Method in class org.apache.cayenne.gen.ClassGenerationAction
Returns a target file where a generated class must be saved.
fileForSuperclass() - Method in class org.apache.cayenne.gen.ClassGenerationAction
Returns a target file where a generated superclass must be saved.
formatJavaType(String, boolean) - Method in class org.apache.cayenne.gen.ImportUtils
Performs processing similar to formatJavaType(String), with special handling of primitive types and their Java class counterparts.
formatJavaType(String) - Method in class org.apache.cayenne.gen.ImportUtils
Removes registered package and non-reserved registered type name prefixes from java types
formatJavaTypeAsNonBooleanPrimitive(String) - Method in class org.apache.cayenne.gen.ImportUtils
 
formatVariableName(String) - Method in class org.apache.cayenne.gen.StringUtils
Prepends underscore to variable name if necessary to remove conflict with reserved keywords.

G

generate() - Method in class org.apache.cayenne.gen.ImportUtils
Generate package and list of import statements based on the registered types.
getAddedDbEntities() - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
getAddedObjEntities() - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
getAllEntities(DataNode, DataNode) - Method in class org.apache.cayenne.tools.DataPortTask
 
getCallbackNames() - Method in class org.apache.cayenne.gen.EntityUtils
 
getEntityResolver() - Method in class org.apache.cayenne.gen.EntityUtils
Returns the EntityResolver for this set of DataMaps.
getInstance() - Static method in class org.apache.cayenne.gen.StringUtils
 
getLabel() - Method in enum org.apache.cayenne.gen.ArtifactsGenerationMode
 
getMapKeyType(ObjRelationship) - Method in class org.apache.cayenne.gen.EntityUtils
Returns the map key type for a collection relationship of type java.util.Map.
getObject() - Method in interface org.apache.cayenne.gen.Artifact
Returns a mapping metadata object for this artifact.
getObject() - Method in class org.apache.cayenne.gen.DataMapArtifact
 
getObject() - Method in class org.apache.cayenne.gen.EmbeddableArtifact
 
getObject() - Method in class org.apache.cayenne.gen.EntityArtifact
Returns ObjEntity.
getParameterNames(QualifiedQuery) - Method in class org.apache.cayenne.gen.DataMapUtils
Get all parameter names that used in query qualifier.
getParameterType(QualifiedQuery, String) - Method in class org.apache.cayenne.gen.DataMapUtils
Get type of parameter for given name.
getPrimaryDataMap() - Method in class org.apache.cayenne.gen.EntityUtils
 
getQualifiedBaseClassName() - Method in interface org.apache.cayenne.gen.Artifact
 
getQualifiedBaseClassName() - Method in class org.apache.cayenne.gen.ClientDataMapArtifact
 
getQualifiedBaseClassName() - Method in class org.apache.cayenne.gen.ClientEntityArtifact
 
getQualifiedBaseClassName() - Method in class org.apache.cayenne.gen.DataMapArtifact
 
getQualifiedBaseClassName() - Method in class org.apache.cayenne.gen.EmbeddableArtifact
 
getQualifiedBaseClassName() - Method in class org.apache.cayenne.gen.EntityArtifact
 
getQualifiedClassName() - Method in interface org.apache.cayenne.gen.Artifact
 
getQualifiedClassName() - Method in class org.apache.cayenne.gen.ClientDataMapArtifact
 
getQualifiedClassName() - Method in class org.apache.cayenne.gen.ClientEntityArtifact
 
getQualifiedClassName() - Method in class org.apache.cayenne.gen.DataMapArtifact
 
getQualifiedClassName() - Method in class org.apache.cayenne.gen.EmbeddableArtifact
 
getQualifiedClassName() - Method in class org.apache.cayenne.gen.EntityArtifact
 
getQueryMethodName(Query) - Method in class org.apache.cayenne.gen.DataMapUtils
Return valid method name based on query name (replace all illegal characters with underscore '_').
getQueryNames() - Method in class org.apache.cayenne.gen.DataMapArtifact
 
getRemovedDbEntities() - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
getRemovedObjEntities() - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
getResourceStream(String) - Method in class org.apache.cayenne.gen.ClassGeneratorResourceLoader
Returns resource as InputStream.
getSelectQueries() - Method in class org.apache.cayenne.gen.DataMapArtifact
 
getSingleClassType() - Method in class org.apache.cayenne.gen.EntityArtifact
 
getSubclassType() - Method in class org.apache.cayenne.gen.EntityArtifact
 
getSuperclassPrefix() - Method in class org.apache.cayenne.gen.ClassGenerationAction
Returns a String used to prefix class name to create a generated superclass.
getSuperClassType() - Method in class org.apache.cayenne.gen.EntityArtifact
 
getTemplate(TemplateType) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
getTemplateTypes(ArtifactGenerationMode) - Method in interface org.apache.cayenne.gen.Artifact
 
getTemplateTypes(ArtifactGenerationMode) - Method in class org.apache.cayenne.gen.DataMapArtifact
 
getTemplateTypes(ArtifactGenerationMode) - Method in class org.apache.cayenne.gen.EmbeddableArtifact
 
getTemplateTypes(ArtifactGenerationMode) - Method in class org.apache.cayenne.gen.EntityArtifact
 
getVppContext() - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
 

H

hasParameters(QualifiedQuery) - Method in class org.apache.cayenne.gen.DataMapUtils
 
hasQueryNames() - Method in class org.apache.cayenne.gen.DataMapArtifact
 
hasSelectQueries() - Method in class org.apache.cayenne.gen.DataMapArtifact
 
hasToManyDeclaredRelationships() - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if current ObjEntity contains at least one toMany relationship, ignoring those declared in superentities.
hasToManyDeclaredRelationships(ObjEntity) - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if an ObjEntity contains at least one toMany relationship, ignoring those declared in superentities.
hasToManyRelationships() - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if current ObjEntity contains at least one toMany relationship.
hasToManyRelationships(ObjEntity) - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if an ObjEntity contains at least one toMany relationship.
hasToOneDeclaredRelationships() - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if current ObjEntity contains at least one toOne relationship, ignoring those declared in superentities.
hasToOneDeclaredRelationships(ObjEntity) - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if an ObjEntity contains at least one toOne relationship, ignoring those declared in superentities.
hasToOneRelationships() - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if current ObjEntity contains at least one toOne relationship.
hasToOneRelationships(ObjEntity) - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if an ObjEntity contains at least one toOne relationship.

I

IMPORT_UTILS_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
 
importOrdering - Static variable in class org.apache.cayenne.gen.ImportUtils
 
importTypesMap - Variable in class org.apache.cayenne.gen.ImportUtils
 
ImportUtils - Class in org.apache.cayenne.gen
Methods for mangling strings.
ImportUtils() - Constructor for class org.apache.cayenne.gen.ImportUtils
 
includeEntitiesPattern - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
includeTables - Variable in class org.apache.cayenne.tools.DataPortTask
 
isAbstract() - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if current ObjEntity is defined as abstract.
isAbstract(ObjEntity) - Method in class org.apache.cayenne.gen.EntityUtils
Returns true if current ObjEntity is defined as abstract.
isBoolean(String) - Method in class org.apache.cayenne.gen.ImportUtils
 
isIncluded(String) - Method in class org.apache.cayenne.tools.NamePatternMatcher
Returns true if a given object property satisfies the include/exclude patterns.
isNonBooleanPrimitive(String) - Method in class org.apache.cayenne.gen.ImportUtils
 
isOld(File) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Returns true if file parameter is older than internal timestamp of this class generator.
isSuperclass() - Method in enum org.apache.cayenne.gen.TemplateType
 
isValidParameterNames(QualifiedQuery) - Method in class org.apache.cayenne.gen.DataMapUtils
 
itemExcludeFilters - Variable in class org.apache.cayenne.tools.NamePatternMatcher
 
itemIncludeFilters - Variable in class org.apache.cayenne.tools.NamePatternMatcher
 

L

LIGHT_SUPERCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
loadDataMap() - Method in class org.apache.cayenne.tools.CayenneTask
Loads and returns DataMap based on map attribute.
loadFromAbsPath(String) - Method in class org.apache.cayenne.gen.ClassGeneratorResourceLoader
 
loadFromRelativePath(String) - Method in class org.apache.cayenne.gen.ClassGeneratorResourceLoader
 
loadFromThisClassLoader(String) - Method in class org.apache.cayenne.gen.ClassGeneratorResourceLoader
 
loadFromThreadClassLoader(String) - Method in class org.apache.cayenne.gen.ClassGeneratorResourceLoader
 
logger - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
logger - Variable in class org.apache.cayenne.tools.NamePatternMatcher
 

M

makePairs - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
makepairs - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
map - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
map - Variable in class org.apache.cayenne.tools.CayenneTask
 
maps - Variable in class org.apache.cayenne.tools.DataPortTask
 
mkpath(File, String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Returns a File object corresponding to a directory where files that belong to pkgName package should reside.
mode - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 

N

NamePatternMatcher - Class in org.apache.cayenne.tools
Provides name pattern matching functionality.
NamePatternMatcher(Log, String, String) - Constructor for class org.apache.cayenne.tools.NamePatternMatcher
 

O

OBJECT_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
Root object, such as ObjEntity or Embeddable, etc.
objEntity - Variable in class org.apache.cayenne.gen.EntityUtils
 
objEntityAdded(ObjEntity) - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
objEntityRemoved(ObjEntity) - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 
openWriter(TemplateType) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Opens a Writer to write generated output.
org.apache.cayenne.access - package org.apache.cayenne.access
 
org.apache.cayenne.gen - package org.apache.cayenne.gen
Contains classes that provide Java source generation facility.
org.apache.cayenne.map.naming - package org.apache.cayenne.map.naming
 
org.apache.cayenne.tools - package org.apache.cayenne.tools
Command line tools and Ant tasks.
outputPattern - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
outputPattern - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
overwrite - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
overwrite - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
overwriteDbEntity(DbEntity) - Method in class org.apache.cayenne.access.AbstractDbLoaderDelegate
 

P

packageName - Variable in class org.apache.cayenne.gen.ImportUtils
 
password - Variable in class org.apache.cayenne.tools.CayenneTask
 
pluralize(String) - Method in class org.apache.cayenne.gen.StringUtils
Converts entity or property name to a plural form.
postInitContext(VelocityContext) - Method in interface org.apache.cayenne.gen.Artifact
A callback method that allows each artifact to add its own special keys to the context.
postInitContext(VelocityContext) - Method in class org.apache.cayenne.gen.DataMapArtifact
 
postInitContext(VelocityContext) - Method in class org.apache.cayenne.gen.EmbeddableArtifact
 
postInitContext(VelocityContext) - Method in class org.apache.cayenne.gen.EntityArtifact
 
primaryDataMap - Variable in class org.apache.cayenne.gen.EntityUtils
 
procedureQueries - Variable in class org.apache.cayenne.gen.DataMapArtifact
 
projectFile - Variable in class org.apache.cayenne.tools.DataPortTask
 

Q

queryNames - Variable in class org.apache.cayenne.gen.DataMapArtifact
 
querySuperTemplate - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
queryTemplate - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 

R

replaceWildcardInStringWithString(String, String, String) - Static method in class org.apache.cayenne.tools.NamePatternMatcher
 
reservedImportTypesMap - Variable in class org.apache.cayenne.gen.ImportUtils
 
resetContextForArtifact(Artifact) - Method in class org.apache.cayenne.gen.ClassGenerationAction
VelocityContext initialization method called once per artifact.
resetContextForArtifactTemplate(Artifact, TemplateType) - Method in class org.apache.cayenne.gen.ClassGenerationAction
VelocityContext initialization method called once per each artifact and template type combination.

S

selectQueries - Variable in class org.apache.cayenne.gen.DataMapArtifact
 
setAdapter(String) - Method in class org.apache.cayenne.tools.CayenneTask
Sets the db adapter.
setAdditionalMaps(Path) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets the additional DataMaps.
setArtifactsGenerationMode(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
setClasspath(Path) - Method in class org.apache.cayenne.tools.CayenneTask
Sets the classpath used by the task.
setClasspathRef(Reference) - Method in class org.apache.cayenne.tools.CayenneTask
Sets the classpath reference used by the task.
setCleanDest(boolean) - Method in class org.apache.cayenne.tools.DataPortTask
 
setClient(boolean) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets client property.
setContext(VelocityContext) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets an optional shared VelocityContext.
setCreateFK(boolean) - Method in class org.apache.cayenne.tools.DbGeneratorTask
 
setCreatePK(boolean) - Method in class org.apache.cayenne.tools.DbGeneratorTask
 
setCreateTables(boolean) - Method in class org.apache.cayenne.tools.DbGeneratorTask
 
setDataMap(DataMap) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
setDestDir(File) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets the destDir.
setDestDir(File) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets the destDir.
setDestNode(String) - Method in class org.apache.cayenne.tools.DataPortTask
 
setDriver(String) - Method in class org.apache.cayenne.tools.CayenneTask
Sets the JDBC driver used to connect to the database server.
setDropPK(boolean) - Method in class org.apache.cayenne.tools.DbGeneratorTask
 
setDropTables(boolean) - Method in class org.apache.cayenne.tools.DbGeneratorTask
 
setEmbeddableSuperTemplate(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
setEmbeddablesupertemplate(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
 
setEmbeddableTemplate(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
setEmbeddabletemplate(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
 
setEncoding(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets file encoding.
setEncoding(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets encoding property that allows to generate files using non-default encoding.
setExcludeEntities(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets excludeEntitiesPattern property.
setExcludeTables(String) - Method in class org.apache.cayenne.tools.DataPortTask
 
setImportProcedures(boolean) - Method in class org.apache.cayenne.tools.DbImporterTask
 
setIncludeEntities(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets includeEntitiesPattern property.
setIncludeTables(String) - Method in class org.apache.cayenne.tools.DataPortTask
 
setLogger(Log) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Injects an optional logger that will be used to trace generated files at the info level.
setMakePairs(boolean) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets makepairs property.
setMakepairs(boolean) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets makepairs property.
setMap(File) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets the map.
setMap(File) - Method in class org.apache.cayenne.tools.CayenneTask
Sets the map.
setMaps(String) - Method in class org.apache.cayenne.tools.DataPortTask
 
setMeaningfulPk(boolean) - Method in class org.apache.cayenne.tools.DbImporterTask
 
setMode(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets mode property.
setNamingStrategy(String) - Method in class org.apache.cayenne.tools.DbImporterTask
 
setOutputPattern(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets outputPattern property.
setOutputPattern(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets outputPattern property.
setOverwrite(boolean) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets overwrite property.
setOverwrite(boolean) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets overwrite property.
setOverwriteExisting(boolean) - Method in class org.apache.cayenne.tools.DbImporterTask
 
setPackage(String) - Method in class org.apache.cayenne.gen.ImportUtils
Add the package name to use for this importUtil invocation.
setPassword(String) - Method in class org.apache.cayenne.tools.CayenneTask
Sets the password used to connect to the database server.
setProcedurePattern(String) - Method in class org.apache.cayenne.tools.DbImporterTask
 
setProjectFile(File) - Method in class org.apache.cayenne.tools.DataPortTask
 
setQuerySuperTemplate(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
setQueryTemplate(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
setSchemaName(String) - Method in class org.apache.cayenne.tools.DbImporterTask
 
setSrcNode(String) - Method in class org.apache.cayenne.tools.DataPortTask
 
setSuperPkg(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets "superPkg" property value.
setSuperpkg(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets superpkg property.
setSuperTemplate(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets superTemplate property.
setSupertemplate(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets supertemplate property.
setTablePattern(String) - Method in class org.apache.cayenne.tools.DbImporterTask
 
setTemplate(String) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets template property.
setTemplate(String) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets template property.
setTimestamp(long) - Method in class org.apache.cayenne.gen.ClassGenerationAction
 
setUrl(String) - Method in class org.apache.cayenne.tools.CayenneTask
Sets the JDBC URL used to connect to the database server.
setUsePkgPath(boolean) - Method in class org.apache.cayenne.gen.ClassGenerationAction
Sets usepkgpath property.
setUsepkgpath(boolean) - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Sets usepkgpath property.
setUserName(String) - Method in class org.apache.cayenne.tools.CayenneTask
Sets the username used to connect to the database server.
SINGLE_CLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
SmartNamingStrategy - Class in org.apache.cayenne.map.naming
SmartNamingStrategy is a new strategy for generating names of entities, attributes etc.
SmartNamingStrategy() - Constructor for class org.apache.cayenne.map.naming.SmartNamingStrategy
 
sqlTemplateQueries - Variable in class org.apache.cayenne.gen.DataMapArtifact
 
srcNode - Variable in class org.apache.cayenne.tools.DataPortTask
 
STRING_UTILS_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
 
StringUtils - Class in org.apache.cayenne.gen
Methods for mangling strings.
StringUtils() - Constructor for class org.apache.cayenne.gen.StringUtils
 
stripClass(String) - Method in class org.apache.cayenne.gen.StringUtils
Removes base name, leaving package name.
stripPackageName(String) - Method in class org.apache.cayenne.gen.StringUtils
Removes package name, leaving base name.
SUB_CLASS_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
 
SUB_PACKAGE_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
 
SUBCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
SUBCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClientClassGenerationAction
 
subClassName - Variable in class org.apache.cayenne.gen.EntityUtils
 
subPackageName - Variable in class org.apache.cayenne.gen.EntityUtils
 
SUPER_CLASS_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
 
SUPER_PACKAGE_KEY - Static variable in interface org.apache.cayenne.gen.Artifact
 
SUPERCLASS_PREFIX - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
SUPERCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClassGenerationAction
 
SUPERCLASS_TEMPLATE - Static variable in class org.apache.cayenne.gen.ClientClassGenerationAction
 
superClassName - Variable in class org.apache.cayenne.gen.EntityUtils
 
superPackageName - Variable in class org.apache.cayenne.gen.EntityUtils
 
superPkg - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
superpkg - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
superTemplate - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
supertemplate - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 

T

template - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
template - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
templateCache - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
TemplateType - Enum in org.apache.cayenne.gen
Defines class generation template types.
timestamp - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
tokenizePattern(String) - Method in class org.apache.cayenne.tools.NamePatternMatcher
Returns an array of valid regular expressions.

U

uncapitalized(String) - Static method in class org.apache.cayenne.gen.StringUtils
Returns string with lowercased first letter
url - Variable in class org.apache.cayenne.tools.CayenneTask
 
usePkgPath - Variable in class org.apache.cayenne.gen.ClassGenerationAction
 
usepkgpath - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 
userName - Variable in class org.apache.cayenne.tools.CayenneTask
 

V

validateAttributes() - Method in class org.apache.cayenne.gen.ClassGenerationAction
Validates the state of this class generator.
validateAttributes() - Method in class org.apache.cayenne.tools.CayenneGeneratorTask
Validates attributes that are not related to internal DefaultClassGenerator.
validateAttributes() - Method in class org.apache.cayenne.tools.DbGeneratorTask
Validates atttributes that are not related to internal DefaultClassGenerator.
validateAttributes() - Method in class org.apache.cayenne.tools.DbImporterTask
Validates atttributes that are not related to internal DefaultClassGenerator.
validateParameters() - Method in class org.apache.cayenne.tools.DataPortTask
 
valueOf(String) - Static method in enum org.apache.cayenne.gen.ArtifactGenerationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.cayenne.gen.ArtifactsGenerationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.cayenne.gen.TemplateType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.cayenne.gen.ArtifactGenerationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.cayenne.gen.ArtifactsGenerationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.cayenne.gen.TemplateType
Returns an array containing the constants of this enum type, in the order they are declared.
vppConfig - Variable in class org.apache.cayenne.tools.CayenneGeneratorTask
 

A B C D E F G H I L M N O P Q R S T U V

Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.