Package | Description |
---|---|
com.caucho.amber.field | |
com.caucho.amber.type |
Modifier and Type | Interface and Description |
---|---|
interface |
IdField
Configuration for a bean's field
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractField
Configuration for a bean's property
|
class |
AssociationField
Configuration for a bean's field
|
class |
CascadableField
A child field that is cascadable from parent to child
on persist, merge, remove or update operations.
|
class |
CollectionElementField
Configuration for a bean's field
|
class |
CollectionField
Configuration for a bean's field
|
class |
DependentEntityOneToOneField
Represents the dependent side of a one-to-one bidirectional link.
|
class |
Discriminator
Configuration for a bean's field
|
class |
ElementCollectionField
Configuration for a bean's field
|
class |
EmbeddedIdField
Configuration for a bean's field
|
class |
EmbeddedSubField
Represents the sub-field of an embedded type.
|
class |
EntityEmbeddedField
Configuration for a bean's embedded field
|
class |
EntityMapField
Represents a map to entities.
|
class |
IdentifyingKeyPropertyField
Configuration for a bean's field
|
class |
KeyEmbeddedSubField
Represents the sub-field of an embedded type.
|
class |
KeyManyToOneField
Configuration for a bean's field
|
class |
KeyPropertyField
Configuration for a bean's field
|
class |
ManyToManyField
Configuration for a bean's field
|
class |
ManyToOneField
Represents a many-to-one link pointing to an entity.
|
class |
MapElementField
Configuration for a bean's field
|
class |
MapManyToManyField
Configuration for a bean's field
|
class |
OneToManyField
Represents a field to a collection of objects where the target
hold a back-link to the source entity.
|
class |
PropertyField
Configuration for a bean's field
|
class |
VersionField
Configuration for a bean's field
|
Modifier and Type | Method and Description |
---|---|
AmberField |
ManyToOneField.override(AmberBeanType type)
Creates a copy of the field for a parent
|
AmberField |
PropertyField.override(AmberBeanType type)
Creates a copy of the field for a parent
|
AmberField |
AbstractField.override(AmberBeanType table)
Creates a copy of the field for a parent
|
AmberField |
AmberField.override(AmberBeanType entityType)
Override the field
|
AmberField |
KeyPropertyField.override(AmberBeanType type)
Creates a copy of the field for a parent
|
AmberField |
EmbeddedSubField.override(AmberBeanType entityType)
Override the field
|
Modifier and Type | Method and Description |
---|---|
int |
AmberFieldCompare.compare(AmberField a,
AmberField b)
Compares the fields.
|
protected EmbeddedSubField |
EntityEmbeddedField.createSubField(AmberField field,
int index) |
protected EmbeddedSubField |
EmbeddedIdField.createSubField(AmberField field,
int index) |
void |
ManyToOneField.setAliasField(AmberField alias)
Sets any alias field.
|
Constructor and Description |
---|
EmbeddedSubField(EntityEmbeddedField embeddedField,
AmberField embeddableField,
int index) |
KeyEmbeddedSubField(EntityEmbeddedField embeddedField,
AmberField embeddableField,
int index) |
Modifier and Type | Method and Description |
---|---|
AmberField |
ElementType.getField()
Returns the element's value field.
|
AmberField |
EntityType.getField(java.lang.String name)
Returns the field with a given name.
|
AmberField |
AmberBeanType.getField(java.lang.String name)
Returns the field with a given name.
|
AmberField |
EntityType.getMappedSuperclassField(java.lang.String name)
Returns the mapped superclass field with a given name.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AmberField> |
EntityType.getFields()
returns the merged fields
|
java.util.ArrayList<AmberField> |
AmberBeanType.getFields()
Returns the fields.
|
java.util.ArrayList<AmberField> |
EntityType.getMappedSuperclassFields()
Returns the mapped superclass fields.
|
protected java.util.ArrayList<AmberField> |
EntityType.getMergedFields() |
java.util.ArrayList<AmberField> |
AmberBeanType.getSelfFields()
Returns the fields declared on this instance
|
Modifier and Type | Method and Description |
---|---|
void |
EntityType.addField(AmberField field)
Adds a new field.
|
void |
AmberBeanType.addField(AmberField field)
Adds a new field.
|
void |
EntityType.addMappedSuperclassField(AmberField field)
Adds a mapped superclass field.
|
Constructor and Description |
---|
ElementType(AmberPersistenceUnit amberPersistenceUnit,
AmberField valueField) |