de.init.its.ds
Enum ItsAttributes
java.lang.Object
java.lang.Enum<ItsAttributes>
de.init.its.ds.ItsAttributes
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ItsAttributes>
public enum ItsAttributes
- extends java.lang.Enum<ItsAttributes>
The basic set for all four implemented DataCategories of ITS 2.0
- Author:
- mkandora
Nested Class Summary |
static class |
ItsAttributes.DataCategories
Defines the four basic ITS DataCategory names, that are implemented
by ]init[ AG |
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 |
translate
public static final ItsAttributes translate
locNote
public static final ItsAttributes locNote
locNoteRef
public static final ItsAttributes locNoteRef
locNoteType
public static final ItsAttributes locNoteType
term
public static final ItsAttributes term
termInfoRef
public static final ItsAttributes termInfoRef
termConfidence
public static final ItsAttributes termConfidence
annotatorsRef
public static final ItsAttributes annotatorsRef
localeFilterList
public static final ItsAttributes localeFilterList
localeFilterType
public static final ItsAttributes localeFilterType
values
public static ItsAttributes[] 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 (ItsAttributes c : ItsAttributes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ItsAttributes 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
getDataCategory
public ItsAttributes.DataCategories getDataCategory()
getAttributeName
public java.lang.String getAttributeName()
getDefaultValue
public java.lang.String getDefaultValue()
validate
public boolean validate(java.lang.String input)
main
public static void main(java.lang.String[] args)