Java Doc for DBColumnImpl.java in  » IDE-Netbeans » sql.project » org » netbeans » modules » jdbcwizard » builder » dbmodel » 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 » sql.project » org.netbeans.modules.jdbcwizard.builder.dbmodel.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.jdbcwizard.builder.dbmodel.impl.DBColumnImpl

DBColumnImpl
public class DBColumnImpl implements DBColumn,Cloneable,Comparable(Code)
Interface describing column metadata for JDBC data sources providing information in a database or database-like format.


Field Summary
final public static  intNOT_ASSIGNED
     Constant for this jdbc type not being assigned.
final public static  StringUNKNOWN_TYPE
    
protected  intcardinalPosition
    
protected  booleanchooseSelected
    
protected  StringdefaultValue
    
protected  booleaneditable
    
protected  booleanfkFlag
    
protected  booleanindexed
    
protected  booleaninsertEditable
    
protected  booleaninsertSelected
    
protected  StringjavaName
    
protected  StringjavaType
    
protected  intjdbcType
    
protected  Stringname
    
protected  booleannullable
    
protected  DBTableparent
    
protected  booleanpkFlag
    
protected  booleanpollSelected
    
protected  intprecision
    
protected  intscale
    
protected  StringsqlType
    
protected  booleanupdateSelected
    

Constructor Summary
public  DBColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isNullable)
    
public  DBColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isPrimaryKey, boolean isForeignKey, boolean isIndexed, boolean isNullable)
    
public  DBColumnImpl()
     Creates a new instance of DBColumnImpl, cloning the contents of the given DBColumn implementation instance.

Method Summary
public  Objectclone()
     Clone a deep copy of DBColumn.
public  intcompareTo(Object refObj)
     Compares DBColumn with another object for lexicographical ordering.
public  voidcopyFrom(DBColumn source)
    
public  booleanequals(Object refObj)
     Overrides default implementation to return value based on memberwise comparison.
public  StringgetDefaultValue()
    
public  StringgetJavaName()
     Gets Java name for this table.
public  StringgetJavaType()
     Gets Java type for this table.
public  intgetJdbcType()
    
public  StringgetJdbcTypeString()
    
public  StringgetName()
    
public  intgetOrdinalPosition()
    
public  DBTablegetParent()
    
public  intgetPrecision()
    
public  intgetScale()
    
public  StringgetSqlType()
    
public  inthashCode()
     Returns the hashCode for this object.
public  booleanisChooseSelected()
    
public  booleanisEditable()
    
public  booleanisForeignKey()
    
public  booleanisIndexed()
    
public  booleanisInsertEditable()
    
public  booleanisInsertSelected()
    
public  booleanisNullable()
    
public  booleanisPollSelected()
    
public  booleanisPrimaryKey()
    
public  booleanisSelected()
    
public  booleanisUpdateSelected()
    
public  voidsetChooseSelected(boolean cselect)
    
public  voidsetDefaultValue(String defValue)
    
public  voidsetEditable(boolean cedit)
    
public  voidsetForeignKey(boolean newFlag)
    
public  voidsetIndexed(boolean newFlag)
    
public  voidsetInsertEditable(boolean cedit)
    
public  voidsetInsertSelected(boolean cselect)
    
public  voidsetJavaName(String newName)
     Sets Java name for this table.
public  voidsetJavaType(String newType)
     Sets Java type for this table.
public  voidsetJdbcType(int newType)
    
public  voidsetName(String name)
    
public  voidsetNullable(boolean newFlag)
    
public  voidsetOrdinalPosition(int cardinalPos)
    
public  voidsetParent(DBTable newParent)
    
public  voidsetPollSelected(boolean cselect)
    
public  voidsetPrecision(int newPrec)
     Indicates whether this DBColumn is referenced by the given DBColumn in a FK -> PK relationship.
public  voidsetPrimaryKey(boolean newFlag)
    
