Java Doc for Schemes.java in  » Database-ORM » MMBase » org » mmbase » storage » implementation » database » 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 ORM » MMBase » org.mmbase.storage.implementation.database 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.mmbase.storage.implementation.database.Schemes

Schemes
final public class Schemes (Code)
This class defines the scheme names and defaults used by the default database storage manager classes. Specific storage managers may add their own schemes, or not use schemes at all.
author:
   Pierre van Rooden
since:
   MMBase-1.7
version:
   $Id: Schemes.java,v 1.21 2006/04/06 17:40:20 pierre Exp $


Field Summary
final public static  StringCHANGE_FIELD
     Name of the scheme for changing a field.
final public static  StringCHANGE_FIELD_DEFAULT
     The default scheme for changing a field.
final public static  StringCREATE_CONSTRAINT
     Name of the scheme for creating (adding) a constraint, such as a key or index.
final public static  StringCREATE_CONSTRAINT_DEFAULT
     The default scheme for creating (adding) a constraint.
final public static  StringCREATE_DELETE_TRIGGER
     Name of the scheme for creating an 'delete' trigger for a view.
final public static  StringCREATE_DELETE_TRIGGER_DEFAULT
    
final public static  StringCREATE_FIELD
     Name of the scheme for creating (adding) a field.
final public static  StringCREATE_FIELD_DEFAULT
     The default scheme for creating (adding) a field.
final public static  StringCREATE_FOREIGN_KEY
     Name of the partial scheme for creating a foreign (referential) key.
final public static  StringCREATE_FOREIGN_KEY_DEFAULT
     The default scheme for selecting a node type.
final public static  StringCREATE_INDEX
     Name of the scheme for creating an index for a field.
final public static  StringCREATE_INDEX_DEFAULT
    
final public static  StringCREATE_INSERT_TRIGGER
     Name of the scheme for creating an 'insert' trigger for a view.
final public static  StringCREATE_INSERT_TRIGGER_DEFAULT
    
final public static  StringCREATE_OBJECT_ROW_TYPE
     Name of the scheme for creating a row type.
