net.sf.jagzilla.hibernate
Class KeywordDef
java.lang.Object
net.sf.jagzilla.hibernate.XmlObjectImpl
net.sf.jagzilla.hibernate.KeywordDef
- All Implemented Interfaces:
- XmlObject
- public class KeywordDef
- extends XmlObjectImpl
represents a record in the table keyworddefs.
- Author:
- mgriffa
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KeywordDef
public KeywordDef()
getDescription
public java.lang.String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description - The description to set.
getId
public int getId()
- Returns:
- Returns the id.
setId
public void setId(int id)
- Parameters:
id - The id to set.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
setName
public void setName(java.lang.String name)
- Parameters:
name - The name 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.