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.
- Author:
- halset
TO_DB
public static final MergeDirection TO_DB
TO_MODEL
public static final MergeDirection TO_MODEL
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()
Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.