net.sf.jagzilla.hibernate
Class AttachStatusDef

java.lang.Object
  extended bynet.sf.jagzilla.hibernate.XmlObjectImpl
      extended bynet.sf.jagzilla.hibernate.AttachStatusDef
All Implemented Interfaces:
XmlObject

public class AttachStatusDef
extends XmlObjectImpl

represents a record in the table attachstatusdefs.

Author:
mgriffa

Constructor Summary
AttachStatusDef()
          simple constructor, does nothing.
 
Method Summary
 java.lang.String getDescription()
           
 short getId()
           
 java.lang.String getName()
           
 java.lang.String getProduct()
           
 short getSortKey()
           
 void loadFromXml(java.io.Reader reader)
          load the object data from xml.
 void setDescription(java.lang.String description)
           
 void setId(short id)
           
 void setName(java.lang.String name)
           
 void setProduct(java.lang.String product)
           
 void setSortKey(short sortKey)
           
 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

AttachStatusDef

public AttachStatusDef()
simple constructor, does nothing.

Method Detail

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 short getId()
Returns:
Returns the id.

setId

public void setId(short 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.

getProduct

public java.lang.String getProduct()
Returns:
Returns the product.

setProduct

public void setProduct(java.lang.String product)
Parameters:
product - The product to set.

getSortKey

public short getSortKey()
Returns:
Returns the sortKey.

setSortKey

public void setSortKey(short sortKey)
Parameters:
sortKey - The sortKey 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.