public enum MappedType extends Enum<MappedType>
Enum Constant and Description |
---|
M_ARRAY |
M_BIGDECIMAL |
M_BIGINTEGER |
M_BLOB |
M_BOOLEAN |
M_BYTE |
M_BYTES |
M_CHAR |
M_CLOB |
M_DOUBLE |
M_FLOAT |
M_INTEGER |
M_JODA_LOCALDATE |
M_JODA_LOCALDATETIME |
M_LONG |
M_OBJECT |
M_REF |
M_SQLDATE |
M_STRING |
M_TIME |
M_TIMESTAMP |
M_URL |
M_UTILDATE |
Modifier and Type | Method and Description |
---|---|
static MappedType |
fromFullJavaType(String fullJavaType) |
String |
getFullJavaType() |
String |
getHibernateType() |
String |
getJavaDefinition(String value) |
String |
getJavaType() |
String |
getJavaValue(String value) |
String |
getPackageName() |
String |
getToStringMethod() |
boolean |
isBigDecimal() |
boolean |
isBigInteger() |
boolean |
isBlob() |
boolean |
isBoolean() |
boolean |
isByte() |
boolean |
isChar() |
boolean |
isClob() |
boolean |
isComparable() |
boolean |
isDate() |
boolean |
isDouble() |
boolean |
isEligibleForVersion()
is Eligible for Version column Version numbers may be of Hibernate type long, integer, short, timestamp or calendar.
|
boolean |
isEnumEligible() |
boolean |
isFloat() |
boolean |
isInteger() |
boolean |
isJavaBaseClass() |
boolean |
isJavaUtilDate() |
boolean |
isJodaLocalDate() |
boolean |
isJodaLocalDateTime() |
boolean |
isLob() |
boolean |
isLong() |
boolean |
isNumeric() |
boolean |
isObject() |
boolean |
isString() |
boolean |
isSupportedType() |
static MappedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappedType M_ARRAY
public static final MappedType M_BIGDECIMAL
public static final MappedType M_BIGINTEGER
public static final MappedType M_BOOLEAN
public static final MappedType M_BYTES
public static final MappedType M_CLOB
public static final MappedType M_DOUBLE
public static final MappedType M_FLOAT
public static final MappedType M_BLOB
public static final MappedType M_INTEGER
public static final MappedType M_LONG
public static final MappedType M_REF
public static final MappedType M_STRING
public static final MappedType M_CHAR
public static final MappedType M_BYTE
public static final MappedType M_JODA_LOCALDATE
public static final MappedType M_JODA_LOCALDATETIME
public static final MappedType M_SQLDATE
public static final MappedType M_UTILDATE
public static final MappedType M_TIME
public static final MappedType M_TIMESTAMP
public static final MappedType M_URL
public static final MappedType M_OBJECT
public static MappedType[] values()
for (MappedType c : MappedType.values()) System.out.println(c);
public static MappedType 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 static MappedType fromFullJavaType(String fullJavaType)
public String getJavaType()
public String getFullJavaType()
public boolean isSupportedType()
public boolean isNumeric()
public boolean isLong()
public boolean isInteger()
public boolean isBigInteger()
public final boolean isFloat()
public final boolean isDouble()
public boolean isBigDecimal()
public boolean isEligibleForVersion()
mappedType
- public boolean isString()
public boolean isChar()
public boolean isObject()
public boolean isBoolean()
public boolean isDate()
public boolean isJavaUtilDate()
public boolean isJodaLocalDate()
public boolean isJodaLocalDateTime()
public boolean isByte()
public boolean isLob()
public boolean isBlob()
public boolean isClob()
public boolean isComparable()
public String getToStringMethod()
public boolean isEnumEligible()
public String getPackageName()
public String getHibernateType()
public boolean isJavaBaseClass()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.