Package org.iplass.mtp.entity.definition
Enum PropertyDefinitionType
- java.lang.Object
-
- java.lang.Enum<PropertyDefinitionType>
-
- org.iplass.mtp.entity.definition.PropertyDefinitionType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PropertyDefinitionType>,java.lang.constant.Constable
public enum PropertyDefinitionType extends java.lang.Enum<PropertyDefinitionType>
Propertyの型により処理する際のswitch/case文で利用可能なemum。
-
-
Method Summary
Modifier and Type Method Description java.lang.Class<?>getJavaType()static PropertyDefinitionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PropertyDefinitionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTONUMBER
public static final PropertyDefinitionType AUTONUMBER
-
BINARY
public static final PropertyDefinitionType BINARY
-
BOOLEAN
public static final PropertyDefinitionType BOOLEAN
-
DATE
public static final PropertyDefinitionType DATE
-
DATETIME
public static final PropertyDefinitionType DATETIME
-
DECIMAL
public static final PropertyDefinitionType DECIMAL
-
EXPRESSION
public static final PropertyDefinitionType EXPRESSION
-
FLOAT
public static final PropertyDefinitionType FLOAT
-
INTEGER
public static final PropertyDefinitionType INTEGER
-
LONGTEXT
public static final PropertyDefinitionType LONGTEXT
-
REFERENCE
public static final PropertyDefinitionType REFERENCE
-
SELECT
public static final PropertyDefinitionType SELECT
-
STRING
public static final PropertyDefinitionType STRING
-
TIME
public static final PropertyDefinitionType TIME
-
-
Method Detail
-
values
public static PropertyDefinitionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyDefinitionType 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
-
getJavaType
public java.lang.Class<?> getJavaType()
-
-