|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.dataengine.RowClassProperties
Properties class for the RowClassGenerator. Use an instance of this class to set properties describing how a Row subclass should be generated.
Constructor Summary | |
RowClassProperties()
RowClassProperties constructor |
Method Summary | |
String |
getFileLocation()
Gets the directory name where the generated file will be saved. |
String |
getFullClassName()
Gets the fully qualified name of the class to generate. |
String |
getLibraryName()
This method is derrived from the getFullClassName which is return LIBRARY_NAME.TABLE_NAME for classes and LIBRARY_NAME.I + TABLE_NAME for interfaces Creation date: (4/9/2002 1:21:32 PM) |
String |
getPackage()
Gets the package name of the class to generate. |
String |
getTableName()
This method is derrived from the getFullClassName which is return LIBRARY_NAME.TABLE_NAME for classes and LIBRARY_NAME.I + TABLE_NAME for interfaces Creation date: (4/9/2002 1:21:32 PM) |
boolean |
isGenerateConstantComments()
Insert the method's description here. |
boolean |
isGenerateConstantTableProperties()
Insert the method's description here. |
boolean |
isGenerateFieldNameConstants()
Tests if constants should be generated for field names. |
boolean |
isGenerateGetters()
Tests if getter methods should be generated. |
boolean |
isGeneratePackage()
Insert the method's description here. |
boolean |
isGenerateSetters()
Tests if setter methods should be generated. |
boolean |
isUsePrimitives()
Tests if primitives should be used instead of Java objects. |
RowClassProperties |
setFileLocation(String newFileLocation)
Sets the directory name where the generated file will be saved. |
RowClassProperties |
setFullClassName(String newFullClassName)
Sets the fully qualified name of the class to generate. |
void |
setGenerateConstantComments(boolean newGenerateConstantComments)
Insert the method's description here. |
void |
setGenerateConstantTableProperties(boolean newGenerateConstantTableProperties)
Insert the method's description here. |
RowClassProperties |
setGenerateFieldNameConstants(boolean newGenerateFieldNameConstants)
Sets if constants should be generated for field names. |
RowClassProperties |
setGenerateGetters(boolean newGenerateGetters)
Sets if getter methods should be generated. |
void |
setGeneratePackage(boolean newGeneratePackage)
Insert the method's description here. |
RowClassProperties |
setGenerateSetters(boolean newGenerateSetters)
Sets if setter methods should be generated. |
RowClassProperties |
setPackage(String newPackage)
Sets the package name of the class to generate. |
RowClassProperties |
setUsePrimitives(boolean newUsePrimitives)
Sets if primitives should be used instead of Java objects. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RowClassProperties()
Method Detail |
public String getFileLocation()
public String getFullClassName()
public String getPackage()
public String getLibraryName()
public String getTableName()
public boolean isGenerateConstantComments()
public boolean isGeneratePackage()
public boolean isGenerateConstantTableProperties()
public boolean isGenerateFieldNameConstants()
public static final String FORMAT_NAME = "FMTNME";
public boolean isGenerateGetters()
public boolean isGenerateSetters()
public boolean isUsePrimitives()
public RowClassProperties setFileLocation(String newFileLocation)
public RowClassProperties setFullClassName(String newFullClassName)
public RowClassProperties setPackage(String newPackage)
public void setGenerateConstantComments(boolean newGenerateConstantComments)
newGenerateConstantComments
- booleanpublic void setGenerateConstantTableProperties(boolean newGenerateConstantTableProperties)
newGenerateConstantTableProperties
- booleanpublic void setGeneratePackage(boolean newGeneratePackage)
public RowClassProperties setGenerateFieldNameConstants(boolean newGenerateFieldNameConstants)
public static final String FORMAT_NAME = "FMTNME";
public RowClassProperties setGenerateGetters(boolean newGenerateGetters)
public RowClassProperties setGenerateSetters(boolean newGenerateSetters)
public RowClassProperties setUsePrimitives(boolean newUsePrimitives)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |