|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.gui.TBGEntitiesExternalizer
This class implements the Template Based Generator (TBG) Entities Externalizer.
It's used to externalize table rows of entities
WARNING: The client, server and client&server DW sites are written in hardcode.
To change their values you must check the DW allowed_values table for the site domain
Fields inherited from interface com.ibm.dse.tools.workbench.base.TableNames |
ALLOWED_VALUES,
ATTRIBUTES,
DOMAINS,
ENTITIES,
ENTITIES_ENTITIES,
GROUPS,
GROUPS_ENTITIES,
GROUPS_GROUPS,
GROUPS_INSTANCES,
INSTANCE_ERRORS,
INSTANCES,
PROPERTIES,
USERS |
Constructor Summary | |
TBGEntitiesExternalizer()
This method creates an SGMLExternalizer object. |
Method Summary | |
java.lang.String |
externalize(TableRow row)
This method externalizes an entity to a String |
void |
externalize(TableRow[] rows)
This method externalizes a row vector of entities to one or several files, it depends on the number of different base_groups or groups. |
java.lang.String |
getFormat()
This method returns the output format acronym. |
java.lang.String |
getName()
This method returns the name of the externalizer. |
java.io.Reader |
getTemplateFooter()
This method returns, if exists, the reader of the template footer. |
java.io.Reader |
getTemplateHeader()
This method returns, if exists, the reader of the template header. |
java.io.Reader |
getTemplateReader(java.lang.String location)
This method returns the template reader if the template location exists and can be read. |
void |
invokeSetup()
This method shows, if available, the setup or options view to configure the externalizer. |
void |
invokeWizard(Repository repository)
This method invokes the externalizer wizard, if available, to guide the user in the externalization process. |
void |
loadDefaultFiles()
This method loads, if exist, the default filenames for each site/basegroupName and site/groupCode from the Workbench settings |
void |
saveDefaultFiles(java.util.Hashtable result)
This method inserts the selected filenames into the .ini file to obtain data persistence |
void |
setProperties(java.util.Properties properties)
This method sets the properties for the externalizer, instead of using invokeSetup method. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TBGEntitiesExternalizer()
Method Detail |
public void externalize(TableRow[] rows)
rows
- com.ibm.dse.tools.workbench.base.TableRow[] The entitiespublic java.lang.String externalize(TableRow row) throws WorkbenchException
row
- com.ibm.dse.tools.workbench.base.TableRowpublic java.lang.String getFormat()
public java.lang.String getName()
public java.io.Reader getTemplateFooter()
public java.io.Reader getTemplateHeader()
public java.io.Reader getTemplateReader(java.lang.String location) throws WBInputOutputException
location
- java.lang.Stringpublic void invokeSetup()
public void invokeWizard(Repository repository)
repository
- com.ibm.dse.tools.workbench.base.Repositorypublic void loadDefaultFiles()
public void saveDefaultFiles(java.util.Hashtable result) throws WBInputOutputException
result
- java.util.Hashtable The pairs (String key,File file)public void setProperties(java.util.Properties properties)
properties
- java.util.Properties
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |