net.sf.jagzilla.hibernate
Class Component
java.lang.Object
net.sf.jagzilla.hibernate.XmlObjectImpl
net.sf.jagzilla.hibernate.Component
- All Implemented Interfaces:
- java.io.Serializable, XmlObject
- public class Component
- extends XmlObjectImpl
- implements java.io.Serializable
represents a record in the table components.
- Author:
- mgriffa
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Component
public Component()
getDescription
public java.lang.String getDescription()
- Returns:
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description -
getInitialowner
public int getInitialowner()
- Returns:
setInitialowner
public void setInitialowner(int initialowner)
- Parameters:
initialowner -
setInitialowner
public void setInitialowner(java.lang.String o)
getInitialqacontact
public int getInitialqacontact()
- Returns:
setInitialqacontact
public void setInitialqacontact(java.lang.String o)
setInitialqacontact
public void setInitialqacontact(int initialqacontact)
- Parameters:
initialqacontact -
getId
public ComponentPrimaryKey getId()
- Returns:
- Returns the id.
setId
public void setId(ComponentPrimaryKey id)
- Parameters:
id - The id to set.
getName
public java.lang.String getName()
getProduct
public java.lang.String getProduct()
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
setProgram
public void setProgram(java.lang.String description)
- Parameters:
description -
setName
public void setName(java.lang.String name)
- Parameters:
name -
Distributed under the GPL.
By Miguel Griffa.
See the Jagzilla project page for more info.