public enum MergeDirection extends Enum<MergeDirection>
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isToDb() |
boolean |
isToModel() |
MergeDirection |
reverseDirection() |
String |
toString() |
static MergeDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeDirection TO_DB
public static final MergeDirection TO_MODEL
public static MergeDirection[] values()
for (MergeDirection c : MergeDirection.values()) System.out.println(c);
public static MergeDirection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public boolean isToDb()
public boolean isToModel()
public String toString()
toString
in class Enum<MergeDirection>
public MergeDirection reverseDirection()
Copyright © 2001–2014 Apache Cayenne. All rights reserved.