| Package | Description |
|---|---|
| com.avaje.ebeaninternal.server.deploy |
Bean description
|
| com.avaje.ebeaninternal.server.deploy.meta |
Temporary objects used to collect deployment information
|
| com.avaje.ebeaninternal.server.deploy.parse |
Deployment information parsing
|
| com.avaje.ebeaninternal.server.text.json | |
| com.avaje.ebeaninternal.server.type |
Built in and custom Scalar types support.
|
| com.avaje.ebeaninternal.server.type.reflect |
| Modifier and Type | Method and Description |
|---|---|
ScalarType<?> |
BeanProperty.getScalarType()
Return the scalarType.
|
| Modifier and Type | Method and Description |
|---|---|
ScalarType<T> |
DeployBeanPropertySimpleCollection.getCollectionScalarType()
Return the scalarType of the collection elements.
|
ScalarType<?> |
DeployBeanProperty.getScalarType()
Return the scalarType.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeployBeanProperty.setScalarType(ScalarType<?> scalarType) |
| Constructor and Description |
|---|
DeployBeanProperty(DeployBeanDescriptor<?> desc,
Class<?> propertyType,
ScalarType<?> scalarType,
ScalarTypeConverter<?,?> typeConverter) |
DeployBeanPropertySimpleCollection(DeployBeanDescriptor<?> desc,
Class<T> targetType,
ScalarType<T> scalarType,
ManyType manyType) |
| Modifier and Type | Method and Description |
|---|---|
ScalarType<?> |
DeployUtil.setEnumScalarType(javax.persistence.Enumerated enumerated,
DeployBeanProperty prop) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
WriteJsonContext.appendNameValue(String key,
ScalarType<T> scalarType,
T value) |
| Modifier and Type | Class and Description |
|---|---|
class |
ScalarTypeBase<T>
Base ScalarType object.
|
class |
ScalarTypeBaseDate<T>
Base class for Date types.
|
class |
ScalarTypeBaseDateTime<T>
Base type for DateTime types.
|
class |
ScalarTypeBaseVarchar<T>
Base ScalarType for types which converts to and from a VARCHAR database
column.
|
class |
ScalarTypeBigDecimal
ScalarType for BigDecimal.
|
static class |
ScalarTypeBoolean.BitBoolean
The Class BitBoolean converts a JDBC type BIT to a java boolean
|
static class |
ScalarTypeBoolean.BooleanBase |
static class |
ScalarTypeBoolean.IntBoolean
Converted to/from an Integer in the Database.
|
static class |
ScalarTypeBoolean.Native |
static class |
ScalarTypeBoolean.StringBoolean
Converted to/from an Integer in the Database.
|
class |
ScalarTypeByte
ScalarType for Byte.
|
class |
ScalarTypeBytesBase
Base type for binary types.
|
class |
ScalarTypeBytesBinary
ScalarType for Types.BINARY to byte[].
|
class |
ScalarTypeBytesBlob
ScalarType for BLOB.
|
class |
ScalarTypeBytesEncrypted
Encrypted ScalarType that wraps a byte[] types.
|
class |
ScalarTypeBytesLongVarbinary
ScalarType for Longvarbinary.
|
class |
ScalarTypeBytesVarbinary
ScalarType for Types.VARBINARY to byte[].
|
class |
ScalarTypeCalendar
ScalarType for java.util.Calendar.
|
class |
ScalarTypeChar
ScalarType for char.
|
class |
ScalarTypeCharArray
ScalarType for char[].
|
class |
ScalarTypeClass
ScalarType for Class that persists it to VARCHAR column.
|
class |
ScalarTypeClob
ScalarType for String.
|
class |
ScalarTypeCurrency
ScalarType for java.util.Currency which converts to and from a VARCHAR database column.
|
class |
ScalarTypeDate
ScalarType for java.sql.Date.
|
class |
ScalarTypeDouble
ScalarType for Double and double.
|
class |
ScalarTypeEncryptedWrapper<T> |
static class |
ScalarTypeEnumStandard.EnumBase |
static class |
ScalarTypeEnumStandard.OrdinalEnum |
static class |
ScalarTypeEnumStandard.StringEnum |
class |
ScalarTypeEnumWithMapping
Additional control over mapping to DB values.
|
class |
ScalarTypeFloat
ScalarType for Float and float.
|
class |
ScalarTypeInteger
ScalarType for Integer and int.
|
class |
ScalarTypeJodaDateMidnight
ScalarType for Joda DateMidnight.
|
class |
ScalarTypeJodaDateTime
ScalarType for Joda DateTime.
|
class |
ScalarTypeJodaLocalDate
ScalarType for Joda LocalDate.
|
class |
ScalarTypeJodaLocalDateTime
ScalarType for Joda LocalDateTime.
|
class |
ScalarTypeJodaLocalTime
ScalarType for Joda LocalTime.
|
class |
ScalarTypeLocale
ScalarType for java.util.Currency which converts to and from a VARCHAR
database column.
|
class |
ScalarTypeLong
ScalarType for Long and long.
|
class |
ScalarTypeLongToTimestamp |
class |
ScalarTypeLongVarchar
ScalarType for String.
|
class |
ScalarTypeMathBigInteger
ScalarType for java.math.BigInteger.
|
class |
ScalarTypeShort
ScalarType for Short and short.
|
class |
ScalarTypeString
ScalarType for String.
|
class |
ScalarTypeTime
ScalarType for java.sql.Time.
|
class |
ScalarTypeTimestamp
ScalarType for java.sql.Timestamp.
|
class |
ScalarTypeTimeZone
ScalarType for java.util.TimeZone which converts to and from a VARCHAR
database column.
|
class |
ScalarTypeURI
ScalarType for java.net.URI which converts to and from a VARCHAR database column.
|
class |
ScalarTypeURL
ScalarType for java.net.URL which converts to and from a VARCHAR database column.
|
static class |
ScalarTypeUtilDate.DateType |
static class |
ScalarTypeUtilDate.TimestampType |
class |
ScalarTypeUUID
ScalarType for java.util.UUID which converts to and from a VARCHAR database column.
|
class |
ScalarTypeWrapper<B,S>
A ScalarType that uses a ScalarTypeConverter to convert to and from another
underlying ScalarType.
|
| Modifier and Type | Method and Description |
|---|---|
ScalarType<Boolean> |
DefaultTypeFactory.createBoolean()
Create the ScalarType for mapping Booleans.
|
ScalarType<Calendar> |
DefaultTypeFactory.createCalendar()
Create the default ScalarType for java.util.Calendar.
|
ScalarType<Calendar> |
DefaultTypeFactory.createCalendar(int jdbcType)
Create a ScalarType for java.util.Calendar explicitly specifying the type
to map to.
|
ScalarType<?> |
DefaultTypeManager.createEnumScalarType(Class<?> enumType)
Create a ScalarType for an Enum that has additional mapping.
|
ScalarType<?> |
TypeManager.createEnumScalarType(Class<?> enumType)
Create a ScalarType for an Enum using a mapping (rather than JPA Ordinal
or String which has limitations).
|
ScalarType<BigInteger> |
DefaultTypeFactory.createMathBigInteger()
Create a ScalarType for java.math.BigInteger.
|
ScalarType<Date> |
DefaultTypeFactory.createUtilDate()
Create the default ScalarType for java.util.Date.
|
ScalarType<Date> |
DefaultTypeFactory.createUtilDate(int utilDateType)
Create a ScalarType for java.util.Date explicitly specifying the type to
map to.
|
ScalarType<?> |
ScalarTypeWrapper.getScalarType() |
<T> ScalarType<T> |
DefaultTypeManager.getScalarType(Class<T> type)
This can return null if no matching ScalarType is found.
|
<T> ScalarType<T> |
TypeManager.getScalarType(Class<T> type)
Return the ScalarType for a given logical type.
|
<T> ScalarType<T> |
DefaultTypeManager.getScalarType(Class<T> type,
int jdbcType)
Return a ScalarType for a given class.
|
<T> ScalarType<T> |
TypeManager.getScalarType(Class<T> type,
int jdbcType)
For java.util.Date and java.util.Calendar additionally pass the jdbc type
that you would like the ScalarType to map to.
|
ScalarType<?> |
DefaultTypeManager.getScalarType(int jdbcType)
Return the ScalarType for the given jdbc type as per java.sql.Types.
|
ScalarType<?> |
TypeManager.getScalarType(int jdbcType)
Return the ScalarType for a given jdbc type.
|
ScalarType<?> |
DefaultTypeManager.recursiveCreateScalarTypes(Class<?> cls) |
ScalarType<?> |
TypeManager.recursiveCreateScalarTypes(Class<?> cls)
Create ScalarTypes for this Immutable Value Object type.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<String,ScalarType<?>>> |
CtCompoundTypeScalarList.entries() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultTypeManager.add(ScalarType<?> scalarType)
Register a custom ScalarType.
|
void |
TypeManager.add(ScalarType<?> scalarType)
Register a ScalarType with the system.
|
void |
CtCompoundTypeScalarList.addScalarType(String propName,
ScalarType<?> scalar)
Register a scalarType used in the compound type with its given property name.
|
protected void |
DefaultTypeManager.logAdd(ScalarType<?> scalarType) |
| Constructor and Description |
|---|
ScalarTypeEncryptedWrapper(ScalarType<T> wrapped,
ScalarTypeBytesBase byteArrayType,
DataEncryptSupport dataEncryptSupport) |
ScalarTypeWrapper(Class<B> wrapperType,
ScalarType<S> scalarType,
ScalarTypeConverter<B,S> converter) |
| Modifier and Type | Method and Description |
|---|---|
ScalarType<?> |
ReflectionBasedTypeBuilder.buildScalarType(ImmutableMeta meta) |
Copyright © 2014. All Rights Reserved.