|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.rd.kodo.impl.jdbc.meta.Mapping
|
+--com.solarmetric.rd.kodo.impl.jdbc.meta.Indicator
|
+--com.solarmetric.rd.kodo.impl.jdbc.meta.VersionIndicator
Handles optimistic lock versioning for a class.
| Field Summary |
| Fields inherited from class com.solarmetric.rd.kodo.impl.jdbc.meta.Mapping |
DEFAULT, FALSE, LOB, TRUE, UNIQUE |
| Constructor Summary | |
VersionIndicator()
|
|
| Method Summary | |
static com.solarmetric.rd.kodo.impl.jdbc.meta.VersionIndicator[] |
getDefaults()
Return the default set of available version indicators. |
void |
load(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store,
com.solarmetric.rd.kodo.impl.jdbc.runtime.Result res)
Load virtual row data. |
com.solarmetric.rd.kodo.impl.jdbc.meta.VersionIndicator |
newInstance()
Return a new instance of this class. |
static com.solarmetric.rd.kodo.impl.jdbc.meta.VersionIndicator |
newInstance(java.lang.String type)
Return the indicator for the given indicator name. |
void |
postLoad(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store)
This method is called after data is loaded into the instance, in case the version indicator works off of a state image. |
abstract boolean |
synchVersion(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store,
java.sql.Connection conn)
Synchronize the version of the given state manager with the version stored in memory. |
java.lang.String |
toString()
|
| Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.meta.Indicator |
delete, getMappingRepository, getOwnerMapping, getTable, insert, refSchemaComponents, select, setOwnerMapping, update |
| Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.meta.Mapping |
checkIndex, createColumn, delete, fromMappingInfo, getDBDictionary, getForeignKey, getLog, getMappingType, getSchemaGroup, insert, invalidMapping, isCustomDelete, isCustomInsert, isCustomUpdate, map, reverseMap, setForeignKey, toMappingInfo, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public VersionIndicator()
| Method Detail |
public static com.solarmetric.rd.kodo.impl.jdbc.meta.VersionIndicator[] getDefaults()
public static com.solarmetric.rd.kodo.impl.jdbc.meta.VersionIndicator newInstance(java.lang.String type)
public void load(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store,
com.solarmetric.rd.kodo.impl.jdbc.runtime.Result res)
throws java.sql.SQLException
java.sql.SQLException
public void postLoad(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store)
public abstract boolean synchVersion(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store,
java.sql.Connection conn)
throws java.sql.SQLException
java.sql.SQLExceptionStoreManager.synchVersion(com.solarmetric.rd.kodo.runtime.StateManagerImpl, java.lang.Object)public com.solarmetric.rd.kodo.impl.jdbc.meta.VersionIndicator newInstance()
public java.lang.String toString()
toString in class java.lang.Object
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||