Package net.sf.okapi.common.annotation
Enum Note.Annotates
- java.lang.Object
-
- java.lang.Enum<Note.Annotates>
-
- net.sf.okapi.common.annotation.Note.Annotates
-
- All Implemented Interfaces:
Serializable,Comparable<Note.Annotates>
- Enclosing class:
- Note
public static enum Note.Annotates extends Enum<Note.Annotates>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Note.AnnotatesfromString(String value)StringtoString()Stringvalue()static Note.AnnotatesvalueOf(String name)Returns the enum constant of this type with the specified name.static Note.Annotates[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOURCE
public static final Note.Annotates SOURCE
-
TARGET
public static final Note.Annotates TARGET
-
GENERAL
public static final Note.Annotates GENERAL
-
-
Method Detail
-
values
public static Note.Annotates[] 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 (Note.Annotates c : Note.Annotates.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Note.Annotates valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromString
public static Note.Annotates fromString(String value)
-
toString
public String toString()
- Overrides:
toStringin classEnum<Note.Annotates>
-
-