public enum PropertyType extends Enum<PropertyType>
Enum Constant and Description |
---|
BOOLEAN
Boolean type. |
BYTE
Byte sized integer type. |
DATE
date (yyyy/mm/dd) type. |
DATETIME
|
DECIMAL
decimal number type. |
DOUBLE
double precise floating point number type. |
FLOAT
single precise floating point number type. |
INT
Integer sized integer type. |
INTEGER
variable sized integer type. |
LONG
Long sized integer type. |
OBJECT
other data model object type. |
SEQUENCE
Sequence type. |
SHORT
Short sized integer type. |
STRING
String type. |
TIME
time (hh:mm:ss) type. |
Modifier and Type | Method and Description |
---|---|
Optional<? extends Class<? extends ValueOption<?>>> |
getImplementation()
Returns the implementation type of this type.
|
Class<?> |
getRepresentation()
Returns the representation of this type in Java.
|
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType BOOLEAN
Boolean
type.public static final PropertyType BYTE
Byte
sized integer type.public static final PropertyType SHORT
Short
sized integer type.public static final PropertyType INT
Integer
sized integer type.public static final PropertyType LONG
Long
sized integer type.public static final PropertyType INTEGER
variable sized integer
type.public static final PropertyType FLOAT
single precise
floating point number type.public static final PropertyType DOUBLE
double precise
floating point number type.public static final PropertyType DECIMAL
decimal number
type.public static final PropertyType STRING
String
type.public static final PropertyType DATE
date (yyyy/mm/dd)
type.public static final PropertyType TIME
time (hh:mm:ss)
type.public static final PropertyType DATETIME
public static final PropertyType SEQUENCE
Sequence
type.public static final PropertyType OBJECT
other data model object
type.public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<?> getRepresentation()
public Optional<? extends Class<? extends ValueOption<?>>> getImplementation()
empty
if it is not implementedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.