macaw.system
Enum ChangeEventType
java.lang.Object
java.lang.Enum<ChangeEventType>
macaw.system.ChangeEventType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ChangeEventType>
public enum ChangeEventType
- extends java.lang.Enum<ChangeEventType>
(c) 2009 Medical Research Council of the United Kingdom.
Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Method Summary |
static ChangeEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChangeEventType[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
LIST_CHOICE
public static final ChangeEventType LIST_CHOICE
ONTOLOGY_TERM
public static final ChangeEventType ONTOLOGY_TERM
SUPPORTING_DOCUMENT
public static final ChangeEventType SUPPORTING_DOCUMENT
VALUE_LABEL
public static final ChangeEventType VALUE_LABEL
VARIABLE
public static final ChangeEventType VARIABLE
ALIAS_FILE_PATH
public static final ChangeEventType ALIAS_FILE_PATH
USER
public static final ChangeEventType USER
values
public static ChangeEventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ChangeEventType c : ChangeEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ChangeEventType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null