Java Doc for AbstractDBTable.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » model » impl » 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.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject
      org.netbeans.modules.sql.framework.model.impl.AbstractDBTable

All known Subclasses:   org.netbeans.modules.sql.framework.model.impl.TargetTableImpl,  org.netbeans.modules.mashup.db.model.impl.FlatfileDBTableImpl,  org.netbeans.modules.sql.framework.model.impl.SourceTableImpl,
AbstractDBTable
abstract public class AbstractDBTable extends AbstractSQLObject implements SQLDBTable(Code)
Abstract implementation for org.netbeans.modules.model.database.DBTable and SQLObject interfaces.
author:
   Sudhendra Seshachala, Jonathan Giron
version:
   $Revision$

Inner Class :static class StringComparator implements Comparator

Field Summary
final protected static  StringATTR_COMMIT_BATCH_SIZE
     Attribute name for commit batch size.
final protected static  StringCATALOG_NAME_ATTR
     String constant for table catalog name attribute.
final protected static  StringDB_TABLE_REF
     String constants for dbTableRef tag.
final protected static  StringDISPLAY_NAME_ATTR
     String constant for table name attribute.
final protected static  StringID_ATTR
     String constant for table ID attribute.
final protected static  StringINDENT
    
final protected static  intINIT_XMLBUF_SIZE
    
final protected static  StringMODEL_NAME_TAG
     Constant for column model name tag.
final protected static  StringSCHEMA_NAME_ATTR
     String onstant for table schema attribute.
final protected static  StringTABLE_NAME_ATTR
     String constant for table name attribute.
protected  booleanaliasUsed
    
protected  Stringcatalog
     catalog to which this table belongs.
protected  Map<String, DBColumn>columns
     Map of column metadata.
protected  Stringdescription
     User-defined description.
protected  booleaneditable
    
protected  Map<String, ForeignKey>foreignKeys
     Map of names to ForeignKey instances for this table; may be empty.
protected  GUIInfoguiInfo
    
protected  Map<String, Index>indexes
     Map of names to Index instances for this table; may be empty.
protected  Stringname
     Table name as supplied by data source.
protected  booleanoverrideCatalogName
    
protected  booleanoverrideSchemaName
    
protected  StringoverridenCatalogName
    
protected  StringoverridenSchemaName
    
protected  DatabaseModelparentDBModel
    
protected  PrimaryKeyImplprimaryKey
     PrimaryKey for this table; may be null.
protected  Stringschema
     schema to which this table belongs.
protected  booleanselected
    

Constructor Summary
protected  AbstractDBTable()
     No-arg constructor; initializes Collections-related member variables.
protected  AbstractDBTable(DBTable src)
     Creates a new instance of AbstractDBTable, cloning the contents of the given DBTable implementation instance.
protected  AbstractDBTable(String aName, String aSchema, String aCatalog)
     Creates a new instance of AbstractDBTable with the given name.

Method Summary
public  booleanaddColumn(SQLDBColumn theColumn)
     Adds an AbstractDBColumn instance to this table.
Parameters:
  theColumn - column to be added.
public  booleanaddForeignKey(ForeignKeyImpl newFk)
     Adds the given ForeignKeyImpl, associating it with this AbstractDBTable instance.
public  booleanaddIndex(IndexImpl newIndex)
     Adds the given IndexImpl, associating it with this AbstractDBTable instance.
public  voidclearForeignKeys()
     Clears list of foreign keys.
public  voidclearIndexes()
     Clears list of indexes.
public  voidclearOverride(boolean clearCatalogOverride, boolean clearSchemaOverride)
    
public  intcompareTo(Object refObj)
     Compares DBTable with another object for lexicographical ordering.
public  voidcopyFrom(DBTable source)
     Sets the various member variables and collections using the given DBTable instance as a source object.
protected  voiddeepCopyReferences(DBTable source)
     Perform deep copy of columns.
public  booleandeleteAllColumns()
     Deletes all columns associated with this table.
public  booleandeleteColumn(String columnName)
     Deletes DBColumn, if any, associated with the given name from this table.
Parameters:
  columnName - column name to be removed.
