public enum DbRowOpType extends Enum<DbRowOpType> implements Comparable<DbRowOpType>
Modifier and Type | Method and Description |
---|---|
static DbRowOpType |
forObject(Persistent object) |
static DbRowOpType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbRowOpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
compareTo
public static final DbRowOpType INSERT
public static final DbRowOpType UPDATE
public static final DbRowOpType DELETE
public static DbRowOpType[] values()
for (DbRowOpType c : DbRowOpType.values()) System.out.println(c);
public static DbRowOpType 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 static DbRowOpType forObject(Persistent object)
Copyright © 2001–2021 Apache Cayenne. All rights reserved.