| java.lang.Object org.netbeans.modules.etl.model.impl.ETLDefinitionImpl
ETLDefinitionImpl | public class ETLDefinitionImpl implements ETLDefinition,Serializable(Code) | | Root container for holding ETL model objects.
author: Jonathan Giron author: Ritesh Adval author: Ahimanikya Satapathy version: $Revision$ |
ATTR_DISPLAYNAME | final public static String ATTR_DISPLAYNAME(Code) | | Attribute name: displayName
|
ATTR_REFID | final public static String ATTR_REFID(Code) | | Attribute name: displayName
|
DOC_VERSION | final public static String DOC_VERSION(Code) | | Document version
|
INDENT | final public static String INDENT(Code) | | XML formatting constant: indent prefix
|
TAG_DEFINITION | final public static String TAG_DEFINITION(Code) | | TAG_DEFINITION is the tag for an ETL definition
|
ETLDefinitionImpl | public ETLDefinitionImpl()(Code) | | Creates a new default instance of ETLDefinitionImpl.
|
ETLDefinitionImpl | public ETLDefinitionImpl(Element xmlElement, SQLFrameworkParentObject parent) throws BaseException(Code) | | Creates a new instance of ETLDefinitionImpl, parsing the given DOM Element to
retrieve its contents.
Parameters: xmlElement - DOM element containing content information Parameters: parent - SQLFrameworkParentObject exception: com.sun.sql.framework.exception.BaseException - if error occurs whileparsing |
ETLDefinitionImpl | public ETLDefinitionImpl(Element xmlElement, SQLFrameworkParentObject parent, boolean preserveVersion) throws BaseException(Code) | | Creates a new instance of ETLDefinitionImpl, parsing the given DOM Element to
retrieve its contents, and optionally preserving the parsed version information.
Parameters: xmlElement - DOM element containing content information Parameters: parent - SQLFrameworkParentObject Parameters: preserveVersion - true if version contained in xmlElement should be retained; falseif version should be updated to the current value exception: com.sun.sql.framework.exception.BaseException - if error occurs whileparsing |
ETLDefinitionImpl | public ETLDefinitionImpl(String displayName)(Code) | | Creates a new instance of ETLDefinitionImpl with the given display name.
Parameters: displayName - for this |
addObject | public void addObject(SQLObject newObject) throws BaseException(Code) | | Adds given SQLObject instance to this SQLDefinition.
Parameters: newObject - new instance to add throws: BaseException - if add fails or instance implements an unrecognized objecttype. |
addSQLObjectListener | public void addSQLObjectListener(SQLObjectListener listener)(Code) | | Adds an SQL object listener
Parameters: listener - SQL object listener |
getAllDatabases | public List<SQLDBModel> getAllDatabases()(Code) | | Gets the List of Databases
java.util.List for this |
getAllObjects | public Collection<SQLObject> getAllObjects()(Code) | | Gets Collection of all SQLObjects in this model.
Collection, possibly empty, of all SQLObjects |
getAttribute | public Attribute getAttribute(String attrName)(Code) | | Gets an attribute based on its name
Parameters: attrName - attribute Name Attribute instance associated with attrName, or null if none exists |
getDatabaseModel | public DatabaseModel getDatabaseModel(String modelName)(Code) | | Getter for DatabaseModel
Parameters: modelName - to be retrieved DatabaseModel for given Model Name |
getDisplayName | public String getDisplayName()(Code) | | Gets display name.
current display name |
getExecutionStrategyCode | public Integer getExecutionStrategyCode()(Code) | | Gets execution strategy code set for this collaboration.
execution strategy code |
getParent | public Object getParent()(Code) | | get the parent repository object
parent repository object |
getSQLDefinition | public SQLDefinition getSQLDefinition()(Code) | | Gets the SQL definition
SQL definition |
getSourceDatabaseModels | public List<SQLDBModel> getSourceDatabaseModels()(Code) | | Gets a List of target DatabaseModels
List, possibly empty, of source DatabaseModels |
getSourceTables | public List<DBTable> getSourceTables()(Code) | | Gets the List of SourceTables
List, possibly empty, of SourceTables |
getTagName | public String getTagName()(Code) | | get the tag name for this ETLDefinitionImpl override at subclass level to return a
different tag name
tag name to be used in xml representation of this object |
getTargetDatabaseModels | public List<SQLDBModel> getTargetDatabaseModels()(Code) | | Gets a List of target DatabaseModels
List, possibly empty, of target DatabaseModels |
getTargetTables | public List<DBTable> getTargetTables()(Code) | | Gets the List of TargetTables
List, possibly empty, of TargetTables |
init | protected void init()(Code) | | |
isContainsJavaOperators | public boolean isContainsJavaOperators()(Code) | | Check if a java operator is used in the model.
true if a java operator is used. |
migrateFromOlderVersions | public void migrateFromOlderVersions() throws BaseException(Code) | | Applies whatever rules are appropriate to migrate the current object model to the
current version of ETLDefinition as implemented by the concrete class.
throws: BaseException - if error occurs during migration |
parseXML | public void parseXML(Element xmlElement) throws BaseException(Code) | | Parses the XML content, if any, using the given Element as a source for
reconstituting the member variables and collections of this instance.
Parameters: xmlElement - DOM element containing XML marshalled version of a SQLDefinitioninstance throws: BaseException - thrown while parsing XML, or if xmlElement is null |
removeObject | public void removeObject(SQLObject sqlObj) throws BaseException(Code) | | Removes given SQLObject instance from this SQLDefinition.
Parameters: sqlObj - instance to remove throws: BaseException - if error occurs during removal |
removeSQLObjectListener | public void removeSQLObjectListener(SQLObjectListener listener)(Code) | | Removes SQL object listener
Parameters: listener - SQL object listener |
setDisplayName | public void setDisplayName(String newName)(Code) | | Sets display name to given value.
Parameters: newName - new display name |
setExecutionStrategyCode | public void setExecutionStrategyCode(Integer code)(Code) | | Sets execution strategy code for this collaboration.
Parameters: code - execution strategy code |
setParent | public void setParent(Object parent)(Code) | | set the parent repository object
Parameters: parent - parent repository object |
toXMLString | public String toXMLString(String prefix) throws BaseException(Code) | | Returns the XML representation of collabSegment.
Parameters: prefix - the xml. Returns the XML representation of colabSegment. |
validate | public List<ValidationInfo> validate()(Code) | | validate the definition starting from the target tables.
Map of invalid input object as keys and reason as value |
|
|