public  booleanequals(Object obj)
     Overrides default implementation to return value based on memberwise comparison.
public  StringgetAliasName()
    
public  intgetBatchSize()
    
public  StringgetCatalog()
    
public  List<DBColumn>getChildSQLObjects()
     Gets List of child SQLObjects belonging to this instance.
public  DBColumngetColumn(String columnName)
    
public  List<DBColumn>getColumnList()
    
public  Map<String, DBColumn>getColumns()
    
public  StringgetDescription()
    
public  StringgetDisplayName()
    
protected  StringgetElementTagName()
     Gets String representing tag name for this table class.
public  StringgetFlatFileLocationRuntimeInputName()
     Gets the flat file location runtime input name which is generate when a flat file table is added to collaboration.
public  ForeignKeygetForeignKey(String fkName)
    
public  List<ForeignKey>getForeignKeys()
    
public  StringgetFullyQualifiedName()
    
public  GUIInfogetGUIInfo()
    
public  IndexgetIndex(String indexName)
    
public  List<Index>getIndexes()
    
public synchronized  StringgetName()
    
public  SQLObjectgetObject(String objectId)
    
public  DatabaseModelgetParent()
    
public  PrimaryKeygetPrimaryKey()
    
public  StringgetQualifiedName()
    
public  ForeignKeygetReferenceFor(DBTable target)
    
public  SetgetReferencedTables()
    
public  StringgetRuntimeArgumentName()
    
public  StringgetSchema()
    
public  StringgetStagingTableName()
     Gets the staging table name.
public  StringgetTablePrefix()
    
public  StringgetUniqueTableName()
    
public  StringgetUserDefinedCatalogName()
    
public  StringgetUserDefinedSchemaName()
    
public  StringgetUserDefinedTableName()
    
public  inthashCode()
     Overrides default implementation to compute hashCode value for those members used in equals() for comparison.
public  booleanisAliasUsed()
    
public  booleanisEditable()
    
public  booleanisInputStatic(String inputName)
    
public  booleanisSelected()
    
public  booleanisUsingFullyQualifiedName()
    
public  voidoverrideCatalogName(String nName)
    
public  voidoverrideSchemaName(String nName)
    
protected  voidparseChildren(NodeList childNodeList)
     Parses node elements to extract child components to various collections (columns, PK, FK, indexes).
public  voidparseXML(Element tableElement)
     Parses the XML content, if any, using the given Element as a source for reconstituting the member variables and collections of this instance.
public  booleanreferences(DBTable pkTarget)
    
public  booleanremoveForeignKey(ForeignKeyImpl oldKey)
     Dissociates the given ForeignKeyImpl from this AbstractDBTable instance, removing it from its internal FK collection.
public  voidsetAliasName(String aName)
    
public  voidsetAliasUsed(boolean aliasUsed)
    
public  booleansetAllColumns(Map<String, DBColumn> theColumns)
     Clones contents of the given Map to this table's internal column map, overwriting any previous mappings.
Parameters:
  theColumns - Map of columns to be substituted true if successful.
public  voidsetBatchSize(int newSize)
    
public  voidsetCatalog(String newCatalog)
     Sets catalog name to new value.
protected  voidsetDefaultAttributes()
     Sets default values for attributes defined in this abstract class.
public  voidsetDescription(String newDesc)
     Sets description text for this instance.
public  voidsetEditable(boolean edit)
    
public  voidsetFlatFileLocationRuntimeInputName(String runtimeArgName)
    
public  voidsetForeignKeyMap(Map<String, ForeignKey> fkMap)
    
public  voidsetName(String newName)
     Sets table name to new value.
public  voidsetParent(SQLDBModel newParent)
     Sets parentDBModel DatabaseModel to the given reference.
public  booleansetPrimaryKey(PrimaryKeyImpl newPk)
     Sets PrimaryKey instance for this DBTable to the given instance.
public  voidsetSchema(String newSchema)
     Sets schema name to new value.
public  voidsetSelected(boolean sel)
    
public  voidsetStagingTableName(String stName)
     Sets the staging table name.
public  voidsetTablePrefix(String tPrefix)
    
