| java.lang.Object org.objectweb.speedo.metadata.SpeedoElement org.objectweb.speedo.metadata.SpeedoCommonField
All known Subclasses: org.objectweb.speedo.metadata.SpeedoInheritedField, org.objectweb.speedo.metadata.SpeedoField,
SpeedoCommonField | public class SpeedoCommonField extends SpeedoElement (Code) | | Defines a persistent field inherited from an ancestor. The mapping of this
persistent field is redefined in the current persistent class. This meta
object references the inherited field and defines its new mapping.
author: S.Chassande-Barrioz |
Field Summary | |
public SpeedoColumn[] | columns is the column(s) containing the value of the field. | public SpeedoTuple | jdoTuple | public SpeedoJoin | join In case of the columns is in another table than the main table of the
class, this field defines the join to reach this external table.
This join instance is common for each columns corresponding to this
persistent field. | public SpeedoClass | moClass Meta object of the class containing the field. | public String | name |
columns | public SpeedoColumn[] columns(Code) | | is the column(s) containing the value of the field.
- If the field has a primitive type (long, int, java.lang.Integer,
java.lang.String, java.util.Date, ...), the value must be store on a
single column (columns.lenght < 2).
- If the field is a reference to a Class or a generic class (Collection,
Set, ...), this field describes the columns containing the reference.
In both cases the column(s) containing the value can be found in another
table than the main table (moClass.mainTable).
The value of this columns can depend on the reverse field (if there is
one).
See Also: SpeedoClass.mainTable See Also: SpeedoCommonField.join |
jdoTuple | public SpeedoTuple jdoTuple(Code) | | Type of the tuple represented by this field if it is a tuple
|
join | public SpeedoJoin join(Code) | | In case of the columns is in another table than the main table of the
class, this field defines the join to reach this external table.
This join instance is common for each columns corresponding to this
persistent field. This join must be also listed into
#moClass.joinToExtTables.
This field is null when this field is mapped on a column included into
the main table.
See Also: SpeedoCommonField.columns See Also: SpeedoClass.mainTable See Also: SpeedoClass.joinToExtTables |
moClass | public SpeedoClass moClass(Code) | | Meta object of the class containing the field.
|
|
|