Java Doc for CreateTable.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » database » queries » 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 » Web Framework » rife 1.6.1 » com.uwyn.rife.database.queries 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.uwyn.rife.database.queries.AbstractQuery
      com.uwyn.rife.database.queries.CreateTable

CreateTable
public class CreateTable extends AbstractQuery implements Cloneable(Code)
Object representation of a SQL "CREATE TABLE" query.

This object may be used to dynamically construct a SQL statement in a database-independent fashion. After it is finished, it may be executed using com.uwyn.rife.database.DbQueryManager.executeUpdate(Query)DbQueryManager.executeUpdate() .
author:
   Geert Bevin (gbevin[remove] at uwyn dot com)
author:
   Steven Grimm (koreth[remove] at midwinter dot com)
version:
   $Revision: 3750 $
since:
   1.0


Inner Class :public class PrimaryKey extends ColumnsConstraint implements Cloneable
Inner Class :public class ForeignKey extends ColumnsConstraint implements Cloneable
Inner Class :public class UniqueConstraint extends ColumnsConstraint implements Cloneable
Inner Class :public class CheckConstraint extends Constraint implements Cloneable
Inner Class :abstract public class ColumnsConstraint extends Constraint implements Cloneable
Inner Class :abstract public class Constraint implements Cloneable
Inner Class :public class Column implements Cloneable
Inner Class :public static class ViolationAction extends EnumClass
Inner Class :public static class Nullable extends EnumClass

Field Summary
final public static  ViolationActionCASCADE
    
final public static  ViolationActionNOACTION
    
final public static  NullableNOTNULL
    
final public static  NullableNULL
    
final public static  ViolationActionRESTRICT
    
final public static  ViolationActionSETDEFAULT
    
final public static  ViolationActionSETNULL
    

Constructor Summary
public  CreateTable(Datasource datasource)
    

Method Summary
public  CreateTablecheck(String expression)
    
public  CreateTablecheck(String name, String expression)
    
public  voidclear()
    
public  CreateTableclone()
    
public  CreateTablecolumn(String name, Class type)
    
public  CreateTablecolumn(String name, Class type, String typeAttribute)
    
public  CreateTablecolumn(String name, Class type, int precision)
    
public  CreateTablecolumn(String name, Class type, int precision, String typeAttribute)
    
public  CreateTablecolumn(String name, Class type, int precision, int scale)
    
public  CreateTablecolumn(String name, Class type, int precision, int scale, String typeAttribute)
    
public  CreateTablecolumn(String name, Class type, Nullable nullable)
    
public  CreateTablecolumn(String name, Class type, String typeAttribute, Nullable nullable)
    
public  CreateTablecolumn(String name, Class type, int precision, Nullable nullable)
    
public  CreateTablecolumn(String name, Class type, int precision, String typeAttribute, Nullable nullable)
    
public  CreateTablecolumn(String name, Class type, int precision, int scale, Nullable nullable)
    
public  CreateTablecolumn(String name, Class type, int precision, int scale, String typeAttribute, Nullable nullable)
    
public  CreateTablecolumns(Object[] keyValues)
    
public  CreateTablecolumns(Class beanClass)
    
public  CreateTablecolumnsExcluded(Class beanClass, String[] excludedFields)
    
public  CreateTablecolumnsFiltered(Class beanClass, String[] includedFields, String[] excludedFields)
    
public  CreateTablecolumnsIncluded(Class beanClass, String[] includedFields)
    
public  CreateTablecustomAttribute(String name, String attribute)
    
public  CreateTabledefaultFunction(String name, String defaultFunction)
    
public  CreateTabledefaultValue(String name, char value)
    
public  CreateTabledefaultValue(String name, boolean value)
    
public  CreateTabledefaultValue(String name, byte value)
    
public  CreateTabledefaultValue(String name, double value)
    
public  CreateTabledefaultValue(String name, float value)
    
public  CreateTabledefaultValue(String name, int value)
    
public  CreateTabledefaultValue(String name, long value)
    
public  CreateTabledefaultValue(String name, short value)
    
public  CreateTabledefaultValue(String name, Object value)
    
public  CreateTableforeignKey(String foreignTable, String localColumn, String foreignColumn)
    
