net.sf.jagzilla.hibernate
Class BugActivity

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

public class BugActivity
extends XmlObjectImpl
implements java.io.Serializable

represents a record in the table bugs_activity.

Author:
mgriffa
See Also:
Serialized Form

Constructor Summary
BugActivity()
           
 
Method Summary
 java.lang.String getAdded()
           
 java.lang.Integer getAttachId()
           
 BugActivityPrimaryKey getId()
           
 java.lang.String getRemoved()
           
 void loadFromXml(java.io.Reader reader)
          load the object data from xml.
 void setAdded(java.lang.String added)
           
 void setAttachId(java.lang.Integer attachId)
           
 void setId(BugActivityPrimaryKey id)
           
 void setRemoved(java.lang.String removed)
           
 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

BugActivity

public BugActivity()
Method Detail

getAdded

public java.lang.String getAdded()
Returns:
Returns the added.

setAdded

public void setAdded(java.lang.String added)
Parameters:
added - The added to set.

getAttachId

public java.lang.Integer getAttachId()
Returns:
Returns the attachId.

setAttachId

public void setAttachId(java.lang.Integer attachId)
Parameters:
attachId - The attachId to set.

getRemoved

public java.lang.String getRemoved()
Returns:
Returns the removed.

setRemoved

public void setRemoved(java.lang.String removed)
Parameters:
removed - The removed to set.

getId

public BugActivityPrimaryKey getId()
Returns:
Returns the id.

setId

public void setId(BugActivityPrimaryKey id)
Parameters:
id - The id 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.