Package com.chemaxon.dif.ws.api.dto
Enum WSFieldDefinition.FIELD_TYPE
- java.lang.Object
-
- java.lang.Enum<WSFieldDefinition.FIELD_TYPE>
-
- com.chemaxon.dif.ws.api.dto.WSFieldDefinition.FIELD_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<WSFieldDefinition.FIELD_TYPE>
- Enclosing class:
- WSFieldDefinition
public static enum WSFieldDefinition.FIELD_TYPE extends Enum<WSFieldDefinition.FIELD_TYPE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WSFieldDefinition.FIELD_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static WSFieldDefinition.FIELD_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final WSFieldDefinition.FIELD_TYPE INTEGER
-
TEXT
public static final WSFieldDefinition.FIELD_TYPE TEXT
-
FLOAT
public static final WSFieldDefinition.FIELD_TYPE FLOAT
-
BOOLEAN
public static final WSFieldDefinition.FIELD_TYPE BOOLEAN
-
DATE
public static final WSFieldDefinition.FIELD_TYPE DATE
-
DATETIME
public static final WSFieldDefinition.FIELD_TYPE DATETIME
-
BINARY
public static final WSFieldDefinition.FIELD_TYPE BINARY
-
-
Method Detail
-
values
public static WSFieldDefinition.FIELD_TYPE[] 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 (WSFieldDefinition.FIELD_TYPE c : WSFieldDefinition.FIELD_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WSFieldDefinition.FIELD_TYPE 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
-
-