final public static  StringCREATE_OBJECT_TABLE
     Name of the scheme for creating a table. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the table for
  • {2} the field definitions (excluding simple index definitions) A comma-seperated list, which is preceded by a comma UNLESS there is a rowtype scheme defined
  • {3} the simple index definitions
  • {4} the field definitions, including simple index definitions A comma-seperated list, which is preceded by a comma UNLESS there is a rowtype scheme defined, and no other field definitions.
  • {5} the constraint definitions
  • You can set up your scheme to create extended tables (i.e.
    final public static  StringCREATE_OBJECT_TABLE_DEFAULT
         The default scheme for creating a table.
    final public static  StringCREATE_PRIMARY_KEY
         Name of the partial scheme for creating a primary key.
    final public static  StringCREATE_PRIMARY_KEY_DEFAULT
         The default scheme for creating a prinary key.
    final public static  StringCREATE_ROW_TYPE
         Name of the scheme for creating a row type.
    final public static  StringCREATE_SEQUENCE
        
    final public static  StringCREATE_SEQUENCE_DEFAULT
         The default scheme for creating a sequence table.
    final public static  StringCREATE_TABLE
         Name of the scheme for creating a table. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the table name of the builder to create the table for
  • {2} the field definitions (excluding simple index definitions)
  • {3} the simple index definitions. A comma-seperated list, which is preceded by a comma UNLESS there is a rowtype scheme defined
  • {4} the field definitions, including simple index definitions
  • {5} constraint definitions A comma-seperated list, which is preceded by a comma UNLESS there is a rowtype scheme defined, and no other field definitions.
  • {6} the table name of the builder that this table extends from
  • {7} the database name or catalog
  • You can set up your scheme to create extended tables (i.e.
    final public static  StringCREATE_TABLE_DEFAULT
         The default scheme for creating a table.
    final public static  StringCREATE_UNIQUE_INDEX
         Name of the scheme for creating a unique (generally composite) index.
    final public static  StringCREATE_UNIQUE_INDEX_DEFAULT
         The default scheme for creating a composite key.
    final public static  StringCREATE_UNIQUE_KEY
         Name of the partial scheme for creating a unique key.
    final public static  StringCREATE_UNIQUE_KEY_DEFAULT
         The default scheme for selecting a node type.
    final public static  StringCREATE_UPDATE_TRIGGER
         Name of the scheme for creating an 'update' trigger for a view.
    final public static  StringCREATE_UPDATE_TRIGGER_DEFAULT
        
    final public static  StringCREATE_VIEW
         Name of the scheme for creating a view.
    final public static  StringCREATE_VIEW_DEFAULT
        
    final public static  StringDELETE_CONSTRAINT
         Name of the scheme for deleting a constraint, such as a key or index.
    final public static  StringDELETE_CONSTRAINT_DEFAULT
         The default scheme for deleting a constraint.
    final public static  StringDELETE_FIELD
         Name of the scheme for deleting a field.
    final public static  StringDELETE_FIELD_DEFAULT
         The default scheme for deleting a field.
    final public static  StringDELETE_INDEX
         Name of the scheme for deleting a index.
    final public static  StringDELETE_INDEX_DEFAULT
         The default scheme for deleting a constraint.
    final public static  StringDELETE_NODE
         Name of the scheme for selecting a node type.
    final public static  StringDELETE_NODE_DEFAULT
         The default scheme for selecting a node type.
    final public static  StringDELETE_UNIQUE_INDEX
         Name of the scheme for deleting a unique (generally composite) index.
    final public static  StringDELETE_UNIQUE_INDEX_DEFAULT
         The default scheme for deleting a constraint.
    final public static  StringDROP_ROW_TYPE
         Name of the scheme for dropping a row type.
    final public static  StringDROP_TABLE
         Name of the scheme for dropping a table.
    final public static  StringDROP_TABLE_DEFAULT
         The default scheme for reading a text field.
    final public static  StringGET_BINARY_DATA
         Name of the scheme for reading a binary field from a node.
    final public static  StringGET_BINARY_DATA_DEFAULT
         The default scheme for reading a binary field.
    final public static  StringGET_TABLE_SIZE
         Name of the scheme for obtaining the size of a (builder) table.
    final public static  StringGET_TABLE_SIZE_DEFAULT
         The default scheme for reading a text field.
    final public static  StringGET_TEXT_DATA
         Name of the scheme for reading a text field from a node.
    final public static  StringGET_TEXT_DATA_DEFAULT
         The default scheme for reading a text field.
    final public static  StringINIT_SEQUENCE
        
    final public static  StringINIT_SEQUENCE_DEFAULT
         The default scheme for initializing a sequence table.
    final public static  StringINSERT_NODE
         Name of the scheme for inserting a node.
    final public static  StringINSERT_NODE_DEFAULT
         The default scheme for inserting a node type.
    final public static  StringREAD_SEQUENCE
         Name of the scheme for retrieving the key from sequence or number table The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the (suggested) name of the primary key field ('number')
  • {2} the sequence buffer size (nr of keys that MMBase caches in the storage layer).
  • final public static  StringREAD_SEQUENCE_DEFAULT
         The default scheme for retrieving the key from a sequence table.
    final public static  StringSELECT_NODE
         Name of the scheme for selecting a node.
    final public static  StringSELECT_NODE_DEFAULT
         The default scheme for selecting a node.
    final public static  StringSELECT_NODE_TYPE
         Name of the scheme for selecting a node type.
    final public static  StringSELECT_NODE_TYPE_DEFAULT
         The default scheme for selecting a node type.
    final public static  StringUPDATE_NODE
         Name of the scheme for updating a node type.
    final public static  StringUPDATE_NODE_DEFAULT
         The default scheme for updating a node type.
    final public static  StringUPDATE_SEQUENCE
         Name of the scheme for updating a sequence or number table The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the (suggested) name of the primary key field ('number')
  • {2} the sequence buffer size (nr of keys that MMBase caches in the storage layer).
  • final public static  StringUPDATE_SEQUENCE_DEFAULT
         The default scheme for updating a sequence table.



    Field Detail
    CHANGE_FIELD
    final public static String CHANGE_FIELD(Code)
    Name of the scheme for changing a field. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder of the field
  • {2} the field name
  • {3} the field definition (excluding simple index definitions)



  • CHANGE_FIELD_DEFAULT
    final public static String CHANGE_FIELD_DEFAULT(Code)
    The default scheme for changing a field.



    CREATE_CONSTRAINT
    final public static String CREATE_CONSTRAINT(Code)
    Name of the scheme for creating (adding) a constraint, such as a key or index. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder of the field
  • {2} the constraint definition



  • CREATE_CONSTRAINT_DEFAULT
    final public static String CREATE_CONSTRAINT_DEFAULT(Code)
    The default scheme for creating (adding) a constraint.



    CREATE_DELETE_TRIGGER
    final public static String CREATE_DELETE_TRIGGER(Code)
    Name of the scheme for creating an 'delete' trigger for a view. The parameters accepted are:
    • {0} the storage manager (StorageManager), or the basename for tables (String)
    • {1} the name of the view to create the trigger on
    • {2} the name of the table in which the fields for this view are stored
    • {3} the name of the view/table that this builder exntends from
    • {4} the name of the number field that joins the tables in the views
    • {5} the name of the trigger



    CREATE_DELETE_TRIGGER_DEFAULT
    final public static String CREATE_DELETE_TRIGGER_DEFAULT(Code)



    CREATE_FIELD
    final public static String CREATE_FIELD(Code)
    Name of the scheme for creating (adding) a field. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder of the field
  • {2} the field name
  • {3} the field definition (excluding simple index definitions)



  • CREATE_FIELD_DEFAULT
    final public static String CREATE_FIELD_DEFAULT(Code)
    The default scheme for creating (adding) a field.



    CREATE_FOREIGN_KEY
    final public static String CREATE_FOREIGN_KEY(Code)
    Name of the partial scheme for creating a foreign (referential) key. This a partial scheme that is typically included in an CREATE TABLE or ALTER TABLE scheme. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the key for
  • {2} the field to create the key for
  • {3} the basic storage element referenced (name of the object table)
  • {4} the name of the number field
  • {5} the name of the foreign key (may be unspecified)



  • CREATE_FOREIGN_KEY_DEFAULT
    final public static String CREATE_FOREIGN_KEY_DEFAULT(Code)
    The default scheme for selecting a node type.



    CREATE_INDEX
    final public static String CREATE_INDEX(Code)
    Name of the scheme for creating an index for a field. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the key for
  • {2} the field (or fieldlist) to create the key for
  • {3} the index name



  • CREATE_INDEX_DEFAULT
    final public static String CREATE_INDEX_DEFAULT(Code)
    The default scheme for creating an index



    CREATE_INSERT_TRIGGER
    final public static String CREATE_INSERT_TRIGGER(Code)
    Name of the scheme for creating an 'insert' trigger for a view. The parameters accepted are:
    • {0} the storage manager (StorageManager), or the basename for tables (String)
    • {1} the name of the view to create the trigger on
    • {2} the name of the table in which the fields for this view are stored
    • {3} the name of the view/table that this builder extends from
    • {4} the list of fields of the table {2}
    • {5} the list of values of the table {2}
    • {6} the list of fields of the view {3}
    • {7} the list of values of the table {3}
    • {8} the name of the trigger



    CREATE_INSERT_TRIGGER_DEFAULT
    final public static String CREATE_INSERT_TRIGGER_DEFAULT(Code)



    CREATE_OBJECT_ROW_TYPE
    final public static String CREATE_OBJECT_ROW_TYPE(Code)
    Name of the scheme for creating a row type. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the row type for
  • {2} the field definitions (excluding index definitions)
  • This attribute is optional, and there is no default for this scheme. An example (for Informix):

    CREATE ROW TYPE {1}_t ({2})




    CREATE_OBJECT_TABLE
    final public static String CREATE_OBJECT_TABLE(Code)
    Name of the scheme for creating a table. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the table for
  • {2} the field definitions (excluding simple index definitions) A comma-seperated list, which is preceded by a comma UNLESS there is a rowtype scheme defined
  • {3} the simple index definitions
  • {4} the field definitions, including simple index definitions A comma-seperated list, which is preceded by a comma UNLESS there is a rowtype scheme defined, and no other field definitions.
  • {5} the constraint definitions
  • You can set up your scheme to create extended tables (i.e. in Postgresql). You also can define indexes or fields seperate (i.e. in HSQL or in a create table after a create row type in Informix) or in one go (as you might do with MySQL).



    CREATE_OBJECT_TABLE_DEFAULT
    final public static String CREATE_OBJECT_TABLE_DEFAULT(Code)
    The default scheme for creating a table.



    CREATE_PRIMARY_KEY
    final public static String CREATE_PRIMARY_KEY(Code)
    Name of the partial scheme for creating a primary key. This a partial scheme that is typically included in an CREATE TABLE or ALTER TABLE scheme. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the key for
  • {2} the field to create the key for



  • CREATE_PRIMARY_KEY_DEFAULT
    final public static String CREATE_PRIMARY_KEY_DEFAULT(Code)
    The default scheme for creating a prinary key.



    CREATE_ROW_TYPE
    final public static String CREATE_ROW_TYPE(Code)
    Name of the scheme for creating a row type. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the row type for
  • {2} the field definitions (excluding index definitions)
  • {3} the builder that this rowtype extends from
  • This attribute is optional, and there is no default for this scheme. An example (for Informix):

    CREATE ROW TYPE {1}_t ({2}) EXTENDS {3}_t




    CREATE_SEQUENCE
    final public static String CREATE_SEQUENCE(Code)
    Name of the scheme for creating a sequence or number table The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the (suggested) field definition of the primary key field ('number')
  • {2} the database name or catalog



  • CREATE_SEQUENCE_DEFAULT
    final public static String CREATE_SEQUENCE_DEFAULT(Code)
    The default scheme for creating a sequence table.



    CREATE_TABLE
    final public static String CREATE_TABLE(Code)
    Name of the scheme for creating a table. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the table name of the builder to create the table for
  • {2} the field definitions (excluding simple index definitions)
  • {3} the simple index definitions. A comma-seperated list, which is preceded by a comma UNLESS there is a rowtype scheme defined
  • {4} the field definitions, including simple index definitions
  • {5} constraint definitions A comma-seperated list, which is preceded by a comma UNLESS there is a rowtype scheme defined, and no other field definitions.
  • {6} the table name of the builder that this table extends from
  • {7} the database name or catalog
  • You can set up your scheme to create extended tables (i.e. in Postgresql). You also can define indexes or fields seperate (i.e. in HSQL or in a create table after a create row type in Informix) or in one go (as you might do with MySQL).



    CREATE_TABLE_DEFAULT
    final public static String CREATE_TABLE_DEFAULT(Code)
    The default scheme for creating a table.



    CREATE_UNIQUE_INDEX
    final public static String CREATE_UNIQUE_INDEX(Code)
    Name of the scheme for creating a unique (generally composite) index. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the key for
  • {2} the fieldlist to create the key for
  • {3} the index name



  • CREATE_UNIQUE_INDEX_DEFAULT
    final public static String CREATE_UNIQUE_INDEX_DEFAULT(Code)
    The default scheme for creating a composite key.



    CREATE_UNIQUE_KEY
    final public static String CREATE_UNIQUE_KEY(Code)
    Name of the partial scheme for creating a unique key. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to create the key for
  • {2} the field to create the key for



  • CREATE_UNIQUE_KEY_DEFAULT
    final public static String CREATE_UNIQUE_KEY_DEFAULT(Code)
    The default scheme for selecting a node type.



    CREATE_UPDATE_TRIGGER
    final public static String CREATE_UPDATE_TRIGGER(Code)
    Name of the scheme for creating an 'update' trigger for a view. The parameters accepted are:
    • {0} the storage manager (StorageManager), or the basename for tables (String)
    • {1} the name of the view to create the trigger on
    • {2} the name of the table in which the fields for this view are stored
    • {3} the name of the view/table that this builder extends from
    • {4} the list 'SET' statements for table {2}
    • {5} the list 'SET' statements for table {3}
    • {6} the name of the number field that joins the tables in the views
    • {7} the name of the trigger



    CREATE_UPDATE_TRIGGER_DEFAULT
    final public static String CREATE_UPDATE_TRIGGER_DEFAULT(Code)



    CREATE_VIEW
    final public static String CREATE_VIEW(Code)
    Name of the scheme for creating a view. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the view name of the builder to create the view for
  • {2} the table name of the builder to create the view for
  • {3} the fields in view
  • {4} the fields from tables
  • {5} the number field
  • {6} the table name of the builder that this table extends from
  • {7} the database name or catalog



  • CREATE_VIEW_DEFAULT
    final public static String CREATE_VIEW_DEFAULT(Code)



    DELETE_CONSTRAINT
    final public static String DELETE_CONSTRAINT(Code)
    Name of the scheme for deleting a constraint, such as a key or index. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder of the field
  • {2} the constraint name



  • DELETE_CONSTRAINT_DEFAULT
    final public static String DELETE_CONSTRAINT_DEFAULT(Code)
    The default scheme for deleting a constraint.



    DELETE_FIELD
    final public static String DELETE_FIELD(Code)
    Name of the scheme for deleting a field. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder of the field
  • {2} the field



  • DELETE_FIELD_DEFAULT
    final public static String DELETE_FIELD_DEFAULT(Code)
    The default scheme for deleting a field.



    DELETE_INDEX
    final public static String DELETE_INDEX(Code)
    Name of the scheme for deleting a index. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder of the field
  • {2} the index name



  • DELETE_INDEX_DEFAULT
    final public static String DELETE_INDEX_DEFAULT(Code)
    The default scheme for deleting a constraint.



    DELETE_NODE
    final public static String DELETE_NODE(Code)
    Name of the scheme for selecting a node type. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to delete the node from (MMObjectBuilder), or the builder table name (String)
  • {2} the 'number' field (CoreField), or the database field name (String)
  • {3} the number of the object to update (Integer)



  • DELETE_NODE_DEFAULT
    final public static String DELETE_NODE_DEFAULT(Code)
    The default scheme for selecting a node type.



    DELETE_UNIQUE_INDEX
    final public static String DELETE_UNIQUE_INDEX(Code)
    Name of the scheme for deleting a unique (generally composite) index. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder of the field
  • {2} the index name



  • DELETE_UNIQUE_INDEX_DEFAULT
    final public static String DELETE_UNIQUE_INDEX_DEFAULT(Code)
    The default scheme for deleting a constraint.



    DROP_ROW_TYPE
    final public static String DROP_ROW_TYPE(Code)
    Name of the scheme for dropping a row type. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to drop teh rowtype of (MMObjectBuilder), or the builder table name (String)



  • DROP_TABLE
    final public static String DROP_TABLE(Code)
    Name of the scheme for dropping a table. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to drop (MMObjectBuilder), or the builder table name (String)



  • DROP_TABLE_DEFAULT
    final public static String DROP_TABLE_DEFAULT(Code)
    The default scheme for reading a text field.



    GET_BINARY_DATA
    final public static String GET_BINARY_DATA(Code)
    Name of the scheme for reading a binary field from a node. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to delete the node from (MMObjectBuilder), or the builder table name (String)
  • {2} the binary field (CoreField), or the binary field name (String)
  • {3} the 'number' field (CoreField), or the database field name (String)
  • {4} the number of the object to update (Integer)



  • GET_BINARY_DATA_DEFAULT
    final public static String GET_BINARY_DATA_DEFAULT(Code)
    The default scheme for reading a binary field.



    GET_TABLE_SIZE
    final public static String GET_TABLE_SIZE(Code)
    Name of the scheme for obtaining the size of a (builder) table. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to count the node of (MMObjectBuilder), or the builder table name (String)



  • GET_TABLE_SIZE_DEFAULT
    final public static String GET_TABLE_SIZE_DEFAULT(Code)
    The default scheme for reading a text field.



    GET_TEXT_DATA
    final public static String GET_TEXT_DATA(Code)
    Name of the scheme for reading a text field from a node. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to delete the node from (MMObjectBuilder), or the builder table name (String)
  • {2} the text field (CoreField), or the text field name (String)
  • {3} the 'number' field (CoreField), or the database field name (String)
  • {4} the number of the object to update (Integer)



  • GET_TEXT_DATA_DEFAULT
    final public static String GET_TEXT_DATA_DEFAULT(Code)
    The default scheme for reading a text field.



    INIT_SEQUENCE
    final public static String INIT_SEQUENCE(Code)
    Name of the scheme for initializing a sequence or number table The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the (suggested) name of the primary key field ('number')
  • {2} the value to init the sequence to
  • {3} a default 'increment'



  • INIT_SEQUENCE_DEFAULT
    final public static String INIT_SEQUENCE_DEFAULT(Code)
    The default scheme for initializing a sequence table.



    INSERT_NODE
    final public static String INSERT_NODE(Code)
    Name of the scheme for inserting a node. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to update (MMObjectBuilder), or the builder table name (String)
  • {2} A comma-separated list of fieldnames to update'
  • {3} A comma-separated list of value-placeholders to update (a value placehodler takes the format '?')



  • INSERT_NODE_DEFAULT
    final public static String INSERT_NODE_DEFAULT(Code)
    The default scheme for inserting a node type.



    READ_SEQUENCE
    final public static String READ_SEQUENCE(Code)
    Name of the scheme for retrieving the key from sequence or number table The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the (suggested) name of the primary key field ('number')
  • {2} the sequence buffer size (nr of keys that MMBase caches in the storage layer).



  • READ_SEQUENCE_DEFAULT
    final public static String READ_SEQUENCE_DEFAULT(Code)
    The default scheme for retrieving the key from a sequence table.



    SELECT_NODE
    final public static String SELECT_NODE(Code)
    Name of the scheme for selecting a node. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to query (MMObjectBuilder), or the builder table name (String)
  • {2} the 'number' field (CoreField), or the database field name (String)
  • {3} the number to locate (Integer)



  • SELECT_NODE_DEFAULT
    final public static String SELECT_NODE_DEFAULT(Code)
    The default scheme for selecting a node.



    SELECT_NODE_TYPE
    final public static String SELECT_NODE_TYPE(Code)
    Name of the scheme for selecting a node type. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the MMBase module (MMBase), or the object table name (String)
  • {2} the 'number' field (CoreField), or the database field name (String)
  • {3} the number to locate (Integer)



  • SELECT_NODE_TYPE_DEFAULT
    final public static String SELECT_NODE_TYPE_DEFAULT(Code)
    The default scheme for selecting a node type.



    UPDATE_NODE
    final public static String UPDATE_NODE(Code)
    Name of the scheme for updating a node type. The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the builder to update (MMObjectBuilder), or the builder table name (String)
  • {2} A comma-separated list of fields to update, in the format 'fieldname = ?'
  • {3} the 'number' field (CoreField), or the database field name (String)
  • {4} the number of the object to update (Integer)



  • UPDATE_NODE_DEFAULT
    final public static String UPDATE_NODE_DEFAULT(Code)
    The default scheme for updating a node type.



    UPDATE_SEQUENCE
    final public static String UPDATE_SEQUENCE(Code)
    Name of the scheme for updating a sequence or number table The parameters accepted are:
  • {0} the storage manager (StorageManager), or the basename for tables (String)
  • {1} the (suggested) name of the primary key field ('number')
  • {2} the sequence buffer size (nr of keys that MMBase caches in the storage layer).



  • UPDATE_SEQUENCE_DEFAULT
    final public static String UPDATE_SEQUENCE_DEFAULT(Code)
    The default scheme for updating a sequence table.





    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.