public  voidsetScale(int newScale)
    
public  voidsetSelected(boolean cselect)
    
public  voidsetSqlType(String sqlType)
    
public  voidsetUpdateSelected(boolean cselect)
    

Field Detail
NOT_ASSIGNED
final public static int NOT_ASSIGNED(Code)
Constant for this jdbc type not being assigned.



UNKNOWN_TYPE
final public static String UNKNOWN_TYPE(Code)
String constant for unknown SQL type



cardinalPosition
protected int cardinalPosition(Code)



chooseSelected
protected boolean chooseSelected(Code)



defaultValue
protected String defaultValue(Code)



editable
protected boolean editable(Code)
editable



fkFlag
protected boolean fkFlag(Code)
whether this column is part of a foreign key



indexed
protected boolean indexed(Code)
whether this column is indexed



insertEditable
protected boolean insertEditable(Code)
insert editable



insertSelected
protected boolean insertSelected(Code)
selected



javaName
protected String javaName(Code)



javaType
protected String javaType(Code)



jdbcType
protected int jdbcType(Code)
JDBC SQL type, as enumerated in java.sql.Types



name
protected String name(Code)
name of column



nullable
protected boolean nullable(Code)
whether this column can accept null as a valid value



parent
protected DBTable parent(Code)



pkFlag
protected boolean pkFlag(Code)
whether this column is part of a primary key



pollSelected
protected boolean pollSelected(Code)



precision
protected int precision(Code)
column precision (for numeric types) / width (for char types)



scale
protected int scale(Code)
column scale (meaningful only for numeric types)



sqlType
protected String sqlType(Code)



updateSelected
protected boolean updateSelected(Code)




Constructor Detail
DBColumnImpl
public DBColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isNullable)(Code)

Parameters:
  colName -
Parameters:
  sqlJdbcType -
Parameters:
  colScale -
Parameters:
  colPrecision -
Parameters:
  isNullable -



DBColumnImpl
public DBColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isPrimaryKey, boolean isForeignKey, boolean isIndexed, boolean isNullable)(Code)

Parameters:
  colName -
Parameters:
  sqlJdbcType -
Parameters:
  colScale -
Parameters:
  colPrecision -
Parameters:
  isPrimaryKey -
Parameters:
  isForeignKey -
Parameters:
  isIndexed -
Parameters:
  isNullable -



DBColumnImpl
public DBColumnImpl()(Code)
Creates a new instance of DBColumnImpl, cloning the contents of the given DBColumn implementation instance.
Parameters:
  src - DBColumn instance to be cloned




Method Detail
clone
public Object clone()(Code)
Clone a deep copy of DBColumn. a copy of DBColumn.



compareTo
public int compareTo(Object refObj)(Code)
Compares DBColumn with another object for lexicographical ordering. Null objects and those DBColumns 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 name is thesame. 1 if the column name is greater than obj to be compared.



copyFrom
public void copyFrom(DBColumn source)(Code)



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



getDefaultValue
public String getDefaultValue()(Code)
Gets the default value defaultValue



getJavaName
public String getJavaName()(Code)
Gets Java name for this table. normalized Java name for this table



getJavaType
public String getJavaType()(Code)
Gets Java type for this table. normalized Java type for this table



getJdbcType
public int getJdbcType()(Code)

See Also:   com.stc.model.database.DBColumn.getJdbcType



getJdbcTypeString
public String getJdbcTypeString()(Code)

See Also:   com.stc.model.database.DBColumn.getJdbcTypeString



getName
public String getName()(Code)

See Also:   com.stc.model.database.DBColumn.getName



getOrdinalPosition
public int getOrdinalPosition()(Code)
Gets the Ordinal Position
Parameters:
  cardinalPosition - to be used



getParent
public DBTable getParent()(Code)

See Also:   com.stc.model.database.DBColumn.getParent



getPrecision
public int getPrecision()(Code)

See Also:   com.stc.model.database.DBColumn.getPrecision



