Package | Description |
---|---|
com.caucho.amber.expr | |
com.caucho.amber.expr.fun | |
com.caucho.amber.field | |
com.caucho.amber.manager | |
com.caucho.amber.query | |
com.caucho.amber.table | |
com.caucho.amber.type |
Modifier and Type | Method and Description |
---|---|
AmberType |
AmberExpr.getType()
Returns the expr type.
|
AmberType |
BetweenExpr.getType()
Returns the expr type.
|
AmberType |
ArgExpr.getType()
Returns the expr type.
|
AmberType |
LoadExpr.getType()
Returns the type.
|
AmberType |
KeyPropertyExpr.getType()
Returns the expr type
|
AmberType |
OneToManyExpr.getType()
Returns the expr type.
|
AmberType |
InExpr.getType()
Returns the expr type.
|
AmberType |
EnumExpr.getType()
Returns the expr type.
|
AmberType |
ElementCollectionExpr.getType()
Returns the expr type.
|
AmberType |
ManyToOneExpr.getType()
Returns the entity class.
|
AmberType |
AbstractAmberExpr.getType()
Returns the expr type.
|
AmberType |
LikeExpr.getType()
Returns the expr type.
|
AmberType |
AmberColumnExpr.getType()
Returns the expr type.
|
AmberType |
MapFieldExpr.getType()
Returns the expr's type.
|
AmberType |
EmbeddedExpr.getType()
Returns the target type.
|
Modifier and Type | Method and Description |
---|---|
void |
ArgExpr.setParameter(java.sql.PreparedStatement pstmt,
int i,
AmberType[] argTypes,
java.lang.Object[] argValues)
Sets the parameter.
|
void |
ArgExpr.setType(AmberType type)
Sets the expr type.
|
Modifier and Type | Method and Description |
---|---|
AmberType |
CurrentTimestampFunExpr.getType()
Returns the expr type.
|
AmberType |
MaxFunExpr.getType()
Returns the expr type.
|
AmberType |
MinFunExpr.getType()
Returns the expr type.
|
AmberType |
CurrentTimeFunExpr.getType()
Returns the expr type.
|
AmberType |
CurrentDateFunExpr.getType()
Returns the expr type.
|
AmberType |
SumFunExpr.getType()
Returns the expr type.
|
AmberType |
SqrtFunExpr.getType()
Returns the expr type.
|
AmberType |
FunExpr.getType()
Returns the expr type.
|
Modifier and Type | Method and Description |
---|---|
AmberType |
CollectionField.getTargetType()
Returns the target type.
|
AmberType |
OneToManyField.getTargetType()
Returns the target type as entity.
|
AmberType |
ElementCollectionField.getTargetType()
Returns the type argument for the target
|
AmberType |
PropertyField.getType()
Sets the result type.
|
AmberType |
IdField.getType()
Returns type
|
AmberType |
KeyPropertyField.getType()
Returns type
|
AmberType |
KeyEmbeddedSubField.getType()
Returns the column type
|
AmberType |
EntityEmbeddedField.getType()
Sets the result type.
|
AmberType |
DependentEntityOneToOneField.getType()
Returns the target type.
|
AmberType |
KeyManyToOneField.getType() |
Modifier and Type | Method and Description |
---|---|
void |
ManyToOneField.setType(AmberType targetType)
Sets the target type.
|
void |
PropertyField.setType(AmberType type)
Sets the result type.
|
void |
CollectionField.setType(AmberType targetType)
Sets the target type.
|
void |
ManyToManyField.setType(AmberType targetType)
Sets the target type.
|
void |
ElementCollectionField.setType(AmberType targetType)
Sets the target type.
|
Modifier and Type | Method and Description |
---|---|
AmberType |
AmberPersistenceUnit.createType(java.lang.Class javaType)
Creates a type.
|
AmberType |
AmberPersistenceUnit.createType(java.lang.String typeName)
Creates a type.
|
Modifier and Type | Method and Description |
---|---|
void |
UserQuery.setObject(int index,
java.lang.Object v,
AmberType type)
Sets the argument with an object and its Amber type.
|
Modifier and Type | Method and Description |
---|---|
AmberType |
AmberColumn.getType()
Returns the type.
|
Modifier and Type | Method and Description |
---|---|
AmberColumn |
AmberTable.createColumn(java.lang.String name,
AmberType type)
Creates a column.
|
Constructor and Description |
---|
AmberColumn(AmberTable table,
java.lang.String name,
AmberType type)
Creates the column.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEnhancedType
Represents an abstract enhanced type.
|
class |
AmberArrayType
The type of a property.
|
class |
AmberBeanType
Represents a stateful type:
embeddable, entity or mapped-superclass.
|
class |
BigDecimalType
The type of a property.
|
class |
BigIntegerType
The type of a property.
|
class |
BlobType
The type of a property.
|
class |
BooleanType
The type of a property.
|
class |
ByteArrayType
The type of a property.
|
class |
ByteType
Represents a java.util.Byte type
|
class |
CalendarType
The type of a property.
|
class |
CharacterArrayType
The type of a property.
|
class |
CharacterType
The character type.
|
class |
ClassType
A property containing a class
|
class |
ClobType
The type of a property.
|
class |
DoubleType
Represents a java.util.Double type
|
class |
ElementType
Represents an element-map value
|
class |
EmbeddableType
Represents an embeddable type
|
class |
EntityType
Base for entity or mapped-superclass types.
|
class |
EnumType
The enum type.
|
class |
FloatType
Represents a java.util.Float type
|
class |
GeneratorTableType
A type which represents a table or a portion.
|
class |
IntegerType
Represents a java.util.Integer type
|
class |
ListenerType
Represents a listener type: either a default listener
declared in orm.xml meta-data or an entity listener
specified in @EntityListeners entity annotation.
|
class |
LongType
Represents a java.util.Long type
|
class |
MappedSuperclassType
Represents a non-persistent class with abstract O/R mapping information.
|
class |
ObjectType
The type of a property.
|
class |
Primitive
Represents a primitive numeric type.
|
class |
PrimitiveBooleanType
The type of a property.
|
class |
PrimitiveByteArrayType
The type of a property.
|
class |
PrimitiveByteType
Represents a primitive Java byte type
|
class |
PrimitiveCharArrayType
The type of a property.
|
class |
PrimitiveCharType
The primitive char type.
|
class |
PrimitiveDoubleType
The primitive double type.
|
class |
PrimitiveFloatType
The primitive float type.
|
class |
PrimitiveIntType
The primitive int type.
|
class |
PrimitiveLongType
The primitive long type.
|
class |
PrimitiveShortType
The primitive short type.
|
class |
PrimitiveType
Represents a primitive numeric type.
|
class |
ShortType
Represents a java.util.Short type
|
class |
SqlDateType
The type of a property.
|
class |
SqlTimestampType
The type of a property.
|
class |
SqlTimeType
The type of a property.
|
class |
StringType
The type of a property.
|
class |
SubEntityType
Represents an application persistent bean type
|
class |
SubListenerType
Represents a listener type with a parent listener:
either a default listener declared in orm.xml meta-data or
an entity listener specified in @EntityListeners entity
annotation.
|
class |
TrueFalseType
The type of a property.
|
class |
UtilDateType
The type of a property.
|
class |
YesNoType
The type of a property.
|
Modifier and Type | Method and Description |
---|---|
AmberType |
TypeManager.create(java.lang.Class cl)
Returns the type.
|
AmberType |
TypeManager.create(java.lang.String name)
Returns the type.
|
AmberType |
TypeManager.get(java.lang.String name)
Returns the type.
|
AmberType |
PrimitiveDoubleType.getForeignType()
Returns the type as a foreign key.
|
AmberType |
PrimitiveCharType.getForeignType()
Returns the type as a foreign key.
|
AmberType |
PrimitiveIntType.getForeignType()
Returns the type as a foreign key.
|
AmberType |
PrimitiveLongType.getForeignType()
Returns the type as a foreign key.
|
AmberType |
EnumType.getForeignType()
Returns the type as a foreign key.
|
AmberType |
PrimitiveFloatType.getForeignType()
Returns the type as a foreign key.
|
AmberType |
PrimitiveShortType.getForeignType()
Returns the type as a foreign key.
|
AmberType |
AmberType.getForeignType()
Returns the type as a foreign key.
|
AmberType |
PrimitiveBooleanType.getForeignType()
Returns the foreign key type.
|
AmberType |
PrimitiveByteType.getForeignType()
Returns the foreign key type.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,AmberType> |
TypeManager.getTypeMap()
Returns the type map.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeManager.put(java.lang.String name,
AmberType type)
Adds a type.
|