net.sf.jagzilla.hibernate
Class Cc
java.lang.Object
net.sf.jagzilla.hibernate.XmlObjectImpl
net.sf.jagzilla.hibernate.Cc
- All Implemented Interfaces:
- java.io.Serializable, XmlObject
- public class Cc
- extends XmlObjectImpl
- implements java.io.Serializable
represents a record in the table cc.
- Author:
- mgriffa
- See Also:
- Serialized Form
|
Constructor Summary |
Cc()
default constructor. |
Cc(int bugId,
int who)
constructor that creates a pk class with parameters received. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Cc
public Cc(int bugId,
int who)
- constructor that creates a pk class with parameters received.
This constructor is equivalent to:
Cc cc = new Cc();
CcPrimaryKey pk = new CcPrimaryKey();
pk.setBugId(bugId);
pk.setWho(who);
cc.setId(pk);
- Parameters:
bugId - bug id for the primary key classwho - profile id of the primary key class- See Also:
Profile,
CcPrimaryKey,
setId(CcPrimaryKey)
Cc
public Cc()
- default constructor. does nothing.
getId
public CcPrimaryKey getId()
- Returns:
- Returns the id.
- See Also:
CcPrimaryKey
setId
public void setId(CcPrimaryKey id)
- Parameters:
id - The id to set.- See Also:
CcPrimaryKey
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.