Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » cfg » reveng » [javadoc | source]
org.hibernate.cfg.reveng
public class: ReverseEngineeringSettings [javadoc | source]
java.lang.Object
   org.hibernate.cfg.reveng.ReverseEngineeringSettings
Field Summary
final  ReverseEngineeringStrategy rootStrategy     
Constructor:
 public ReverseEngineeringSettings(ReverseEngineeringStrategy rootStrategy) 
Method from org.hibernate.cfg.reveng.ReverseEngineeringSettings Summary:
createCollectionForForeignKey,   createManyToOneForForeignKey,   getDefaultPackageName,   getDetectManyToMany,   getDetectOptimsticLock,   getRootStrategy,   setCreateCollectionForForeignKey,   setCreateManyToOneForForeignKey,   setDefaultPackageName,   setDetectManyToMany,   setDetectOptimisticLock
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.cfg.reveng.ReverseEngineeringSettings Detail:
 public boolean createCollectionForForeignKey() 
    if true, a collection will be mapped for each foreignkey
 public boolean createManyToOneForForeignKey() 
    if true, a many-to-one association will be created for each foreignkey found
 public String getDefaultPackageName() 
    return the default packageName. Never null, at least the empty string
 public boolean getDetectManyToMany() 
 public boolean getDetectOptimsticLock() 
    If true, reverse engineering strategy will try and autodetect columns for optimistc locking, e.g. VERSION and TIMESTAMP
 public ReverseEngineeringStrategy getRootStrategy() 
    return the top/root strategy. Allows a lower strategy to ask another question. Be aware of possible recursive loops; e.g. do not call the root.tableToClassName in tableToClassName of a custom reversengineeringstrategy.
 public ReverseEngineeringSettings setCreateCollectionForForeignKey(boolean createCollectionForForeignKey) 
 public ReverseEngineeringSettings setCreateManyToOneForForeignKey(boolean createManyToOneForForeignKey) 
 public ReverseEngineeringSettings setDefaultPackageName(String defaultPackageName) 
 public ReverseEngineeringSettings setDetectManyToMany(boolean b) 
 public ReverseEngineeringSettings setDetectOptimisticLock(boolean optimisticLockSupportEnabled)