Package net.sf.okapi.lib.terminology
Enum TBXProperyType
- java.lang.Object
-
- java.lang.Enum<TBXProperyType>
-
- net.sf.okapi.lib.terminology.TBXProperyType
-
- All Implemented Interfaces:
Serializable,Comparable<TBXProperyType>
public enum TBXProperyType extends Enum<TBXProperyType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TBXProperyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TBXProperyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final TBXProperyType STRING
-
INTEGER
public static final TBXProperyType INTEGER
-
PICKLIST
public static final TBXProperyType PICKLIST
-
-
Method Detail
-
values
public static TBXProperyType[] 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 (TBXProperyType c : TBXProperyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TBXProperyType 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
-
-