|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.cfg.reveng.DelegatingReverseEngineeringStrategy
org.codehaus.mojo.appfuse.reveng.AppfuseReverseEngineeringDelegator
public class AppfuseReverseEngineeringDelegator
This class is a sample of a reverse engineering strategy processing class. This class will add Value to all the model objects and the hbm.xml files as well as using the column name OPTIMISTIC_VERSION as the version column within the hbm.xml files.
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
LOG
A static logger for the class. |
| Constructor Summary | |
|---|---|
AppfuseReverseEngineeringDelegator(org.hibernate.cfg.reveng.ReverseEngineeringStrategy inDelegate)
Creates a new AuroraReverseEngineeringDelegator object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getOptimisticLockColumnName(org.hibernate.cfg.reveng.TableIdentifier inTableIdentifier)
This method is called to determine a generic column name to use for the optimistic lock or version entry. |
java.lang.String |
tableToClassName(org.hibernate.cfg.reveng.TableIdentifier inTableIdentifier)
This method will add Value to the table name to create the model objects. |
| Methods inherited from class org.hibernate.cfg.reveng.DelegatingReverseEngineeringStrategy |
|---|
classNameToCompositeIdName, close, columnToHibernateTypeName, columnToMetaAttributes, columnToPropertyName, configure, excludeColumn, excludeForeignKeyAsCollection, excludeForeignKeyAsManytoOne, excludeTable, foreignKeyToCollectionName, foreignKeyToEntityName, foreignKeyToManyToManyName, getForeignKeys, getPrimaryKeyColumnNames, getSchemaSelections, getTableIdentifierProperties, getTableIdentifierStrategyName, isForeignKeyCollectionInverse, isForeignKeyCollectionLazy, isManyToManyTable, setSettings, tableToCompositeIdName, tableToIdentifierPropertyName, tableToMetaAttributes, useColumnForOptimisticLock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log LOG
| Constructor Detail |
|---|
public AppfuseReverseEngineeringDelegator(org.hibernate.cfg.reveng.ReverseEngineeringStrategy inDelegate)
inDelegate - A delegat for this object.| Method Detail |
|---|
public java.lang.String tableToClassName(org.hibernate.cfg.reveng.TableIdentifier inTableIdentifier)
tableToClassName in interface org.hibernate.cfg.reveng.ReverseEngineeringStrategytableToClassName in class org.hibernate.cfg.reveng.DelegatingReverseEngineeringStrategyinTableIdentifier - The table name that is being processed.
public java.lang.String getOptimisticLockColumnName(org.hibernate.cfg.reveng.TableIdentifier inTableIdentifier)
getOptimisticLockColumnName in interface org.hibernate.cfg.reveng.ReverseEngineeringStrategygetOptimisticLockColumnName in class org.hibernate.cfg.reveng.DelegatingReverseEngineeringStrategyinTableIdentifier - The Table identifier to locate the optimistic column name for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||