org.brains2b.squeler.ddl
Class CodeDDL
java.lang.Object
org.brains2b.squeler.ddl.CodeDDL
- All Implemented Interfaces:
- org.brains2b.sql.meta.SQLMetaModel, DDLDefinition
public class CodeDDL
- extends java.lang.Object
- implements DDLDefinition
[Short description]
[Long description]
- Version:
- $Revision: 1.3 $ $Date: 2009/09/15 10:49:49 $
- Author:
- dennis@brains2b.nl
Constructor Summary |
CodeDDL()
|
CodeDDL(org.brains2b.sql.SQLRecord record)
|
CodeDDL(java.lang.String type,
java.lang.String name,
java.lang.String text,
boolean useHeader,
boolean replaceable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CodeDDL
public CodeDDL()
CodeDDL
public CodeDDL(org.brains2b.sql.SQLRecord record)
CodeDDL
public CodeDDL(java.lang.String type,
java.lang.String name,
java.lang.String text,
boolean useHeader,
boolean replaceable)
getStatement
public java.lang.StringBuffer getStatement()
throws SquelerDDLException
- Specified by:
getStatement
in interface DDLDefinition
- Throws:
SquelerDDLException
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.brains2b.sql.meta.SQLMetaModel
setName
public void setName(java.lang.String name)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getType
public java.lang.String getType()
- Specified by:
getType
in interface org.brains2b.sql.meta.SQLMetaModel
setType
public void setType(java.lang.String type)
isUseHeader
public boolean isUseHeader()
setUseHeader
public void setUseHeader(boolean useHeader)
isReplaceable
public boolean isReplaceable()
- Specified by:
isReplaceable
in interface DDLDefinition
setReplaceable
public void setReplaceable(boolean replaceable)
toString
public java.lang.String toString()
- Specified by:
toString
in interface DDLDefinition
- Overrides:
toString
in class java.lang.Object
getAction
public int getAction()
- Specified by:
getAction
in interface DDLDefinition
isQualified
public boolean isQualified()
- Specified by:
isQualified
in interface DDLDefinition
setAction
public void setAction(int action)
- Specified by:
setAction
in interface DDLDefinition
setModel
public void setModel(org.brains2b.sql.meta.SQLMetaModel model)
- Specified by:
setModel
in interface DDLDefinition
getRecord
public org.brains2b.sql.SQLRecord getRecord()
- Specified by:
getRecord
in interface org.brains2b.sql.meta.SQLMetaModel