|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ChangeType>
org.LexGrid.versions.types.ChangeType
public enum ChangeType
The type of state change between the current versionable entry and the previous.
Enum Constant Summary | |
---|---|
DEPENDENT
Constant DEPENDENT |
|
MODIFY
Constant MODIFY |
|
NEW
Constant NEW |
|
REMOVE
Constant REMOVE |
|
VERSIONABLE
Constant VERSIONABLE |
Method Summary | |
---|---|
static ChangeType |
fromValue(java.lang.String value)
Method fromValue. |
void |
setValue(java.lang.String value)
|
java.lang.String |
toString()
Method toString. |
java.lang.String |
value()
Method value. |
static ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ChangeType NEW
public static final ChangeType MODIFY
public static final ChangeType VERSIONABLE
public static final ChangeType DEPENDENT
public static final ChangeType REMOVE
Method Detail |
---|
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static ChangeType fromValue(java.lang.String value)
value
-
public void setValue(java.lang.String value)
value
- public java.lang.String toString()
toString
in class java.lang.Enum<ChangeType>
public java.lang.String value()
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |