Index

A B C D E G H I J M O P Q R S T W 
All Classes and Interfaces|All Packages

A

aas(String) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Utility method to generate the argument list.
acs(String, String) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Adds a string to a comma-separated list.
applyTrackingAndContextOptions(Entity) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Applies the tracking and context options.
The defaults are taken from the entity's model and overridden by the options --tracked, --attracked, --fulltracked, --untracked and --context=<key>.
as(String) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Utility method to always get a non-null string.
assertEntityIsPersistable() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Asserts that SQL statements can be executed for that entity.
assertEntityNotEmbedded() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Asserts that entity can be selected from the database.
assertNoOptionalArguments() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Asserts that none of the conditions is optional.
To be invoked by wurblets caching their prepared statement, since the SQL text of an optional condition is not fixed.
AssertRemote - Class in org.tentackle.persist.wurblet
(@wurblet) Asserts that remote delegates exist and generates them if missing.
AssertRemote() - Constructor for class org.tentackle.persist.wurblet.AssertRemote
 

B

buildInvocationParameters() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Builds the string of invocation parameters.
buildInvocationParameters(boolean, boolean) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Builds the string of invocation parameters.
buildMethodParameters() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Builds the string of method parameters.
buildMethodParameters(boolean, boolean) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Builds the string of method parameters.

C

ClassVariables - Class in org.tentackle.persist.wurblet
(@wurblet) Generates the code to setup the class-variables for an entity.
ClassVariables() - Constructor for class org.tentackle.persist.wurblet.ClassVariables
 
