Java Doc for SQLDefinition.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » etl.project » org.netbeans.modules.sql.framework.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.sql.framework.model.SQLDefinition

All known Subclasses:   org.netbeans.modules.sql.framework.model.impl.SQLDefinitionImpl,
SQLDefinition
public interface SQLDefinition extends SQLContainerObject,SQLVisitedObject(Code)
Root container interface for holding SQL model objects.
author:
   Sudhi Seshachala
author:
   Ahimanikya Satapathy
version:
   $Revision$


Field Summary
final public static  StringATTR_CONTAINS_JAVA_OPERATORS
    
final public static  StringATTR_DISPLAYNAME
    
final public static  StringATTR_EXECUTION_STRATEGY_CODE
    
final public static  StringATTR_VERSION
    
final public static  StringAXION_DB_INSTANCE_NAME
    
final public static  StringAXION_DB_WORKING_FOLDER
    
final public static  intEXECUTION_STRATEGY_BEST_FIT
    
final public static  intEXECUTION_STRATEGY_DEFAULT
    
final public static  intEXECUTION_STRATEGY_PIPELINE
    
final public static  intEXECUTION_STRATEGY_RELATIONALMAP
    
final public static  intEXECUTION_STRATEGY_STAGING
    
final public static  intEXECUTION_STRATEGY_WEBBROWSET
    
final public static  StringINDENT
    


Method Summary
public  voidaddSQLObjectListener(SQLObjectListener listener)
    
public  List<ValidationInfo>badgeValidate()
     validate the definition starting from the target tables.
public  voidclearOverride(boolean clearCatalog, boolean clearSchema)
    
public  StringgenerateId()
    
public  List<SQLDBModel>getAllDatabases()
    
public  ObjectgetAttributeValue(String attrName)
    
public  StringgetDBWorkingFolder()
    
public  StringgetDbInstanceName()
    
public  StringgetDisplayName()
     Gets display name.
public  IntegergetExecutionStrategyCode()
     Gets execution strategy code set.
public  StringgetExecutionStrategyStr()
     Gets execution strategy string value .
public  List<DBTable>getJoinSources()
     get all join sources.
public  SQLObjectgetRootJoin(List<DBTable> sourceTables)
    
public  RuntimeDatabaseModelgetRuntimeDbModel()
    
public  SQLFrameworkParentObjectgetSQLFrameworkParentObject()
    
public  List<DBColumn>getSourceColumns()
    
public  List<SQLDBModel>getSourceDatabaseModels()
    
public  List<DBTable>getSourceTables()
    
public  StringgetTagName()
    
public  List<DBColumn>getTargetColumns()
    
public  List<SQLDBModel>getTargetDatabaseModels()
    
public  List<DBTable>getTargetTables()
    
public  booleanhasValidationConditions()
     Indicates whether this model has data validation conditions.
public  booleanisContainsJavaOperators()
     Check if a java operator is used in the model.
public  ObjectisTableExists(DBTable table)
    
public  voidmigrateFromOlderVersions()
     Applies whatever rules are appropriate to migrate the current object model to the current version of SQLDefinition as implemented by the concrete class.
public  voidoverrideCatalogNamesForDb(Map overrideMapMap)
    
public  voidoverrideSchemaNamesForDb(Map overrideMapMap)
    
public  voidremoveSQLObjectListener(SQLObjectListener listener)
    
public  booleanrequiresPipelineProcess()
     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.
public  voidsetAttribute(String attrName, Object val)
    
public  voidsetContainsJavaOperators(boolean javaOp)
    
public  voidsetDbInstanceName(String dbInstanceName)
    
public  voidsetDisplayName(String newName)
     Sets display name to given value.
public  voidsetExecutionStrategyCode(Integer code)
     Sets the execution strategy.
public  voidsetExecutionStrategyStr(String text)
    
public  voidsetSQLFrameworkParentObject(SQLFrameworkParentObject newParent)
    
public  voidsetVersion(String newVersion)
    
public  voidsetWorkingFolder(String appDataRoot)
    
public  List<ValidationInfo>validate()
     validate the definition starting from the target tables.
public  List<ValidationInfo>validateDbSynchronization()
     Validate Database synchronization.

Field Detail
ATTR_CONTAINS_JAVA_OPERATORS
final public static String ATTR_CONTAINS_JAVA_OPERATORS(Code)



ATTR_DISPLAYNAME
final public static String ATTR_DISPLAYNAME(Code)



ATTR_EXECUTION_STRATEGY_CODE
final public static String ATTR_EXECUTION_STRATEGY_CODE(Code)



ATTR_VERSION
final public static String ATTR_VERSION(Code)



AXION_DB_INSTANCE_NAME
final public static String AXION_DB_INSTANCE_NAME(Code)



AXION_DB_WORKING_FOLDER
final public static String AXION_DB_WORKING_FOLDER(Code)



EXECUTION_STRATEGY_BEST_FIT
final public static int EXECUTION_STRATEGY_BEST_FIT(Code)



EXECUTION_STRATEGY_DEFAULT
final public static int EXECUTION_STRATEGY_DEFAULT(Code)



EXECUTION_STRATEGY_PIPELINE
final public static int EXECUTION_STRATEGY_PIPELINE(Code)



