net.sf.jagzilla.hibernate
Class LongDesc

java.lang.Object
  extended bynet.sf.jagzilla.hibernate.XmlObjectImpl
      extended bynet.sf.jagzilla.hibernate.LongDesc
All Implemented Interfaces:
java.io.Serializable, XmlObject

public class LongDesc
extends XmlObjectImpl
implements java.io.Serializable

represents a record in the table longdescs.

Author:
mgriffa
See Also:
Serialized Form

Constructor Summary
LongDesc()
           
 
Method Summary
 LongDescPrimaryKey getId()
           
 java.lang.String getTheText()
           
 Profile getWho()
           
 void loadFromXml(java.io.Reader reader)
          load the object data from xml.
 void setId(LongDescPrimaryKey id)
           
 void setTheText(java.lang.String theText)
           
 void setWho(Profile who)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.jagzilla.hibernate.XmlObjectImpl
equals, getXmlString, loadObjectFromXml, setXmlString, toXml
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongDesc

public LongDesc()
Method Detail

getId

public LongDescPrimaryKey getId()
Returns:
Returns the id.

setId

public void setId(LongDescPrimaryKey id)
Parameters:
id - The id to set.

getTheText

public java.lang.String getTheText()
Returns:
Returns the theText.

setTheText

public void setTheText(java.lang.String theText)
Parameters:
theText - The theText to set.

getWho

public Profile getWho()
Returns:
Returns the who.

setWho

public void setWho(Profile who)
Parameters:
who - The who to set.

toString

public java.lang.String toString()

loadFromXml

public void loadFromXml(java.io.Reader reader)
                 throws java.io.IOException,
                        MappingException,
                        MarshalException,
                        ValidationException
Description copied from interface: XmlObject
load the object data from xml. This method internally uses castor to unmarshall the object form XML.

Specified by:
loadFromXml in interface XmlObject
Parameters:
reader - a reader containing a parseable xml
Throws:
java.io.IOException
MappingException
MarshalException
ValidationException


Distributed under the GPL. By Miguel Griffa. See the Jagzilla project page for more info.