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>attributesprotected Expressionexpressionprotected StringjoinSplitAliasprotected Stringoperationprotected DbRelationshiprelationshipprotected Map<String,Object>values -
Constructor Summary
Constructors Constructor Description DataObjectMatchTranslator() -
Method Summary
Modifier and Type Method Description DbAttributegetAttribute(String key)ExpressiongetExpression()StringgetJoinSplitAlias()StringgetOperation()DbRelationshipgetRelationship()ObjectgetValue(String key)Iterator<String>keys()voidreset()voidsetDataObject(Persistent obj)voidsetExpression(Expression expression)voidsetObjectId(ObjectId id)voidsetOperation(String operation)voidsetRelationship(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
-