public enum FieldMappingType extends Enum<FieldMappingType>
Enum Constant and Description |
---|
BOOLEAN |
DATE |
DOUBLE |
INT |
LONG |
STRING |
Modifier and Type | Field and Description |
---|---|
protected int |
sqlType |
protected Class<?> |
valueClass |
Modifier and Type | Method and Description |
---|---|
int |
getSqlType() |
Class<?> |
getValueClass() |
static FieldMappingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldMappingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldMappingType STRING
public static final FieldMappingType INT
public static final FieldMappingType LONG
public static final FieldMappingType DOUBLE
public static final FieldMappingType BOOLEAN
public static final FieldMappingType DATE
protected final int sqlType
protected final Class<?> valueClass
public static FieldMappingType[] values()
for (FieldMappingType c : FieldMappingType.values()) System.out.println(c);
public static FieldMappingType 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 int getSqlType()
public Class<?> getValueClass()
Copyright © 2019. All rights reserved.