Package com.im.df.api.ddl
Enum DFField.Required
- java.lang.Object
-
- java.lang.Enum<DFField.Required>
-
- com.im.df.api.ddl.DFField.Required
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DFField.Required>
- Enclosing interface:
- DFField
public static enum DFField.Required extends java.lang.Enum<DFField.Required>
Enumeration of required status for fields. AUTO means the value is automatically generated (e.g. a primary key or chemical terms) and does not need to be provided by the user.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.im.ijcs.api.ddl.dto.AbstractFieldInfo.Required
getFieldInfoConstant()
Return corresponding constant from IJC Server API.static DFField.Required
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DFField.Required[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FALSE
public static final DFField.Required FALSE
-
TRUE
public static final DFField.Required TRUE
-
AUTO
public static final DFField.Required AUTO
-
-
Method Detail
-
values
public static DFField.Required[] 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 (DFField.Required c : DFField.Required.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DFField.Required 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 namejava.lang.NullPointerException
- if the argument is null
-
getFieldInfoConstant
public com.im.ijcs.api.ddl.dto.AbstractFieldInfo.Required getFieldInfoConstant()
Return corresponding constant from IJC Server API.
-
-