agonism.dovetail.schema
Class Column

java.lang.Object
  |
  +--agonism.dovetail.schema.QGBase
        |
        +--agonism.dovetail.schema.Column
All Implemented Interfaces:
com.jxml.quick.QAware, QGBaseIntf

public class Column
extends QGBase
implements QGBaseIntf, com.jxml.quick.QAware


Field Summary
protected  boolean allowNull
          default = "true"
protected  Comment comment
           
protected  DefaultValue defaultValue
           
protected  DisplayText displayText
           
protected  boolean isAutoIncrement
          default = "false"
protected  boolean isPassword
          default = "false"
protected  boolean isPrimaryKey
          default = "false"
protected  java.lang.String name
           
protected  Reference reference
           
protected  Type type
           
 
Fields inherited from class agonism.dovetail.schema.QGBase
qParent
 
Constructor Summary
Column()
           
Column(QGBaseIntf qParent, java.lang.String name, boolean isPassword, boolean isPrimaryKey, boolean isAutoIncrement, boolean allowNull, Type type, DefaultValue defaultValue, Reference reference, DisplayText displayText, Comment comment)
          full constructor
Column(QGBaseIntf qParent, java.lang.String name, Type type, Reference reference)
          minimum constructor
 
Method Summary
 void endElement(java.lang.String tagName, com.jxml.quick.QContext outputContext)
          Method called at the end of a Quick transformation.
 boolean getAllowNull()
          default = "true"
 java.util.ArrayList getAllXChildren()
          get a list of all the objects corresponding to XML children
 Comment getComment()
           
 DefaultValue getDefaultValue()
           
 DisplayText getDisplayText()
           
 boolean getIsAutoIncrement()
          default = "false"
 boolean getIsPassword()
          default = "false"
 boolean getIsPrimaryKey()
          default = "false"
 java.lang.String getName()
           
 Reference getReference()
           
 Type getType()
           
 java.lang.String getXAttVal(java.lang.String attname)
           
 java.util.ArrayList getXChildren(java.lang.String childTagName)
           
 void print(java.io.PrintWriter pw, java.lang.String indent)
          print a summary of this object
 void setAllowNull(boolean allowNull)
          default = "true"
 void setComment(Comment comment)
           
 void setDefaultValue(DefaultValue defaultValue)
           
 void setDisplayText(DisplayText displayText)
           
 void setIsAutoIncrement(boolean isAutoIncrement)
          default = "false"
 void setIsPassword(boolean isPassword)
          default = "false"
 void setIsPrimaryKey(boolean isPrimaryKey)
          default = "false"
 void setName(java.lang.String name)
           
 void setReference(Reference reference)
           
 void setType(Type type)
           
 
Methods inherited from class agonism.dovetail.schema.QGBase
getXParent, print, setXParent, setXParentLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface agonism.dovetail.schema.QGBaseIntf
getXParent, print, setXParent, setXParentLinks
 

Field Detail

name

protected java.lang.String name

isPassword

protected boolean isPassword
default = "false"

isPrimaryKey

protected boolean isPrimaryKey
default = "false"

isAutoIncrement

protected boolean isAutoIncrement
default = "false"

allowNull

protected boolean allowNull
default = "true"

type

protected Type type

defaultValue

protected DefaultValue defaultValue

reference

protected Reference reference

displayText

protected DisplayText displayText

comment

protected Comment comment
Constructor Detail

Column

public Column()

Column

public Column(QGBaseIntf qParent,
              java.lang.String name,
              boolean isPassword,
              boolean isPrimaryKey,
              boolean isAutoIncrement,
              boolean allowNull,
              Type type,
              DefaultValue defaultValue,
              Reference reference,
              DisplayText displayText,
              Comment comment)
full constructor

Column

public Column(QGBaseIntf qParent,
              java.lang.String name,
              Type type,
              Reference reference)
minimum constructor
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getIsPassword

public boolean getIsPassword()
default = "false"

setIsPassword

public void setIsPassword(boolean isPassword)
default = "false"

getIsPrimaryKey

public boolean getIsPrimaryKey()
default = "false"

setIsPrimaryKey

public void setIsPrimaryKey(boolean isPrimaryKey)
default = "false"

getIsAutoIncrement

public boolean getIsAutoIncrement()
default = "false"

setIsAutoIncrement

public void setIsAutoIncrement(boolean isAutoIncrement)
default = "false"

getAllowNull

public boolean getAllowNull()
default = "true"

setAllowNull

public void setAllowNull(boolean allowNull)
default = "true"

getType

public Type getType()

setType

public void setType(Type type)

getDefaultValue

public DefaultValue getDefaultValue()

setDefaultValue

public void setDefaultValue(DefaultValue defaultValue)

getReference

public Reference getReference()

setReference

public void setReference(Reference reference)

getDisplayText

public DisplayText getDisplayText()

setDisplayText

public void setDisplayText(DisplayText displayText)

getComment

public Comment getComment()

setComment

public void setComment(Comment comment)

endElement

public void endElement(java.lang.String tagName,
                       com.jxml.quick.QContext outputContext)
                throws com.jxml.quick.QPE
Description copied from interface: QGBaseIntf
Method called at the end of a Quick transformation. Can be used to check integrity.
Specified by:
endElement in interface QGBaseIntf
Overrides:
endElement in class QGBase

print

public void print(java.io.PrintWriter pw,
                  java.lang.String indent)
Description copied from interface: QGBaseIntf
print a summary of this object
Specified by:
print in interface QGBaseIntf
Overrides:
print in class QGBase

getXAttVal

public java.lang.String getXAttVal(java.lang.String attname)

getXChildren

public java.util.ArrayList getXChildren(java.lang.String childTagName)

getAllXChildren

public java.util.ArrayList getAllXChildren()
Description copied from interface: QGBaseIntf
get a list of all the objects corresponding to XML children
Specified by:
getAllXChildren in interface QGBaseIntf
Overrides:
getAllXChildren in class QGBase