Class DataObjectMatchTranslator
java.lang.Object
org.apache.cayenne.access.translator.select.DataObjectMatchTranslator
public class DataObjectMatchTranslator extends Object
- 
Field SummaryFields Modifier and Type Field Description protected Map<String,DbAttribute>attributesprotected Expressionexpressionprotected StringjoinSplitAliasprotected Stringoperationprotected DbRelationshiprelationshipprotected Map<String,Object>values
- 
Constructor SummaryConstructors Constructor Description DataObjectMatchTranslator()
- 
Method SummaryModifier 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- 
DataObjectMatchTranslatorpublic DataObjectMatchTranslator()
 
- 
- 
Method Details- 
getExpression
- 
setExpression
- 
resetpublic void reset()
- 
setRelationshipInitializes 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
 
-