public  CreateTableforeignKey(String foreignTable, String localColumn, String foreignColumn, ViolationAction onUpdate, ViolationAction onDelete)
    
public  CreateTableforeignKey(String foreignTable, String[] columnsMapping)
    
public  CreateTableforeignKey(String foreignTable, String[] columnsMapping, ViolationAction onUpdate, ViolationAction onDelete)
    
public  CreateTableforeignKey(String name, String foreignTable, String localColumn, String foreignColumn)
    
public  CreateTableforeignKey(String name, String foreignTable, String localColumn, String foreignColumn, ViolationAction onUpdate, ViolationAction onDelete)
    
public  CreateTableforeignKey(String name, String foreignTable, String[] columnsMapping)
    
public  CreateTableforeignKey(String name, String foreignTable, String[] columnsMapping, ViolationAction onUpdate, ViolationAction onDelete)
    
public  CapabilitiesgetCapabilities()
    
public  List<CheckConstraint>getCheckConstraints()
    
public  Map<String, Column>getColumnMapping()
    
public  List<ForeignKey>getForeignKeys()
    
public  List<PrimaryKey>getPrimaryKeys()
    
public  StringgetSql()
    
public  StringgetTable()
    
public  List<UniqueConstraint>getUniqueConstraints()
    
public  booleanisTemporary()
    
public  CreateTablenullable(String name, Nullable nullable)
    
public  CreateTableprecision(String name, int precision)
    
public  CreateTableprecision(String name, int precision, int scale)
    
public  CreateTableprimaryKey(String column)
    
public  CreateTableprimaryKey(String[] columns)
    
public  CreateTableprimaryKey(String name, String column)
    
public  CreateTableprimaryKey(String name, String[] columns)
    
public  CreateTabletable(String table)
    
public  CreateTabletemporary(boolean temporary)
    
public  CreateTableunique(String column)
    
public  CreateTableunique(String[] columns)
    
public  CreateTableunique(String name, String column)
    
public  CreateTableunique(String name, String[] columns)
    

Field Detail
CASCADE
final public static ViolationAction CASCADE(Code)



NOACTION
final public static ViolationAction NOACTION(Code)



NOTNULL
final public static Nullable NOTNULL(Code)



NULL
final public static Nullable NULL(Code)



RESTRICT
final public static ViolationAction RESTRICT(Code)



SETDEFAULT
final public static ViolationAction SETDEFAULT(Code)



SETNULL
final public static ViolationAction SETNULL(Code)




Constructor Detail
CreateTable
public CreateTable(Datasource datasource)(Code)




Method Detail
check
public CreateTable check(String expression)(Code)



check
public CreateTable check(String name, String expression)(Code)



clear
public void clear()(Code)



clone
public CreateTable clone()(Code)



column
public CreateTable column(String name, Class type)(Code)



column
public CreateTable column(String name, Class type, String typeAttribute)(Code)



column
public CreateTable column(String name, Class type, int precision)(Code)



column
public CreateTable column(String name, Class type, int precision, String typeAttribute)(Code)



column
public CreateTable column(String name, Class type, int precision, int scale)(Code)



column
public CreateTable column(String name, Class type, int precision, int scale, String typeAttribute)(Code)



column
public CreateTable column(String name, Class type, Nullable nullable)(Code)



column
public CreateTable column(String name, Class type, String typeAttribute, Nullable nullable)(Code)



column
public CreateTable column(String name, Class type, int precision, Nullable nullable)(Code)



column
public CreateTable column(String name, Class type, int precision, String typeAttribute, Nullable nullable)(Code)



column
public CreateTable column(String name, Class type, int precision, int scale, Nullable nullable)(Code)



column
public CreateTable column(String name, Class type, int precision, int scale, String typeAttribute, Nullable nullable)(Code)



columns
public CreateTable columns(Object[] keyValues)(Code)



columns
public CreateTable columns(Class beanClass) throws DbQueryException(Code)



columnsExcluded
public CreateTable columnsExcluded(Class beanClass, String[] excludedFields) throws DbQueryException(Code)



columnsFiltered
public CreateTable columnsFiltered(Class beanClass, String[] includedFields, String[] excludedFields) throws DbQueryException(Code)



