|
|||||||||
| Home >> All >> org >> enableit >> db >> darrt >> [ ext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.enableit.db.darrt.ext
Class DeclarativeDDLGenerator

java.lang.Objectorg.enableit.db.darrt.GenericDDLImpl
org.enableit.db.darrt.ext.DeclarativeDDLGenerator
- All Implemented Interfaces:
- org.enableit.db.darrt.DDLGenerator
- public class DeclarativeDDLGenerator
- extends org.enableit.db.darrt.GenericDDLImpl
RDBMS-specific extensions backed by XML files.
| Field Summary | |
static java.lang.String |
about
CVS info about this class and its current version |
private org.enableit.db.darrt.schema.DarrtDbms |
dbms
The config for this instance. |
private static org.apache.log4j.Logger |
logger
The Log4J Logger doing the logging. |
private java.lang.String |
name
Name of this generator. |
| Fields inherited from class org.enableit.db.darrt.GenericDDLImpl |
EOL, GENERIC |
| Fields inherited from interface org.enableit.db.darrt.DDLGenerator |
NO_DEFINITION_AVAILABLE |
| Constructor Summary | |
DeclarativeDDLGenerator()
Default constructor. |
|
DeclarativeDDLGenerator(java.lang.String resourceName)
Constructor that also sets the resource to configure with. |
|
| Method Summary | |
java.util.List |
getCreate(java.lang.Object dataObject)
Create a database object that does not currently exist. |
java.lang.String |
getDataType(java.lang.String schemaDataType)
Returns this RDBMS' implementation for the JDBC type. |
java.util.List |
getModify(org.enableit.db.darrt.beans.DiffData diff)
Returns the DDL to create the modification between the reference and targets. |
java.lang.String |
getName()
Return the name of this DDLGenerator. |
void |
setResourceName(java.lang.String resourceName)
Sets the resource name to read to instantiate from. |
| Methods inherited from class org.enableit.db.darrt.GenericDDLImpl |
getCreateIndex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
dbms
private org.enableit.db.darrt.schema.DarrtDbms dbms
- The config for this instance.
name
private java.lang.String name
- Name of this generator.
logger
private static org.apache.log4j.Logger logger
- The Log4J
Loggerdoing the logging.
about
public static final java.lang.String about
- CVS info about this class and its current version
- See Also:
- Constant Field Values
| Constructor Detail |
DeclarativeDDLGenerator
public DeclarativeDDLGenerator()
- Default constructor.
DeclarativeDDLGenerator
public DeclarativeDDLGenerator(java.lang.String resourceName)
- Constructor that also sets the resource to configure with.
| Method Detail |
setResourceName
public void setResourceName(java.lang.String resourceName)
- Sets the resource name to read to instantiate from.
getName
public java.lang.String getName()
- Return the name of this DDLGenerator.
getCreate
public java.util.List getCreate(java.lang.Object dataObject)
- Create a database object that does not currently exist.
getModify
public java.util.List getModify(org.enableit.db.darrt.beans.DiffData diff)
- Description copied from interface:
org.enableit.db.darrt.DDLGenerator - Returns the DDL to create the modification between the reference
and targets.
getDataType
public java.lang.String getDataType(java.lang.String schemaDataType)
- Returns this RDBMS' implementation for the JDBC type.
|
|||||||||
| Home >> All >> org >> enableit >> db >> darrt >> [ ext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC