xcodegen.structure
Class XReference

java.lang.Object
  |
  +--xcodegen.structure.XObject
        |
        +--xcodegen.structure.XReference

public class XReference
extends XObject

Reference descriptor

Version:
$Revision: 1.5 $
Author:
Herve Tchepannou

Constructor Summary
XReference()
           
 
Method Summary
 boolean getCascadeOnDelete()
           
 XClass getTarget()
           
 XField getTargetPk()
           
 boolean init(org.w3c.dom.Element elt, XObject parent, java.util.Collection errors)
          Initialize the object from a XML DOM Element
 
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

XReference

public XReference()
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 XObject
Parameters:
elt - DOM element containing the configuration
parent - Parent object
errors - list of all the errors
Returns:
true on success
java.lang.Exception

getTarget

public XClass getTarget()

getTargetPk

public XField getTargetPk()

getCascadeOnDelete

public boolean getCascadeOnDelete()