xcodegen.structure
Class XField

java.lang.Object
  |
  +--xcodegen.structure.XObject
        |
        +--xcodegen.structure.XParameter
              |
              +--xcodegen.structure.XField

public class XField
extends XParameter

Field descriptor

Version:
$Revision: 1.4 $
Author:
Herve Tchepannou

Constructor Summary
XField()
           
 
Method Summary
 java.lang.String getColumn()
           
 XReference getReference()
           
 int getSize()
           
 java.lang.String getType()
           
 boolean init(org.w3c.dom.Element elt, XObject parent, java.util.Collection errors)
          Initialize the object from a XML DOM Element
 boolean isRequired()
           
 
Methods inherited from class xcodegen.structure.XParameter
getNullValue
 
Methods inherited from class xcodegen.structure.XObject
add, addError, getBeanName, getChild, getChild, getChildren, getChildren, getDescription, getLogger, getLongName, getName, getParent, getXMLChild, getXMLChildText, getXMLChildText, getXMLText, hasChild, initChildren, trimXMLText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XField

public XField()
Method Detail

init

public boolean init(org.w3c.dom.Element elt,
                    XObject parent,
                    java.util.Collection errors)
             throws java.lang.Exception
Description copied from class: XObject
Initialize the object from a XML DOM Element

Overrides:
init in class XParameter
Parameters:
elt - DOM element containing the configuration
parent - Parent object
errors - list of all the errors
Returns:
true on success
java.lang.Exception

getColumn

public java.lang.String getColumn()

isRequired

public boolean isRequired()

getSize

public int getSize()

getReference

public XReference getReference()

getType

public java.lang.String getType()
Overrides:
getType in class XParameter