org.itracker.model
Class Project
java.lang.Object
org.itracker.model.AbstractEntity
org.itracker.model.Project
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<Entity>, Entity
public class Project
- extends AbstractEntity
- implements Comparable<Entity>
This is a POJO Business Domain Object modelling a project.
Hibernate Bean.
- Author:
- ready
- See Also:
- Serialized Form
| Methods inherited from class org.itracker.model.AbstractEntity |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate |
PROJECT_COMPARATOR
public static final Project.ProjectComparator PROJECT_COMPARATOR
Project
public Project()
- Default constructor (required by Hibernate).
PENDING: should be private so that it can only be used by
Hibernate, to ensure that the fields which form an instance's identity
are always initialized/never null.
Project
public Project(String name)
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getStatus
public Status getStatus()
- Returns:
- project's current status
setStatus
public void setStatus(Status status)
- Parameters:
status -
- Throws:
IllegalArgumentException - status is null
getOptions
public int getOptions()
setOptions
public void setOptions(int options)
getComponents
public List<Component> getComponents()
setComponents
public void setComponents(List<Component> getComponents)
getVersions
public List<Version> getVersions()
setVersions
public void setVersions(List<Version> getVersions)
getCustomFields
public List<CustomField> getCustomFields()
setCustomFields
public void setCustomFields(List<CustomField> getCustomFields)
getOwners
public List<User> getOwners()
setOwners
public void setOwners(List<User> getOwners)
getPermissions
public Set<Permission> getPermissions()
setPermissions
public void setPermissions(Set<Permission> getPermissions)
getScripts
public List<ProjectScript> getScripts()
setScripts
public void setScripts(List<ProjectScript> getScripts)
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- Project [id=id, name=name]
Copyright © 2002-2012 itracker. All Rights Reserved.