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

## org.apache.cayenne.merge
Class MergeDirection

    java.lang.Object
      org.apache.cayenne.merge.MergeDirection

    public class MergeDirection

extends Object

Represent a merge direction that can be one of two. Either from the model to the db or from the db to the model.

Field Summary
`static MergeDirection` | `TO_DB`
`static MergeDirection` | `TO_MODEL`

Method Summary
`boolean` | `equals(Object obj)`
`String` | `getName()`
`int` | `hashCode()`
`boolean` | `isToDb()`
`boolean` | `isToModel()`
`MergeDirection` | `reverseDirection()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### TO_DB

    public static final MergeDirection TO_DB

### TO_MODEL

    public static final MergeDirection TO_MODEL

Method Detail

### getName

    public String getName()

### isToDb

    public boolean isToDb()

### isToModel

    public boolean isToModel()

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

### reverseDirection

    public MergeDirection reverseDirection()

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

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