columnsIncluded
public CreateTable columnsIncluded(Class beanClass, String[] includedFields) throws DbQueryException(Code)



customAttribute
public CreateTable customAttribute(String name, String attribute)(Code)



defaultFunction
public CreateTable defaultFunction(String name, String defaultFunction)(Code)



defaultValue
public CreateTable defaultValue(String name, char value)(Code)



defaultValue
public CreateTable defaultValue(String name, boolean value)(Code)



defaultValue
public CreateTable defaultValue(String name, byte value)(Code)



defaultValue
public CreateTable defaultValue(String name, double value)(Code)



defaultValue
public CreateTable defaultValue(String name, float value)(Code)



defaultValue
public CreateTable defaultValue(String name, int value)(Code)



defaultValue
public CreateTable defaultValue(String name, long value)(Code)



defaultValue
public CreateTable defaultValue(String name, short value)(Code)



defaultValue
public CreateTable defaultValue(String name, Object value)(Code)



foreignKey
public CreateTable foreignKey(String foreignTable, String localColumn, String foreignColumn)(Code)



foreignKey
public CreateTable foreignKey(String foreignTable, String localColumn, String foreignColumn, ViolationAction onUpdate, ViolationAction onDelete)(Code)



foreignKey
public CreateTable foreignKey(String foreignTable, String[] columnsMapping)(Code)



foreignKey
public CreateTable foreignKey(String foreignTable, String[] columnsMapping, ViolationAction onUpdate, ViolationAction onDelete)(Code)



foreignKey
public CreateTable foreignKey(String name, String foreignTable, String localColumn, String foreignColumn)(Code)



foreignKey
public CreateTable foreignKey(String name, String foreignTable, String localColumn, String foreignColumn, ViolationAction onUpdate, ViolationAction onDelete)(Code)



foreignKey
public CreateTable foreignKey(String name, String foreignTable, String[] columnsMapping)(Code)



foreignKey
public CreateTable foreignKey(String name, String foreignTable, String[] columnsMapping, ViolationAction onUpdate, ViolationAction onDelete)(Code)



getCapabilities
public Capabilities getCapabilities()(Code)



getCheckConstraints
public List<CheckConstraint> getCheckConstraints()(Code)



getColumnMapping
public Map<String, Column> getColumnMapping()(Code)



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



getPrimaryKeys
public List<PrimaryKey> getPrimaryKeys()(Code)



getSql
public String getSql() throws DbQueryException(Code)



getTable
public String getTable()(Code)



getUniqueConstraints
public List<UniqueConstraint> getUniqueConstraints()(Code)



isTemporary
public boolean isTemporary()(Code)



nullable
public CreateTable nullable(String name, Nullable nullable)(Code)



precision
public CreateTable precision(String name, int precision)(Code)



precision
public CreateTable precision(String name, int precision, int scale)(Code)



primaryKey
public CreateTable primaryKey(String column)(Code)



primaryKey
public CreateTable primaryKey(String[] columns)(Code)



primaryKey
public CreateTable primaryKey(String name, String column)(Code)



primaryKey
public CreateTable primaryKey(String name, String[] columns)(Code)



table
public CreateTable table(String table)(Code)



temporary
public CreateTable temporary(boolean temporary)(Code)



unique
public CreateTable unique(String column)(Code)



unique
public CreateTable unique(String[] columns)(Code)



unique
public CreateTable unique(String name, String column)(Code)



unique
public CreateTable unique(String name, String[] columns)(Code)



Fields inherited from com.uwyn.rife.database.queries.AbstractQuery
protected Datasource mDatasource(Code)(Java Doc)
protected boolean mExcludeUnsupportedCapabilities(Code)(Java Doc)
protected String mSql(Code)(Java Doc)

Methods inherited from com.uwyn.rife.database.queries.AbstractQuery
public void clear()(Code)(Java Doc)
protected void clearGenerated()(Code)(Java Doc)
public AbstractQuery clone()(Code)(Java Doc)
public Datasource getDatasource()(Code)(Java Doc)
public QueryParameters getParameters()(Code)(Java Doc)
public void setExcludeUnsupportedCapabilities(boolean flag)(Code)(Java Doc)
public String toString()(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.