getScale
public int getScale()(Code)

See Also:   com.stc.model.database.DBColumn.getScale



getSqlType
public String getSqlType()(Code)



hashCode
public int hashCode()(Code)
Returns the hashCode for this object. the hashCode of this object.



isChooseSelected
public boolean isChooseSelected()(Code)
Gets the status of selection of the column seleted



isEditable
public boolean isEditable()(Code)
Gets the status of editing editable



isForeignKey
public boolean isForeignKey()(Code)

See Also:   com.stc.model.database.DBColumn.isForeignKey



isIndexed
public boolean isIndexed()(Code)

See Also:   com.stc.model.database.DBColumn.isIndexed



isInsertEditable
public boolean isInsertEditable()(Code)
Gets the status of Insert editing InsertEditable



isInsertSelected
public boolean isInsertSelected()(Code)
Gets the status of selection of the column seleted



isNullable
public boolean isNullable()(Code)

See Also:   com.stc.model.database.DBColumn.isNullable



isPollSelected
public boolean isPollSelected()(Code)
Gets the status of selection of the column seleted



isPrimaryKey
public boolean isPrimaryKey()(Code)

See Also:   com.stc.model.database.DBColumn.isPrimaryKey



isSelected
public boolean isSelected()(Code)



isUpdateSelected
public boolean isUpdateSelected()(Code)
Gets the status of selection of the column seleted



setChooseSelected
public void setChooseSelected(boolean cselect)(Code)
Sets status of selection of the column table
Parameters:
  the - selection status is set from now on to that of cselect



setDefaultValue
public void setDefaultValue(String defValue)(Code)
sets the default value
Parameters:
  defaultValue - to be set



setEditable
public void setEditable(boolean cedit)(Code)
Sets status of editing the column table
Parameters:
  the - editing status is from now that of cedit



setForeignKey
public void setForeignKey(boolean newFlag)(Code)



setIndexed
public void setIndexed(boolean newFlag)(Code)



setInsertEditable
public void setInsertEditable(boolean cedit)(Code)
Sets status of editing the column table at Insert tab
Parameters:
  the - editing status is from now that of cedit



setInsertSelected
public void setInsertSelected(boolean cselect)(Code)
Sets status of selection of the column table
Parameters:
  the - selection status is set from now on to that of cselect



setJavaName
public void setJavaName(String newName)(Code)
Sets Java name for this table.
Parameters:
  newName - new normalized Java name for this table, or null if original name is to beused.



setJavaType
public void setJavaType(String newType)(Code)
Sets Java type for this table.
Parameters:
  newType - new normalized Java name for this table



setJdbcType
public void setJdbcType(int newType)(Code)



setName
public void setName(String name)(Code)



setNullable
public void setNullable(boolean newFlag)(Code)



setOrdinalPosition
public void setOrdinalPosition(int cardinalPos)(Code)
Gets the Ordinal Position
Parameters:
  cardinalPosition - to be used



setParent
public void setParent(DBTable newParent)(Code)



setPollSelected
public void setPollSelected(boolean cselect)(Code)
Sets status of selection of the column table
Parameters:
  the - selection status is set from now on to that of cselect



setPrecision
public void setPrecision(int newPrec)(Code)
Indicates whether this DBColumn is referenced by the given DBColumn in a FK -> PK relationship.
Parameters:
  column - potential FK reference to be checked true if column is referenced as a PK by the given column, false otherwise



setPrimaryKey
public void setPrimaryKey(boolean newFlag)(Code)



setScale
public void setScale(int newScale)(Code)



setSelected
public void setSelected(boolean cselect)(Code)



setSqlType
public void setSqlType(String sqlType)(Code)

Parameters:
  sqlType -



setUpdateSelected
public void setUpdateSelected(boolean cselect)(Code)
Sets status of selection of the column table
Parameters:
  the - selection status is set from now on to that of cselect



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.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.