| |
|
| java.lang.Object org.objectweb.speedo.metadata.SpeedoElement org.objectweb.speedo.metadata.SpeedoCommonField org.objectweb.speedo.metadata.SpeedoField
SpeedoField | public class SpeedoField extends SpeedoCommonField (Code) | | This class corresponds to the description of persistent fields.
author: S.Chassande-Barrioz |
MANY_MANY_BI_RELATION | final public static byte MANY_MANY_BI_RELATION(Code) | | |
MANY_ONE_BI_RELATION | final public static byte MANY_ONE_BI_RELATION(Code) | | |
MANY_REFERENCE | final public static byte MANY_REFERENCE(Code) | | |
NONE | final public static byte NONE(Code) | | |
NO_BI_RELATION | final public static byte NO_BI_RELATION(Code) | | |
ONE_MANY_BI_RELATION | final public static byte ONE_MANY_BI_RELATION(Code) | | |
ONE_ONE_BI_RELATION | final public static byte ONE_ONE_BI_RELATION(Code) | | |
ONE_REFERENCE | final public static byte ONE_REFERENCE(Code) | | |
PERSISTENCE_STATUS | final public static String[] PERSISTENCE_STATUS(Code) | | |
PERSISTENT | final public static byte PERSISTENT(Code) | | |
PROPAG_ALL | final public static byte PROPAG_ALL(Code) | | |
PROPAG_MERGE | final public static byte PROPAG_MERGE(Code) | | |
PROPAG_NONE | final public static byte PROPAG_NONE(Code) | | |
PROPAG_PERSIST | final public static byte PROPAG_PERSIST(Code) | | |
PROPAG_REFRESH | final public static byte PROPAG_REFRESH(Code) | | |
PROPAG_REMOVE | final public static byte PROPAG_REMOVE(Code) | | |
UNKNOWN | final public static byte UNKNOWN(Code) | | |
defaultFetchGroup | public boolean defaultFetchGroup(Code) | | This boolean indicates if the field is in the default fetch group.
(not managed)
|
depth | public int depth(Code) | | Recursive fetchgroups are controlled by the depth attribute. A depth of 0 (the default)
will fetch the whole graph of instances reachable from this field.
|
embedded | public boolean embedded(Code) | | Attribute embedded of the XML file. (not managed)
|
isCascadeDelete | public boolean isCascadeDelete(Code) | | Indicates if the field has to be deleted when its referencer is deleted.
|
isCoherentReverseField | public boolean isCoherentReverseField(Code) | | Indicates if the coherence of bidirectional relationship must be assumed
by Speedo.
|
mappedByReversefield | public boolean mappedByReversefield(Code) | | In case of bi directional relationship the mapping of this field can be
defined since the mapping of the reverse field. In this case the #columns
field is null and this field is equals to 'true'.
See Also: SpeedoField.columns See Also: SpeedoField.join |
nullValue | public byte nullValue(Code) | | Attribute null-value in the XML file.
|
number | public int number(Code) | | is the index of the persistent field. This field is computed through a
MI visitor.
|
persistenceStatus | public byte persistenceStatus(Code) | | Attribute persistence-modifier in the XML file.
|
primaryKey | public boolean primaryKey(Code) | | Boolean indicating if the field is a primary key.
|
reverseField | public String reverseField(Code) | | Is the name of the field which composes with the current field, a
bidirectional relation ship.
|
type | public String type(Code) | | Type of the persistent field
See Also: Type.getDescriptor |
valueStrategy | public String valueStrategy(Code) | | Attribute value-strategy
|
visibility | public int visibility(Code) | | visibility of the field (public | protected | private | static ...)
See Also: Constants.ACC_PUBLIC See Also: Constants.ACC_PRIVATE See Also: Constants.ACC_PROTECTED See Also: Constants.ACC_STATIC See Also: Constants.ACC_FINAL See Also: Constants.ACC_TRANSIENT |
SpeedoField | public SpeedoField()(Code) | | |
modifier | public String modifier()(Code) | | Returns the field's modifier
the String representing the modifier (public ,private , protected ) |
parsePersistenceStatus | public static byte parsePersistenceStatus(String s)(Code) | | Parameters: s - is a string representation of a persistence status the constant value corresponding to the persistence status. |
parsePersistenceStatus | public static String parsePersistenceStatus(byte ps)(Code) | | |
privateSignature | public String privateSignature()(Code) | | Returns the field's signature with a private modifier.
the String containing the field' signature with a private modifier. |
publicSignature | public String publicSignature()(Code) | | Returns the field's signature with a public modifier.
the String containing the field' signature with a public modifier. |
toString | public String toString()(Code) | | Transforms a SpeedoField into a String.
the String corresponding to the SpeedoField. |
type | public String type()(Code) | | Returns the type of the field.
type of the field. |
|
|
|