EXECUTION_STRATEGY_RELATIONALMAP
final public static int EXECUTION_STRATEGY_RELATIONALMAP(Code)



EXECUTION_STRATEGY_STAGING
final public static int EXECUTION_STRATEGY_STAGING(Code)



EXECUTION_STRATEGY_WEBBROWSET
final public static int EXECUTION_STRATEGY_WEBBROWSET(Code)



INDENT
final public static String INDENT(Code)
XML formatting constant: indent prefix





Method Detail
addSQLObjectListener
public void addSQLObjectListener(SQLObjectListener listener)(Code)
add an sql object listener
Parameters:
  listener - sql object listener



badgeValidate
public List<ValidationInfo> badgeValidate()(Code)
validate the definition starting from the target tables. Map of invalid input object as keys and reason as value



clearOverride
public void clearOverride(boolean clearCatalog, boolean clearSchema)(Code)
Clear Catalog and Schema names overrides from all DatabaseModel



generateId
public String generateId()(Code)
generate unique id for objects in this sqldefinition



getAllDatabases
public List<SQLDBModel> getAllDatabases()(Code)
Gets the List of Databases java.util.List for this



getAttributeValue
public Object getAttributeValue(String attrName)(Code)



getDBWorkingFolder
public String getDBWorkingFolder()(Code)
getter for axion db working folder



getDbInstanceName
public String getDbInstanceName()(Code)
getter for the axion database instance name



getDisplayName
public String getDisplayName()(Code)
Gets display name. current display name



getExecutionStrategyCode
public Integer getExecutionStrategyCode()(Code)
Gets execution strategy code set.



getExecutionStrategyStr
public String getExecutionStrategyStr()(Code)
Gets execution strategy string value .



getJoinSources
public List<DBTable> getJoinSources()(Code)
get all join sources. This includes tables which are not part of any join view and joinviews. list of join sources



getRootJoin
public SQLObject getRootJoin(List<DBTable> sourceTables) throws BaseException(Code)
Gets the Root SQLJoinOperator object, if any, from the given List
Parameters:
  sourceTables - List of source table SQLObjects SQLObject root join
throws:
  BaseException - if error occurs while resolving root join



getRuntimeDbModel
public RuntimeDatabaseModel getRuntimeDbModel()(Code)
get runtime db model runtime dbmodel



getSQLFrameworkParentObject
public SQLFrameworkParentObject getSQLFrameworkParentObject()(Code)



getSourceColumns
public List<DBColumn> getSourceColumns()(Code)
Gets the List of SourceColumns List, possibly empty, of SourceColumns



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 SQLDefinition override at subclass level to return a different tag name tag name to be used in xml representation of this object



getTargetColumns
public List<DBColumn> getTargetColumns()(Code)
Gets the List of TargetColumns List, possibly empty, of TargetColumns



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



hasValidationConditions
public boolean hasValidationConditions()(Code)
Indicates whether this model has data validation conditions. true if data validation conditions exist; false otherwise



isContainsJavaOperators
public boolean isContainsJavaOperators()(Code)
Check if a java operator is used in the model. true if a java operator is used.



isTableExists
public Object isTableExists(DBTable table) throws BaseException(Code)
Check if a table already exists in this definition
Parameters:
  table - - table Object - the existing table
throws:
  BaseException - - exception



migrateFromOlderVersions
public void migrateFromOlderVersions() throws BaseException(Code)
Applies whatever rules are appropriate to migrate the current object model to the current version of SQLDefinition as implemented by the concrete class.
throws:
  BaseException - if error occurs during migration



overrideCatalogNamesForDb
public void overrideCatalogNamesForDb(Map overrideMapMap)(Code)
Override Catalog names in proper DatabaseModel
Parameters:
  overrideMapMap -



overrideSchemaNamesForDb
public void overrideSchemaNamesForDb(Map overrideMapMap)(Code)
Override Schema names in proper DatabaseModel
Parameters:
  overrideMapMap -



removeSQLObjectListener
public void removeSQLObjectListener(SQLObjectListener listener)(Code)
remove sql object listener
Parameters:
  listener - sql object listener



requiresPipelineProcess
public boolean requiresPipelineProcess()(Code)
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.



setAttribute
public void setAttribute(String attrName, Object val)(Code)



setContainsJavaOperators
public void setContainsJavaOperators(boolean javaOp)(Code)
set it to true if a java operator is used in the model
Parameters:
  javaOp - true if there is a java operator



setDbInstanceName
public void setDbInstanceName(String dbInstanceName)(Code)
sets the name of the axion instance where this etl colloboration is run
Parameters:
  dbInstanceName -



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 the execution strategy.
Parameters:
  code -



setExecutionStrategyStr
public void setExecutionStrategyStr(String text)(Code)
set the condition text
Parameters:
  text - condition text



setSQLFrameworkParentObject
public void setSQLFrameworkParentObject(SQLFrameworkParentObject newParent)(Code)



setVersion
public void setVersion(String newVersion)(Code)



setWorkingFolder
public void setWorkingFolder(String appDataRoot)(Code)
sets the working folder where axion instance will run this colloboration
Parameters:
  appDataRoot -



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



validateDbSynchronization
public List<ValidationInfo> validateDbSynchronization()(Code)
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



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.