createSQLObject(String className) Creates a new SQLObject instance of the given type.
public boolean
equals(Object o) Overrides default implementation to determine value based on any associated
attributes as well as values of non-transient member variables.
hashCode() Overrides default implementation to compute hashcode based on any associated
attributes as well as values of non-transient member variables.
parseXML(Element xmlElement) Parses the XML content, if any, using the given Element as a source for
reconstituting the member variables and collections of this instance.
requiresPipelineProcess() check if we have to use axion database if definition contains a java operator or
there is a validation condition on one of source tables.
toXMLString(String prefix) Gets the XML representation of this SQLDefinition, using the given String as a
prefix for individual XML elements.
Parameters: prefix - indent string to prefix each element in the xml document.
Creates a new default instance of SQLDefinitionImpl.
SQLDefinitionImpl
public SQLDefinitionImpl(Element xmlElement) throws BaseException(Code)
Creates a new instance of SQLDefinitionImpl, parsing the given DOM Element to
retrieve its contents.
Parameters: xmlElement - DOM element containing content information exception: BaseException - if error occurs while parsing
Creates a new instance of SQLDefinitionImpl, parsing the given DOM Element to
retrieve its contents.
Parameters: xmlElement - DOM element containing content information exception: BaseException - if error occurs while parsing
SQLDefinitionImpl
public SQLDefinitionImpl(String aDisplayName)(Code)
Creates a new instance of SQLDefinitionImpl with the given display name.
Parameters: aDisplayName - for this
Method Detail
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.
Creates a new SQLObject instance of the given type. Does not add the the vended
SQLObject to this SQLDefinition, although it does set its parent reference to this.
To correctly associate the returned SQLObject instance with this instance, the
calling method should call addSQLObject(SQLObject).
Parameters: objTag - objTag of object to create new SQLObject instance throws: BaseException - if error occurs during creation See Also:SQLDefinitionImpl.addObject(SQLObject)
Creates a new SQLObject instance of the given type. Does not add the the vended
SQLObject to this SQLDefinition, although it does set its parent reference to this.
To correctly associate the returned SQLObject instance with this instance, the
calling method should call addSQLObject(SQLObject).
Parameters: className - className of object to create new SQLObject instance throws: BaseException - if error occurs during creation See Also:SQLDefinitionImpl.addObject(SQLObject)
Overrides default implementation to determine value based on any associated
attributes as well as values of non-transient member variables.
Parameters: o - Object to be compared true if o is equivalent to this; false otherwise
Gets associated SQLObject instance, if any, with the given object ID.
Parameters: objectId - ID of SQLObject instance to be retrieved Parameters: type - type of object to retrieve associated SQLObject instance, or null if no such instance exists
Gets Collection of SQLObjects matching the given object type.
Parameters: type - type of objects to retrieve Collection, possibly empty, of SQLObjects with matching type
Gets the Root SQLJoinOperator Object in a given List
Parameters: sourceTables - List of Source Table SQLObjects SQLObject Root Join from List throws: BaseException - while getting the Root
Gets Collection of SQLJoinOperators representing "root" joins for this model.
Parameters: type - ??? Collection, possibly empty, of root SQLJoinOperators
Given a column find out the filters when the given column is used in left or right
of it.
Parameters: sColumn - sourceColumn list of filters which have reference to these columns
get the tag name for this SQLDefinition override at subclass level to return a
different tag name
tag name to be used in xml representation of this object
Overrides default implementation to compute hashcode based on any associated
attributes as well as values of non-transient member variables.
hashcode for this instance
public void overrideCatalogNamesForDb(Map overrideMapMap)(Code)
overrideSchemaNamesForDb
public void overrideSchemaNamesForDb(Map overrideMapMap)(Code)
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 exception: BaseException - thrown while parsing XML, or if xmlElement is null
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
removeObjects
public void removeObjects(Collection sqlObjs) throws BaseException(Code)
Removes given SQLObjects from SQLDefinition collection.
Parameters: sqlObjects - to be removed throws: BaseException - while removing
Generates XML elements representing this object's associated attributes.
Parameters: prefix - Prefix string to be prepended to each element String containing XML representation of attributes
Gets the XML representation of this SQLDefinition, using the given String as a
prefix for individual XML elements.
Parameters: prefix - indent string to prefix each element in the xml document. the XML representation of this SQLDefinition.
Validates if the Database drivers required for this SQLDefinition are
already installed in Database Explorer.
Map of invalid object as keys and reason as value
Validate Database synchronization. Identify any eTL Collaboration element which has been
deleted or modified in Database.
Map of invalid object as keys and reason as value