public  voidsetUserDefinedCatalogName(String newName)
    
public  voidsetUserDefinedSchemaName(String newName)
    
public  voidsetUserDefinedTableName(String newName)
    
public  voidsetUsingFullyQualifiedName(boolean usesFullName)
    
public  StringtoString()
    
public  StringtoXMLString(String prefix)
    
public  StringtoXMLString(String prefix, boolean tableOnly)
     Returns XML representation of table metadata.
Parameters:
  prefix - prefix for the xml.
Parameters:
  tableOnly - flag for generating table only metadata.

Field Detail
ATTR_COMMIT_BATCH_SIZE
final protected static String ATTR_COMMIT_BATCH_SIZE(Code)
Attribute name for commit batch size.



CATALOG_NAME_ATTR
final protected static String CATALOG_NAME_ATTR(Code)
String constant for table catalog name attribute.



DB_TABLE_REF
final protected static String DB_TABLE_REF(Code)
String constants for dbTableRef tag.



DISPLAY_NAME_ATTR
final protected static String DISPLAY_NAME_ATTR(Code)
String constant for table name attribute.



ID_ATTR
final protected static String ID_ATTR(Code)
String constant for table ID attribute.



INDENT
final protected static String INDENT(Code)
String to use in prefixing each line of a generated XML document



INIT_XMLBUF_SIZE
final protected static int INIT_XMLBUF_SIZE(Code)
Initial buffer size for StringBuilder used in marshalling SQLTable to XML



MODEL_NAME_TAG
final protected static String MODEL_NAME_TAG(Code)
Constant for column model name tag.



SCHEMA_NAME_ATTR
final protected static String SCHEMA_NAME_ATTR(Code)
String onstant for table schema attribute.



TABLE_NAME_ATTR
final protected static String TABLE_NAME_ATTR(Code)
String constant for table name attribute.



aliasUsed
protected boolean aliasUsed(Code)
use alias is required : transient variable



catalog
protected String catalog(Code)
catalog to which this table belongs.



columns
protected Map<String, DBColumn> columns(Code)
Map of column metadata.



description
protected String description(Code)
User-defined description.



editable
protected boolean editable(Code)
editable



foreignKeys
protected Map<String, ForeignKey> foreignKeys(Code)
Map of names to ForeignKey instances for this table; may be empty.



guiInfo
protected GUIInfo guiInfo(Code)
Contains UI state information



indexes
protected Map<String, Index> indexes(Code)
Map of names to Index instances for this table; may be empty.



name
protected String name(Code)
Table name as supplied by data source.



overrideCatalogName
protected boolean overrideCatalogName(Code)



overrideSchemaName
protected boolean overrideSchemaName(Code)



overridenCatalogName
protected String overridenCatalogName(Code)



overridenSchemaName
protected String overridenSchemaName(Code)



parentDBModel
protected DatabaseModel parentDBModel(Code)
Model instance that "owns" this table



primaryKey
protected PrimaryKeyImpl primaryKey(Code)
PrimaryKey for this table; may be null.



schema
protected String schema(Code)
schema to which this table belongs.



selected
protected boolean selected(Code)
selected




Constructor Detail
AbstractDBTable
protected AbstractDBTable()(Code)
No-arg constructor; initializes Collections-related member variables.



AbstractDBTable
protected AbstractDBTable(DBTable src)(Code)
Creates a new instance of AbstractDBTable, cloning the contents of the given DBTable implementation instance.
Parameters:
  src - DBTable instance to be 43d



AbstractDBTable
protected AbstractDBTable(String aName, String aSchema, String aCatalog)(Code)
Creates a new instance of AbstractDBTable with the given name.
Parameters:
  aName - name of new DBTable instance
Parameters:
  aSchema - schema of new DBTable instance; may be null
Parameters:
  aCatalog - catalog of new DBTable instance; may be null




Method Detail
addColumn
public boolean addColumn(SQLDBColumn theColumn)(Code)
Adds an AbstractDBColumn instance to this table.
Parameters:
  theColumn - column to be added. true if successful. false if failed.



