net.sf.jagzilla.hibernate
Class Duplicate
java.lang.Object
net.sf.jagzilla.hibernate.XmlObjectImpl
net.sf.jagzilla.hibernate.Duplicate
- All Implemented Interfaces:
- XmlObject
- public class Duplicate
- extends XmlObjectImpl
represents a record in the table duplicates.
- Author:
- mgriffa
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Duplicate
public Duplicate()
getDupe
public int getDupe()
- Returns:
- Returns the dupe.
setDupe
public void setDupe(int dupe)
- Parameters:
dupe - The dupe to set.
getDupeOf
public int getDupeOf()
- Returns:
- Returns the dupeOf.
setDupeOf
public void setDupeOf(int dupeOf)
- Parameters:
dupeOf - The dupeOf 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.
- 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.