code() - Method in record class org.tentackle.persist.wurblet.DslDeclarationFactory.Declaration
Returns the value of the code record component.
comment() - Method in record class org.tentackle.persist.wurblet.DslDeclarationFactory.Declaration
Returns the value of the comment record component.
createEagerJoins() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code for the eager joins of the class variables.
createFieldDeclaration(Attribute) - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Creates the declaration of the field for an attribute.
createJdbcGetterName(Attribute) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the "getXXXX" method name for ResultSetWrapper.
createJdbcSetterName(DataType) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the "setXXXX" method name for PreparedStatementWrapper.
createJoins() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code for JoinedSelects.
createJoinSetPars() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates optional JDBC-set parameters code for joins with extra arguments.
createOptionalCondition(List) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java boolean expression that determines whether the given arguments are part of the query.
The expression is true if at least one of the arguments is applicable.
createOrderBy() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the order by clause.
createOrderBy(List) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the order by clause.
createRelationArgString(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the argument string for the select or delete statement of a relation.
createRelationDeleteCode(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code to delete a relation.
createRelationLinkCode(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code to set the link of a relation.
createRelationSelectCode(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code to select a relation.
createRelationSetFirstArgMethodName(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the set-first-arg method name (useful only in object relations).
createRelationUpdateReferenceCode(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code to update the reference of a relation.
The pdo name is fixed "me()".
createRelationUpdateReferenceCode(Relation, String, boolean) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code to update the reference of a relation.
createRelationWurbletArgString(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the wurblet argument string for select or delete statement of a relation.
createRelopCode(WurbletArgument) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the relational operation code for prepared statements.
The code assumes a StringBuilder and begins with ".append(".
createRelopSql(WurbletArgument) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the relation operation SQL for prepared statements.
Same as DbModelWurblet.createRelopCode(WurbletArgument), but creates SQL code.
createStatementId() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the name of a statement id.
Because statement ids are final, the name is in uppercase.
createTableDeclaration() - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Creates the declaration of the table.
createWhereSetPars(Attribute, String) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code to set a single-column parameter in a PreparedStatementWrapper.
createWhereSetPars(WurbletArgument) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates the java code to set a parameter in a PreparedStatementWrapper.
Works for single- and multi-column data types.

D

DbDeleteBy - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to delete low-level persistent objects.
DbDeleteBy() - Constructor for class org.tentackle.persist.wurblet.DbDeleteBy
 
DbIsReferencing - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to check whether a low-level persistent object is referenced.
DbIsReferencing() - Constructor for class org.tentackle.persist.wurblet.DbIsReferencing
 
DbModelWurblet - Class in org.tentackle.persist.wurblet
Base class for persistence wurblets.
DbModelWurblet() - Constructor for class org.tentackle.persist.wurblet.DbModelWurblet
 
DbSelectList - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to select a list of low-level persistent objects.
DbSelectList() - Constructor for class org.tentackle.persist.wurblet.DbSelectList
 
DbSelectUnique - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to select a low-level persistent object.
DbSelectUnique() - Constructor for class org.tentackle.persist.wurblet.DbSelectUnique
 
DbUpdateBy - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to update low-level persistent objects.
DbUpdateBy() - Constructor for class org.tentackle.persist.wurblet.DbUpdateBy
 
Declaration(String, String) - Constructor for record class org.tentackle.persist.wurblet.DslDeclarationFactory.Declaration
Creates an instance of a Declaration record class.
Declare - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to declare the attributes of an entity.
Declare() - Constructor for class org.tentackle.persist.wurblet.Declare
 
determineAttributes(List) - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Determines the attributes to generate the fields for.
discard() - Method in class org.tentackle.persist.wurblet.RemoteIncludes
Marks the heap files as discarded.
Such files should not be used to generate code because their contents are incomplete because of former errors.
DslDeclarationFactory - Class in org.tentackle.persist.wurblet
Generates the table- and field declarations for the query DSL.
DslDeclarationFactory(Entity) - Constructor for class org.tentackle.persist.wurblet.DslDeclarationFactory
Creates the factory.
DslDeclarationFactory.Declaration - Record Class in org.tentackle.persist.wurblet
A generated declaration.

E

EagerJoin - Class in org.tentackle.persist.wurblet
A node of the eager join tree of an entity.
EagerJoin(Relation, String) - Constructor for class org.tentackle.persist.wurblet.EagerJoin
Creates an eager join.
equals(Object) - Method in record class org.tentackle.persist.wurblet.DslDeclarationFactory.Declaration
Indicates whether some other object is "equal to" this one.

G

generate() - Method in class org.tentackle.persist.wurblet.JoinClauseGenerator
 
generate(Object) - Method in class org.tentackle.persist.wurblet.JoinClauseGenerator
 
generate(Object) - Method in class org.tentackle.persist.wurblet.WhereClauseGenerator
 
getAlias() - Method in class org.tentackle.persist.wurblet.EagerJoin
Gets the alias of the joined table.
getContextAttribute() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the context attribute.
getDeclarationParameterString() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
getDefaultConstantPrefix() - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Gets the default prefix for the field constants.
getDefaultSorting() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Goes up the inheritance tree until a default sorting is found.
getDefaultSortKeys() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the default sorting keys.
getEagerJoinPaths() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the eager joins as load join terms of the PdoSelect wurblets.
getEagerJoinTree() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
The TT persistence layer provides an optimized select for eager relations via LeftJoins.
getExpression() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the select/where expression.
getExpressionArguments() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the expression arguments.
getExtraArguments() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the extra arguments.
Those are not part of the expression and not sorting arguments.
getFirstMethodAttribute(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the method attribute for a relation.
getFirstName() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
getGenericReturnType() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
Gets the generic return type.
getImplementationStream() - Method in class org.tentackle.persist.wurblet.RemoteIncludes
Gets the print stream of the remote implementation.
getInterfaceStream() - Method in class org.tentackle.persist.wurblet.RemoteIncludes
Gets the print stream of the remote interface.
getInvocationParameterString() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
getJdbcCode(Attribute, String) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates java code applicable to the JDBC layer from model variable access code.
Applies .toExternal() if the attribute is an application-specific type.
getJoinPaths() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the consolidated relation paths for the join arguments.
getJoins() - Method in class org.tentackle.persist.wurblet.EagerJoin
Gets the cascaded joins.
getMethodArguments() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the method arguments.
getMethodName() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
getModelCode(Attribute, String) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Creates java code applicable to the application model from JDBC variable access code.
Applies .toInternal() if the attribute is an application-specific type.
getModelFileName() - Method in class org.tentackle.persist.wurblet.QueryDSL
Gets the entity name from the first wurblet argument.
getParamCount() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
getRelation() - Method in class org.tentackle.persist.wurblet.EagerJoin
Gets the eagerly selected relation.
getRemoteInvocationParameterString() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
getReturnType() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
getSortingArguments() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Gets the sorting arguments.
getTableConstant() - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Gets the name of the table constant.
getUpdateDbInParametersStatements() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 

H

hashCode() - Method in record class org.tentackle.persist.wurblet.DslDeclarationFactory.Declaration
Returns a hash code value for this object.

I

isAbstractJoinPath(List) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether joins with delegates of abstract classes are used.
The casts of such joins are "unchecked" and need a SuppressWarnings to avoid Xlint warnings.
isArgumentGroupingEnabled() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether argument grouping is enabled.
By default, the grouping separator '|' just improves readability.
Some wurblet, however, need extra arguments separated from the main expression.
isAttracked() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether the entity is attracked or fulltracked.
isConstant(String) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether the given java code refers to a constant.
Since the wurblet cannot determine the java type of the code, the decision is made according to the Java code conventions: [<class>.]<VALUE_IN_UPPERCASE> is a constant and assumed to be not null.
isEntityPersistable() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether SQL statements can be executed for that entity.
isFirstInstanceOfDb() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
isFirstInstanceOfDomainContext() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
isFullTracked() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether the entity is fulltracked.
isPathAllowed() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether expression arguments may contain paths to other entities.
isPdo() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
isPdoProvidingArguments() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Determines whether one of the wurblet arguments refers to a value returned by a PDO's method.
isRelationTransient(Relation) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether the relation is transient.
isReturningCollection() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
isReturningCursor() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
isReturningObject() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
isReturningVoid() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
isStaticMethod() - Method in class org.tentackle.persist.wurblet.RemoteMethodHelper
 
isTracked() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether the entity is tracked.
isWithDefaultSorting() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether default sorting is configured for the entity.
isWithFilteredJoins(boolean) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether there are load joins with filters.
isWithJoins() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether there are load joins.
isWithOptionalArguments() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether at least one condition is optional.
Because the SQL text of such finders depends on the boolean method arguments, the prepared statement cannot be cached, i.e. the option --oneshot is implied.
isWithSorting() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Returns whether sorting is configured for this wurblet.

J

JoinClauseGenerator - Class in org.tentackle.persist.wurblet
Generates the SQL code for load joins with filters.
JoinClauseGenerator(DbModelWurblet, Join) - Constructor for class org.tentackle.persist.wurblet.JoinClauseGenerator
Creates the generator.

M

MethodCache - Class in org.tentackle.persist.wurblet
(@wurblet) Generates the code to setup the method-cache for an embedded entity.
MethodCache() - Constructor for class org.tentackle.persist.wurblet.MethodCache
 
MethodsImpl - Class in org.tentackle.persist.wurblet
(@wurblet) Generate getters, setters and other methods for an entity.
MethodsImpl() - Constructor for class org.tentackle.persist.wurblet.MethodsImpl
 

O

org.tentackle.persist.wurblet - package org.tentackle.persist.wurblet
Persistence wurblet support.

P

pcs(String, String) - Method in class org.tentackle.persist.wurblet.DbModelWurblet
Prepends a string to a comma-separated list.
PdoCache - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code for setting up a PdoCache for an entity.
PdoCache() - Constructor for class org.tentackle.persist.wurblet.PdoCache
 
PdoDeleteBy - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to delete entities.
PdoDeleteBy() - Constructor for class org.tentackle.persist.wurblet.PdoDeleteBy
 
PdoIsReferencing - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to check whether an entity is referenced.
PdoIsReferencing() - Constructor for class org.tentackle.persist.wurblet.PdoIsReferencing
 
PdoRelations - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code for related entities.
PdoRelations() - Constructor for class org.tentackle.persist.wurblet.PdoRelations
 
PdoSelectList - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to select a list of entities.
PdoSelectList() - Constructor for class org.tentackle.persist.wurblet.PdoSelectList
 
PdoSelectUnique - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to select an entity.
PdoSelectUnique() - Constructor for class org.tentackle.persist.wurblet.PdoSelectUnique
 
PdoUpdateBy - Class in org.tentackle.persist.wurblet
(@wurblet) Generate code to update entities.
PdoUpdateBy() - Constructor for class org.tentackle.persist.wurblet.PdoUpdateBy
 
process(String) - Method in class org.tentackle.persist.wurblet.DbDeleteBy
 
process(String) - Method in class org.tentackle.persist.wurblet.DbIsReferencing
 
process(String) - Method in class org.tentackle.persist.wurblet.DbSelectList
 
process(String) - Method in class org.tentackle.persist.wurblet.DbSelectUnique
 
process(String) - Method in class org.tentackle.persist.wurblet.DbUpdateBy
 
process(String) - Method in class org.tentackle.persist.wurblet.PdoDeleteBy
 
process(String) - Method in class org.tentackle.persist.wurblet.PdoIsReferencing
 
process(String) - Method in class org.tentackle.persist.wurblet.PdoSelectList
 
process(String) - Method in class org.tentackle.persist.wurblet.PdoSelectUnique
 
process(String) - Method in class org.tentackle.persist.wurblet.PdoUpdateBy
 

Q

QueryDSL - Class in org.tentackle.persist.wurblet
(@wurblet) Generate the table- and field declarations for the query DSL.
QueryDSL() - Constructor for class org.tentackle.persist.wurblet.QueryDSL
 

R

RemoteIncludes - Class in org.tentackle.persist.wurblet
Handles generated remote interface and implementation code.
RemoteIncludes(ModelWurblet) - Constructor for class org.tentackle.persist.wurblet.RemoteIncludes
Create remote includes.
RemoteMethod - Class in org.tentackle.persist.wurblet
(@wurblet) Generates the remote delegate invocation code.
RemoteMethod() - Constructor for class org.tentackle.persist.wurblet.RemoteMethod
 
RemoteMethodHelper - Class in org.tentackle.persist.wurblet
Extracts the wurblet tags for a method from a classfile.
RemoteMethodHelper(RemoteMethodInfo, String, boolean) - Constructor for class org.tentackle.persist.wurblet.RemoteMethodHelper
Loads a class and inspects the method via reflection
run() - Method in class org.tentackle.persist.wurblet.AssertRemote
 
run() - Method in class org.tentackle.persist.wurblet.ClassVariables
 
run() - Method in class org.tentackle.persist.wurblet.DbDeleteBy
 
run() - Method in class org.tentackle.persist.wurblet.DbIsReferencing
 
run() - Method in class org.tentackle.persist.wurblet.DbModelWurblet
 
run() - Method in class org.tentackle.persist.wurblet.DbSelectList
 
run() - Method in class org.tentackle.persist.wurblet.DbSelectUnique
 
run() - Method in class org.tentackle.persist.wurblet.DbUpdateBy
 
run() - Method in class org.tentackle.persist.wurblet.Declare
 
run() - Method in class org.tentackle.persist.wurblet.MethodCache
 
run() - Method in class org.tentackle.persist.wurblet.MethodsImpl
 
run() - Method in class org.tentackle.persist.wurblet.PdoCache
 
run() - Method in class org.tentackle.persist.wurblet.PdoDeleteBy
 
run() - Method in class org.tentackle.persist.wurblet.PdoIsReferencing
 
run() - Method in class org.tentackle.persist.wurblet.PdoRelations
 
run() - Method in class org.tentackle.persist.wurblet.PdoSelectList
 
run() - Method in class org.tentackle.persist.wurblet.PdoSelectUnique
 
run() - Method in class org.tentackle.persist.wurblet.PdoUpdateBy
 
run() - Method in class org.tentackle.persist.wurblet.QueryDSL
 
run() - Method in class org.tentackle.persist.wurblet.RemoteMethod
 

S

setConstantPrefix(String) - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Sets the prefix of the field constants.
Useful if the declarations of more than one entity are generated into the same class, as a join query needs them.
setTableAlias(String) - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Sets the table alias the columns are qualified with.
setTableConstant(String) - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Sets the name of the table constant.
setVisibility(String) - Method in class org.tentackle.persist.wurblet.DslDeclarationFactory
Sets the visibility of the generated constants.

T

toString() - Method in record class org.tentackle.persist.wurblet.DslDeclarationFactory.Declaration
Returns a string representation of this record class.
toString() - Method in class org.tentackle.persist.wurblet.EagerJoin
 

W

WhereClauseGenerator - Class in org.tentackle.persist.wurblet
Generates the Java code to create the SQL expressions for the WHERE clause.
WhereClauseGenerator(DbModelWurblet) - Constructor for class org.tentackle.persist.wurblet.WhereClauseGenerator
Creates the generator.
A B C D E G H I J M O P Q R S T W 
All Classes and Interfaces|All Packages