addForeignKey
public boolean addForeignKey(ForeignKeyImpl newFk)(Code)
Adds the given ForeignKeyImpl, associating it with this AbstractDBTable instance.
Parameters:
  newFk - new ForeignKeyImpl instance to be added return true if addition succeeded, false otherwise



addIndex
public boolean addIndex(IndexImpl newIndex)(Code)
Adds the given IndexImpl, associating it with this AbstractDBTable instance.
Parameters:
  newIndex - new IndexImpl instance to be added return true if addition succeeded, false otherwise



clearForeignKeys
public void clearForeignKeys()(Code)
Clears list of foreign keys.



clearIndexes
public void clearIndexes()(Code)
Clears list of indexes.



clearOverride
public void clearOverride(boolean clearCatalogOverride, boolean clearSchemaOverride)(Code)



compareTo
public int compareTo(Object refObj)(Code)
Compares DBTable with another object for lexicographical ordering. Null objects and those DBTables with null names are placed at the end of any ordered collection using this method.
Parameters:
  refObj - Object to be compared. -1 if the column name is less than obj to be compared. 0 if the column nameis the same. 1 if the column name is greater than obj to be compared.



copyFrom
public void copyFrom(DBTable source)(Code)
Sets the various member variables and collections using the given DBTable instance as a source object. Concrete implementations should override this method, call super.copyFrom(DBColumn) to pick up member variables defined in this class and then implement its own logic for copying member variables defined within itself.
Parameters:
  source - DBTable from which to obtain values for member variables andcollections



deepCopyReferences
protected void deepCopyReferences(DBTable source)(Code)
Perform deep copy of columns.
Parameters:
  source - SQLTable whose columns are to be copied.



deleteAllColumns
public boolean deleteAllColumns()(Code)
Deletes all columns associated with this table. true if all columns were deleted successfully, false otherwise.



deleteColumn
public boolean deleteColumn(String columnName)(Code)
Deletes DBColumn, if any, associated with the given name from this table.
Parameters:
  columnName - column name to be removed. true if successful. false if failed.



equals
public boolean equals(Object obj)(Code)
Overrides default implementation to return value based on memberwise comparison.
Parameters:
  obj - Object against which we compare this instance true if obj is functionally identical to this SQLTable instance; falseotherwise



getAliasName
public String getAliasName()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.getAliasName



getBatchSize
public int getBatchSize()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.getBatchSize



getCatalog
public String getCatalog()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getCatalog



getChildSQLObjects
public List<DBColumn> getChildSQLObjects()(Code)
Gets List of child SQLObjects belonging to this instance. List of child SQLObjects



getColumn
public DBColumn getColumn(String columnName)(Code)
Gets the DBColumn, if any, associated with the given name
Parameters:
  columnName - column name DBColumn associated with columnName, or null if none exists



getColumnList
public List<DBColumn> getColumnList()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getColumnList



getColumns
public Map<String, DBColumn> getColumns()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getColumns



getDescription
public String getDescription()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getDescription



getDisplayName
public String getDisplayName()(Code)
Get display name display name



getElementTagName
protected String getElementTagName()(Code)
Gets String representing tag name for this table class. String representing element tag for this class



getFlatFileLocationRuntimeInputName
public String getFlatFileLocationRuntimeInputName()(Code)
Gets the flat file location runtime input name which is generate when a flat file table is added to collaboration. use this name at runtime for file location passed by eInsight String representing flatfile location runtime input name



