Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.objectstyle.cayenne.access.trans
Class DataObjectMatchTranslator

    java.lang.Object
      org.objectstyle.cayenne.access.trans.DataObjectMatchTranslator

    public class DataObjectMatchTranslator

extends java.lang.Object

Author:
  Andrei Adamchik

Field Summary
`protected java.util.Map` | `attributes`
`protected Expression` | `expression`
`protected java.lang.String` | `operation`
`protected DbRelationship` | `relationship`
`protected java.util.Map` | `values`

Constructor Summary
`DataObjectMatchTranslator()`

Method Summary
`DbAttribute` | `getAttribute(java.lang.String key)`
`Expression` | `getExpression()`
`java.lang.String` | `getOperation()`
`DbRelationship` | `getRelationship()`
`java.lang.Object` | `getValue(java.lang.String key)`
`java.util.Iterator` | `keys()`
`void` | `reset()`
`void` | `setDataObject(DataObject obj)`
`void` | `setExpression(Expression expression)`
`void` | `setObjectId(ObjectId id)`
`void` | `setOperation(java.lang.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 java.util.Map attributes

### values

    protected java.util.Map values

### operation

    protected java.lang.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(DataObject obj)

### setObjectId

    public void setObjectId(ObjectId id)

  Since:
    1.2

### keys

    public java.util.Iterator keys()

### getRelationship

    public DbRelationship getRelationship()

### getAttribute

    public DbAttribute getAttribute(java.lang.String key)

### getValue

    public java.lang.Object getValue(java.lang.String key)

### setOperation

    public void setOperation(java.lang.String operation)

### getOperation

    public java.lang.String getOperation()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 ObjectStyle.org All Rights Reserved.