public class DataObjectMatchTranslator extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,DbAttribute> |
attributes |
protected Expression |
expression |
protected String |
joinSplitAlias |
protected String |
operation |
protected DbRelationship |
relationship |
protected Map<String,Object> |
values |
Constructor and Description |
---|
DataObjectMatchTranslator() |
Modifier and Type | Method and 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.
|
protected Map<String,DbAttribute> attributes
protected String operation
protected Expression expression
protected DbRelationship relationship
protected String joinSplitAlias
public Expression getExpression()
public void setExpression(Expression expression)
public void reset()
public void setRelationship(DbRelationship rel, String joinSplitAlias)
public void setDataObject(Persistent obj)
public void setObjectId(ObjectId id)
public String getJoinSplitAlias()
public DbRelationship getRelationship()
public DbAttribute getAttribute(String key)
public void setOperation(String operation)
public String getOperation()
Copyright © 2001–2023 Apache Cayenne. All rights reserved.