| |
|
| java.lang.Object org.objectweb.speedo.metadata.SpeedoElement org.objectweb.speedo.metadata.SpeedoIdentity
SpeedoIdentity | final public class SpeedoIdentity extends SpeedoElement (Code) | | This class corresponds to the description of the policy management for a
given identity.
author: S.Chassande-Barrioz |
DATASTORE_AUTO_ASSIGN | final public static byte DATASTORE_AUTO_ASSIGN(Code) | | |
DATASTORE_INCREMENT | final public static byte DATASTORE_INCREMENT(Code) | | |
DATASTORE_LONG | final public static byte DATASTORE_LONG(Code) | | |
DATASTORE_NATIVE | final public static byte DATASTORE_NATIVE(Code) | | |
DATASTORE_OLONG | final public static byte DATASTORE_OLONG(Code) | | |
DATASTORE_POLYMORPHID | final public static byte DATASTORE_POLYMORPHID(Code) | | |
DATASTORE_SEQUENCE | final public static byte DATASTORE_SEQUENCE(Code) | | |
DATASTORE_UUID_HEX | final public static byte DATASTORE_UUID_HEX(Code) | | |
DATASTORE_UUID_STRING | final public static byte DATASTORE_UUID_STRING(Code) | | |
NO_ID | final public static byte NO_ID(Code) | | |
USER_ID | final public static byte USER_ID(Code) | | |
columns | public SpeedoNoFieldColumn[] columns(Code) | | is the columns used for the identifier which have not been mapped in
memory by visible persistent fields.
|
objectidClass | public String objectidClass(Code) | | the class used as identifier
|
oidClassAutoCalculated | public boolean oidClassAutoCalculated(Code) | | |
sequenceName | public String sequenceName(Code) | | the name of the sequence in case of the strategy is #DATASTORE_SEQUENCE
|
strategy | public byte strategy(Code) | | identifier strategy
|
SpeedoIdentity | public SpeedoIdentity()(Code) | | |
getStrategy | public static byte getStrategy(String s)(Code) | | Transforms a String into a Byte. The String must corresponds to local variables.
It returns the byte associated with the variable.
Parameters: s - String to transform. the byte associated to the String. |
getStrategyName | public static String getStrategyName(byte s)(Code) | | |
isDataStore | public boolean isDataStore()(Code) | | |
setColumns | public void setColumns(List columns) throws SpeedoException(Code) | | Assignes SpeedoColumn for the identifier. This list of SpeedoColumn is
transformed into an array of SpeedoNoFieldColumn
Parameters: columns - is a list of SpeedoColumn throws: SpeedoException - if the strategy does not correspond to the specified column (too many column, no strategy defined, application staregy choosen, ...) See Also: SpeedoIdentity.columns |
setDatastoreIdSequenceName | public void setDatastoreIdSequenceName(String sequencename)(Code) | | |
|
|
|