net.sf.jagzilla.hibernate
Class Product
java.lang.Object
net.sf.jagzilla.hibernate.XmlObjectImpl
net.sf.jagzilla.hibernate.Product
- All Implemented Interfaces:
- XmlObject
- public class Product
- extends XmlObjectImpl
- implements XmlObject
represents a record in the table products.
- Author:
- mgriffa
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Product
public Product()
getDefaultMilestone
public java.lang.String getDefaultMilestone()
- Returns:
- Returns the defaultMilestone.
setDefaultMilestone
public void setDefaultMilestone(java.lang.String defaultMilestone)
- Parameters:
defaultMilestone - The defaultMilestone to set.
getDescription
public java.lang.String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description - The description to set.
getDisallowNew
public java.lang.String getDisallowNew()
- Returns:
- Returns the disallowNew.
setDisallowNew
public void setDisallowNew(java.lang.String disallowNew)
- Parameters:
disallowNew - The disallowNew to set.
getMaxVotesPerBug
public int getMaxVotesPerBug()
- Returns:
- Returns the maxVotesPerBug.
setMaxVotesPerBug
public void setMaxVotesPerBug(int maxVotesPerBug)
- Parameters:
maxVotesPerBug - The maxVotesPerBug to set.
getMilestoneUrl
public java.lang.String getMilestoneUrl()
- Returns:
- Returns the milestoneUrl.
setMilestoneUrl
public void setMilestoneUrl(java.lang.String milestoneUrl)
- Parameters:
milestoneUrl - The milestoneUrl 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.
getVotesPerUser
public int getVotesPerUser()
- Returns:
- Returns the votesPerUser.
setVotesPerUser
public void setVotesPerUser(int votesPerUser)
- at castor.field
- Parameters:
votesPerUser - The votesPerUser to set.
getVotesToConfirm
public int getVotesToConfirm()
- Returns:
- Returns the votesToConfirm.
setVotesToConfirm
public void setVotesToConfirm(int votesToConfirm)
- Parameters:
votesToConfirm - The votesToConfirm to set.
toString
public java.lang.String toString()
getComponents
public java.util.Set getComponents()
- Returns:
- Returns the components.
setComponents
public void setComponents(java.util.Set components)
- Parameters:
components - The components to set.
getMilestones
public java.util.Set getMilestones()
- Returns:
- Returns the milestones.
setMilestones
public void setMilestones(java.util.Set milestones)
- Parameters:
milestones - The milestones to set.
getVersions
public java.util.Set getVersions()
- Returns:
- Returns the versions.
setVersions
public void setVersions(java.util.Set versions)
- Parameters:
versions - The versions to set.
getBugs
public java.util.Set getBugs()
- Returns:
- Returns the bugs.
setBugs
public void setBugs(java.util.Set bugs)
- Parameters:
bugs - The bugs to set.
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
equals
public boolean equals(java.lang.Object o)
- Returns
true if this Product is the same as the o argument.
- Overrides:
equals in class XmlObjectImpl
- Returns:
true if this Product is the same as the o argument.
Distributed under the GPL.
By Miguel Griffa.
See the Jagzilla project page for more info.