org.apache.cayenne.access.trans
Class DataObjectMatchTranslator

java.lang.Object
  extended by org.apache.cayenne.access.trans.DataObjectMatchTranslator

public class DataObjectMatchTranslator
extends Object

Author:
Andrus Adamchik

Field Summary
protected  Map attributes
           
protected  Expression expression
           
protected  String operation
           
protected  DbRelationship relationship
           
protected  Map values
           
 
Constructor Summary
DataObjectMatchTranslator()
           
 
Method Summary
 DbAttribute getAttribute(String key)
           
 Expression getExpression()
           
 String getOperation()
           
 DbRelationship getRelationship()
           
 Object getValue(String key)
           
 Iterator keys()
           
 void reset()
           
 void setDataObject(Persistent obj)
           
 void setExpression(Expression expression)
           
 void setObjectId(ObjectId id)
           
 void setOperation(String operation)
           
 void setRelationship(DbRelationship rel)
          Initializes itself to do translation of the match ending with a DbRelationship.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

protected Map attributes

values

protected Map values

operation

protected String operation

expression

protected Expression expression

relationship

protected DbRelationship relationship
Constructor Detail

DataObjectMatchTranslator

public DataObjectMatchTranslator()
Method Detail

getExpression

public Expression getExpression()

setExpression

public void setExpression(Expression expression)

reset

public void reset()

setRelationship

public void setRelationship(DbRelationship rel)
Initializes itself to do translation of the match ending with a DbRelationship.


setDataObject

public void setDataObject(Persistent obj)

setObjectId

public void setObjectId(ObjectId id)
Since:
1.2

keys

public Iterator keys()

getRelationship

public DbRelationship getRelationship()

getAttribute

public DbAttribute getAttribute(String key)

getValue

public Object getValue(String key)

setOperation

public void setOperation(String operation)

getOperation

public String getOperation()


Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.