Class DataObjectMatchTranslator
java.lang.Object
org.apache.cayenne.access.translator.select.DataObjectMatchTranslator
public class DataObjectMatchTranslator extends Object
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,DbAttribute>
attributes
protected Expression
expression
protected String
joinSplitAlias
protected String
operation
protected DbRelationship
relationship
protected Map<String,Object>
values
-
Constructor Summary
Constructors Constructor Description DataObjectMatchTranslator()
-
Method Summary
Modifier and Type Method Description DbAttribute
getAttribute(String key)
Expression
getExpression()
String
getJoinSplitAlias()
String
getOperation()
DbRelationship
getRelationship()
Object
getValue(String key)
Iterator<String>
keys()
void
reset()
void
setDataObject(Persistent obj)
void
setExpression(Expression expression)
void
setObjectId(ObjectId id)
void
setOperation(String operation)
void
setRelationship(DbRelationship rel, String joinSplitAlias)
Initializes itself to do translation of the match ending with a DbRelationship.
-
Field Details
-
attributes
-
values
-
operation
-
expression
-
relationship
-
joinSplitAlias
-
-
Constructor Details
-
DataObjectMatchTranslator
public DataObjectMatchTranslator()
-
-
Method Details
-
getExpression
-
setExpression
-
reset
public void reset() -
setRelationship
Initializes itself to do translation of the match ending with a DbRelationship.- Since:
- 3.0
-
setDataObject
-
setObjectId
- Since:
- 1.2
-
keys
-
getJoinSplitAlias
- Since:
- 3.0
-
getRelationship
-
getAttribute
-
getValue
-
setOperation
-
getOperation
-