|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prorefactor.refactor.tfnames.TFNamesRefactor
public class TFNamesRefactor
Table and Field Names Refactor. An instance of this class stores the settings for the refactoring, and also contains the "run" function which applies the changes for a given Target to a given file scan. Can be called/implemented via org.prorefactor.refactor.TempDirWrap.
Field Summary | |
---|---|
boolean |
fixCase
Refactor settings - fix case if case is wrong? |
boolean |
qualify
Refactor settings - qualify unqualifed names? |
boolean |
unabbreviate
Refactor settings - unabbreviate abbreviated names? |
boolean |
useDbQualifier
Refactor settings - prefix names with DB qualifier? (Not currently used) |
boolean |
useLowercase
Refactor settings - use lowercase names? |
boolean |
workTempTables
Refactor settings - apply changes to work and temp table names? |
Constructor Summary | |
---|---|
TFNamesRefactor()
|
Method Summary | |
---|---|
int |
run(RefactorTarget tar,
int scanNum)
Run this refactor for a given target. |
java.lang.String |
toString()
Return a string representation of the settings stored in this Refactor object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean useLowercase
public boolean qualify
public boolean useDbQualifier
public boolean unabbreviate
public boolean fixCase
public boolean workTempTables
Constructor Detail |
---|
public TFNamesRefactor()
Method Detail |
---|
public int run(RefactorTarget tar, int scanNum)
run
in interface IRefactor
tar
- The NamesTarget object which contains details
about the node which needs refactoring.scanNum
- The scan number
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |