Java Doc for ColumnDescriptor.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » iapi » sql » dictionary » 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 » Database DBMS » db derby 10.2 » org.apache.derby.iapi.sql.dictionary 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.derby.iapi.sql.dictionary.TupleDescriptor
      org.apache.derby.iapi.sql.dictionary.ColumnDescriptor

ColumnDescriptor
final public class ColumnDescriptor extends TupleDescriptor (Code)
This class represents a column descriptor. public methods in this class are:
  1. long getAutoincStart()
  2. java.lang.String getColumnName()
  3. DefaultDescriptor getDefaultDescriptor(DataDictionary dd)
  4. DefaultInfo getDefaultInfo
  5. UUID getDefaultUUID
  6. DataValueDescriptor getDefaultValue
  7. int getPosition()
  8. UUID getReferencingUUID()
  9. TableDescriptor getTableDescriptor
  10. DTD getType()
  11. hasNonNullDefault
  12. isAutoincrement
  13. setColumnName
  14. setPosition

author:
   Jeff Lichtman


Field Summary
 longautoinc_create_or_modify_Start_Increment
    

Constructor Summary
public  ColumnDescriptor(String columnName, int columnPosition, DataTypeDescriptor columnType, DataValueDescriptor columnDefault, DefaultInfo columnDefaultInfo, TableDescriptor table, UUID defaultUUID, long autoincStart, long autoincInc, long userChangedWhat)
     Constructor for a ColumnDescriptor when the column involved is an autoincrement column.
public  ColumnDescriptor(String columnName, int columnPosition, DataTypeDescriptor columnType, DataValueDescriptor columnDefault, DefaultInfo columnDefaultInfo, TableDescriptor table, UUID defaultUUID, long autoincStart, long autoincInc)
    
public  ColumnDescriptor(String columnName, int columnPosition, DataTypeDescriptor columnType, DataValueDescriptor columnDefault, DefaultInfo columnDefaultInfo, UUID uuid, UUID defaultUUID, long autoincStart, long autoincInc)
     Constructor for a ColumnDescriptor.

Method Summary
public  longgetAutoincInc()
    
public  longgetAutoincStart()
    
public  longgetAutoinc_create_or_modify_Start_Increment()
    
public  StringgetColumnName()
     Get the name of the column.
public  DefaultDescriptorgetDefaultDescriptor(DataDictionary dd)
     Get a DefaultDescriptor for the default, if any, associated with this column.
public  DefaultInfogetDefaultInfo()
     Get the DefaultInfo for this ColumnDescriptor.
public  UUIDgetDefaultUUID()
     Get the UUID for the column default, if any.
public  DataValueDescriptorgetDefaultValue()
     Get the default value for the column.
public  StringgetDescriptorName()
    
public  StringgetDescriptorType()
    
public  intgetPosition()
    
public  UUIDgetReferencingUUID()
     Get the UUID of the object the column is a part of.
public  TableDescriptorgetTableDescriptor()
     Get the TableDescriptor of the column's table.
public  DataTypeDescriptorgetType()
     Get the TypeDescriptor of the column's datatype.
public  booleanhasNonNullDefault()
     Return whether or not there is a non-null default on this column.
public  booleanisAutoincAlways()
    
public  booleanisAutoincrement()
    
public  voidsetColumnName(String newColumnName)
     Sets the column name in case of rename column.
public  voidsetPosition(int columnPosition)
     Set the ordinal position of the column.
public  voidsetTableDescriptor(TableDescriptor tableDescriptor)
     Sets the table descriptor for the column.
public  StringtoString()
     Convert the ColumnDescriptor to a String.
public  booleanupdatableByCursor()
    

Field Detail
autoinc_create_or_modify_Start_Increment
long autoinc_create_or_modify_Start_Increment(Code)




Constructor Detail
ColumnDescriptor
public ColumnDescriptor(String columnName, int columnPosition, DataTypeDescriptor columnType, DataValueDescriptor columnDefault, DefaultInfo columnDefaultInfo, TableDescriptor table, UUID defaultUUID, long autoincStart, long autoincInc, long userChangedWhat)(Code)
Constructor for a ColumnDescriptor when the column involved is an autoincrement column. The last parameter to this method indicates if an autoincrement column is getting added or if the autoincrement column is being modified to change the increment value or to change the start value
Parameters:
  columnName - The name of the column
Parameters:
  columnPosition - The ordinal position of the column
Parameters:
  columnType - A DataTypeDescriptor for the type ofthe column
Parameters:
  columnDefault - A DataValueDescriptor representing thedefault value of the column, if any(null if no default)
Parameters:
  columnDefaultInfo - The default info for the column.
Parameters:
  table - A TableDescriptor for the table thecolumn is in
Parameters:
  defaultUUID - The UUID for the default, if any.
Parameters:
  autoincStart - Start value for an autoincrement column.
Parameters:
  autoincInc - Increment for autoincrement column
Parameters:
  userChangedWhat - Adding an autoincrement column ORchanging increment value or start value ofthe autoincrement column.



ColumnDescriptor
public ColumnDescriptor(String columnName, int columnPosition, DataTypeDescriptor columnType, DataValueDescriptor columnDefault, DefaultInfo columnDefaultInfo, TableDescriptor table, UUID defaultUUID, long autoincStart, long autoincInc)(Code)
Constructor for a ColumnDescriptor
Parameters:
  columnName - The name of the column
Parameters:
  columnPosition - The ordinal position of the column
Parameters:
  columnType - A DataTypeDescriptor for the type ofthe column
Parameters:
  columnDefault - A DataValueDescriptor representing thedefault value of the column, if any(null if no default)
Parameters:
  columnDefaultInfo - The default info for the column.
Parameters:
  table - A TableDescriptor for the table thecolumn is in
Parameters:
  defaultUUID - The UUID for the default, if any.
Parameters:
  autoincStart - Start value for an autoincrement column.
Parameters:
  autoincInc - Increment for autoincrement column



ColumnDescriptor
public ColumnDescriptor(String columnName, int columnPosition, DataTypeDescriptor columnType, DataValueDescriptor columnDefault, DefaultInfo columnDefaultInfo, UUID uuid, UUID defaultUUID, long autoincStart, long autoincInc)(Code)
Constructor for a ColumnDescriptor. Used when columnDescriptor doesn't know/care about a table descriptor.
Parameters:
  columnName - The name of the column
Parameters:
  columnPosition - The ordinal position of the column
Parameters:
  columnType - A DataTypeDescriptor for the type ofthe column
Parameters:
  columnDefault - A DataValueDescriptor representing thedefault value of the column, if any(null if no default)
Parameters:
  columnDefaultInfo - The default info for the column.
Parameters:
  uuid - A uuid for the object that this columnis in.
Parameters:
  defaultUUID - The UUID for the default, if any.
Parameters:
  autoincStart - Start value for an autoincrement column.
Parameters:
  autoincInc - Increment for autoincrement column




Method Detail
getAutoincInc
public long getAutoincInc()(Code)
Get the Increment value given by the user for an autoincrement column the Increment value for an autoincrement column



getAutoincStart
public long getAutoincStart()(Code)
Get the start value of an autoincrement column Get the start value of an autoincrement column



getAutoinc_create_or_modify_Start_Increment
public long getAutoinc_create_or_modify_Start_Increment()(Code)



getColumnName
public String getColumnName()(Code)
Get the name of the column. A String containing the name of the column.



getDefaultDescriptor
public DefaultDescriptor getDefaultDescriptor(DataDictionary dd)(Code)
Get a DefaultDescriptor for the default, if any, associated with this column.
Parameters:
  dd - The DataDictionary. A DefaultDescriptor if this column has a column default.



getDefaultInfo
public DefaultInfo getDefaultInfo()(Code)
Get the DefaultInfo for this ColumnDescriptor. The DefaultInfo for this ColumnDescriptor.



getDefaultUUID
public UUID getDefaultUUID()(Code)
Get the UUID for the column default, if any. The UUID for the column default, if any.



getDefaultValue
public DataValueDescriptor getDefaultValue()(Code)
Get the default value for the column. For columns with primitive types, the object returned will be of the corresponding object type. For example, for a float column, getDefaultValue() will return a Float. An object with the value and type of the default valuefor the column. Returns NULL if there is no default.



getDescriptorName
public String getDescriptorName()(Code)

See Also:   TupleDescriptor.getDescriptorName
See Also:   



getDescriptorType
public String getDescriptorType()(Code)

See Also:   TupleDescriptor.getDescriptorType
See Also:   



getPosition
public int getPosition()(Code)
Get the ordinal position of the column (1 based) The ordinal position of the column.



getReferencingUUID
public UUID getReferencingUUID()(Code)
Get the UUID of the object the column is a part of. The UUID of the table the column is a part of.



getTableDescriptor
public TableDescriptor getTableDescriptor()(Code)
Get the TableDescriptor of the column's table. The TableDescriptor of the column's table.



getType
public DataTypeDescriptor getType()(Code)
Get the TypeDescriptor of the column's datatype. The TypeDescriptor of the column's datatype.



hasNonNullDefault
public boolean hasNonNullDefault()(Code)
Return whether or not there is a non-null default on this column. Whether or not there is a non-null default on this column.



isAutoincAlways
public boolean isAutoincAlways()(Code)
Is this column to have autoincremented value always ?



isAutoincrement
public boolean isAutoincrement()(Code)
Is this column an autoincrement column? Whether or not this is an autoincrement column



setColumnName
public void setColumnName(String newColumnName)(Code)
Sets the column name in case of rename column.
Parameters:
  newColumnName - The new column name.



setPosition
public void setPosition(int columnPosition)(Code)
Set the ordinal position of the column.



setTableDescriptor
public void setTableDescriptor(TableDescriptor tableDescriptor)(Code)
Sets the table descriptor for the column.
Parameters:
  tableDescriptor - The table descriptor for this column



toString
public String toString()(Code)
Convert the ColumnDescriptor to a String. A String representation of this ColumnDescriptor



updatableByCursor
public boolean updatableByCursor()(Code)



Fields inherited from org.apache.derby.iapi.sql.dictionary.TupleDescriptor
final public static int COLUMN_LIST(Code)(Java Doc)
final public static int CONGLOMERATE_LIST(Code)(Java Doc)
final public static int CONSTRAINT_LIST(Code)(Java Doc)
final public static int TRIGGER_LIST(Code)(Java Doc)

Methods inherited from org.apache.derby.iapi.sql.dictionary.TupleDescriptor
DependableFinder getColumnDependableFinder(int formatId, byte[] columnBitMap)(Code)(Java Doc)
protected DataDictionary getDataDictionary() throws StandardException(Code)(Java Doc)
public DependableFinder getDependableFinder(int formatId)(Code)(Java Doc)
public String getDescriptorName()(Code)(Java Doc)
public String getDescriptorType()(Code)(Java Doc)
public boolean isPersistent()(Code)(Java Doc)
protected void setDataDictionary(DataDictionary dd)(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.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.