Package tilda.enums
Enum DefaultType
- java.lang.Object
-
- java.lang.Enum<DefaultType>
-
- tilda.enums.DefaultType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DefaultType>
public enum DefaultType extends java.lang.Enum<DefaultType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefaultType
parse(java.lang.String Str)
static DefaultType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DefaultType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DefaultType NONE
Not a default value
-
MASK
public static final DefaultType MASK
A masking value
-
CREATE
public static final DefaultType CREATE
A default value only at create time
-
UPDATE
public static final DefaultType UPDATE
A default value only at update time
-
ALWAYS
public static final DefaultType ALWAYS
A default value both at create and update time
-
-
Method Detail
-
values
public static DefaultType[] 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 (DefaultType c : DefaultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultType 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
-
parse
public static DefaultType parse(java.lang.String Str)
-
-