getForeignKey
public ForeignKey getForeignKey(String fkName)(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getForeignKey(java.lang.String)



getForeignKeys
public List<ForeignKey> getForeignKeys()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getForeignKeys



getFullyQualifiedName
public String getFullyQualifiedName()(Code)
get table fully qualified name including schema , catalog info fully qualified table name prefixed with alias



getGUIInfo
public GUIInfo getGUIInfo()(Code)

See Also:   SQLCanvasObject.getGUIInfo



getIndex
public Index getIndex(String indexName)(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getIndex



getIndexes
public List<Index> getIndexes()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getIndexes



getName
public synchronized String getName()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getName



getObject
public SQLObject getObject(String objectId)(Code)
Get specified SQL object
Parameters:
  objectId - - object ID SQLObject



getParent
public DatabaseModel getParent()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getParent



getPrimaryKey
public PrimaryKey getPrimaryKey()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getPrimaryKey



getQualifiedName
public String getQualifiedName()(Code)
get table qualified name qualified table name prefixed with alias



getReferenceFor
public ForeignKey getReferenceFor(DBTable target)(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getReferenceFor



getReferencedTables
public Set getReferencedTables()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getReferencedTables



getRuntimeArgumentName
public String getRuntimeArgumentName()(Code)



getSchema
public String getSchema()(Code)

See Also:   org.netbeans.modules.model.database.DBTable.getSchema



getStagingTableName
public String getStagingTableName()(Code)
Gets the staging table name. staging table name



getTablePrefix
public String getTablePrefix()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.getTablePrefix



getUniqueTableName
public String getUniqueTableName()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.getUniqueTableName



getUserDefinedCatalogName
public String getUserDefinedCatalogName()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.getUserDefinedCatalogName



getUserDefinedSchemaName
public String getUserDefinedSchemaName()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.getUserDefinedSchemaName



getUserDefinedTableName
public String getUserDefinedTableName()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.getUserDefinedTableName



hashCode
public int hashCode()(Code)
Overrides default implementation to compute hashCode value for those members used in equals() for comparison. hash code for this object
See Also:   java.lang.Object.hashCode



isAliasUsed
public boolean isAliasUsed()(Code)
Returns the aliasUsed.



isEditable
public boolean isEditable()(Code)
Get editable true/false



isInputStatic
public boolean isInputStatic(String inputName)(Code)



isSelected
public boolean isSelected()(Code)
Get selected selected



isUsingFullyQualifiedName
public boolean isUsingFullyQualifiedName()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.isUsingFullyQualifiedName



overrideCatalogName
public void overrideCatalogName(String nName)(Code)



overrideSchemaName
public void overrideSchemaName(String nName)(Code)



parseChildren
protected void parseChildren(NodeList childNodeList) throws BaseException(Code)
Parses node elements to extract child components to various collections (columns, PK, FK, indexes).
Parameters:
  childNodeList - Nodes to be unmarshalled
throws:
  BaseException - if error occurs while parsing



parseXML
public void parseXML(Element tableElement) 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:
  tableElement - DOM element containing XML marshalled version of a
exception:
  BaseException - thrown while parsing XML, or if member variable element isnull



references
public boolean references(DBTable pkTarget)(Code)

See Also:   org.netbeans.modules.model.database.DBTable.references



removeForeignKey
public boolean removeForeignKey(ForeignKeyImpl oldKey)(Code)
Dissociates the given ForeignKeyImpl from this AbstractDBTable instance, removing it from its internal FK collection.
Parameters:
  oldKey - new ForeignKeyImpl instance to be removed return true if removal succeeded, false otherwise



setAliasName
public void setAliasName(String aName)(Code)
set the alias name for this table
Parameters:
  aName - alias name



setAliasUsed
public void setAliasUsed(boolean aliasUsed)(Code)

Parameters:
  aliasUsed - The aliasUsed to set.



setAllColumns
public boolean setAllColumns(Map<String, DBColumn> theColumns)(Code)
Clones contents of the given Map to this table's internal column map, overwriting any previous mappings.
Parameters:
  theColumns - Map of columns to be substituted true if successful. false if failed.



setBatchSize
public void setBatchSize(int newSize)(Code)



setCatalog
public void setCatalog(String newCatalog)(Code)
Sets catalog name to new value.
Parameters:
  newCatalog - new value for catalog name



setDefaultAttributes
protected void setDefaultAttributes()(Code)
Sets default values for attributes defined in this abstract class.



setDescription
public void setDescription(String newDesc)(Code)
Sets description text for this instance.
Parameters:
  newDesc - new descriptive text



setEditable
public void setEditable(boolean edit)(Code)
Set editable
Parameters:
  edit - - editable



setFlatFileLocationRuntimeInputName
public void setFlatFileLocationRuntimeInputName(String runtimeArgName)(Code)
set flat file location runtime input name which is generate when a flat file table is added to collaboration
Parameters:
  runtimeArgName - name of runtime input argument for flat file location



setForeignKeyMap
public void setForeignKeyMap(Map<String, ForeignKey> fkMap)(Code)



setName
public void setName(String newName)(Code)
Sets table name to new value.
Parameters:
  newName - new value for table name



setParent
public void setParent(SQLDBModel newParent)(Code)
Sets parentDBModel DatabaseModel to the given reference.
Parameters:
  newParent - new DatabaseModel parentDBModel



setPrimaryKey
public boolean setPrimaryKey(PrimaryKeyImpl newPk)(Code)
Sets PrimaryKey instance for this DBTable to the given instance.
Parameters:
  newPk - new PrimaryKey instance to be associated true if association succeeded, false otherwise



setSchema
public void setSchema(String newSchema)(Code)
Sets schema name to new value.
Parameters:
  newSchema - new value for schema name



setSelected
public void setSelected(boolean sel)(Code)
Set selected
Parameters:
  sel - - selected



setStagingTableName
public void setStagingTableName(String stName)(Code)
Sets the staging table name.
Parameters:
  stName - staging table name



setTablePrefix
public void setTablePrefix(String tPrefix)(Code)



setUserDefinedCatalogName
public void setUserDefinedCatalogName(String newName)(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.setUserDefinedCatalogName(java.lang.String)



setUserDefinedSchemaName
public void setUserDefinedSchemaName(String newName)(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.setUserDefinedSchemaName(java.lang.String)



setUserDefinedTableName
public void setUserDefinedTableName(String newName)(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.setUserDefinedTableName(java.lang.String)



setUsingFullyQualifiedName
public void setUsingFullyQualifiedName(boolean usesFullName)(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLDBTable.setUsingFullyQualifiedName(boolean)



toString
public String toString()(Code)
Overrides default implementation to return appropriate display name of this DBTable qualified table name.



toXMLString
public String toXMLString(String prefix) throws BaseException(Code)

See Also:   SQLObject.toXMLString



toXMLString
public String toXMLString(String prefix, boolean tableOnly) throws BaseException(Code)
Returns XML representation of table metadata.
Parameters:
  prefix - prefix for the xml.
Parameters:
  tableOnly - flag for generating table only metadata. XML representation of the table metadata.
exception:
  BaseException - - exception



Fields inherited from org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject
protected Map attributes(Code)(Java Doc)
protected transient String displayName(Code)(Java Doc)
protected transient String id(Code)(Java Doc)
protected transient String objectType(Code)(Java Doc)
protected transient Object parentObject(Code)(Java Doc)
protected int type(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject
public Object cloneSQLObject() throws CloneNotSupportedException(Code)(Java Doc)
public void copyFromSource(SQLObject source)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public Attribute getAttribute(String attrName)(Code)(Java Doc)
public Collection getAttributeNames()(Code)(Java Doc)
public Object getAttributeObject(String attrName)(Code)(Java Doc)
public List getChildSQLObjects()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public String getFooter()(Code)(Java Doc)
public String getHeader()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public int getJdbcType()(Code)(Java Doc)
public int getObjectType()(Code)(Java Doc)
public SQLObject getOutput(String argName) throws BaseException(Code)(Java Doc)
public Object getParentObject()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
protected void parseCommonAttributesAndTags(Element xmlElement) throws BaseException(Code)(Java Doc)
public void parseXML(Element xmlElement) throws BaseException(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void secondPassParse(Element element) throws BaseException(Code)(Java Doc)
public void setAttribute(String attrName, Object val)(Code)(Java Doc)
public void setDisplayName(String newName)(Code)(Java Doc)
public void setId(String newId) throws BaseException(Code)(Java Doc)
public void setJdbcType(int newType)(Code)(Java Doc)
public void setParentObject(Object newParent) throws BaseException(Code)(Java Doc)
protected String toXMLAttributeTags(String prefix)(Code)(Java Doc)
public String toXMLString(String prefix) throws BaseException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www__._j__a__v_a__2s__.c__o___m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.