Serializable
, Cloneable
, Comparable<Entity>
, Entity
public class Project extends AbstractEntity implements Comparable<Entity>
Hibernate Bean.
Modifier and Type | Class | Description |
---|---|---|
static class |
Project.ProjectComparator |
Comparator for comparing projects by name
|
AbstractEntity.CreateDateComparator, AbstractEntity.IdComparator, AbstractEntity.LastModifiedDateComparator
Modifier and Type | Field | Description |
---|---|---|
static Project.ProjectComparator |
PROJECT_COMPARATOR |
CREATE_DATE_COMPARATOR, ID_COMPARATOR, LAST_MODIFIED_DATE_COMPARATOR
Constructor | Description |
---|---|
Project() |
Default constructor (required by Hibernate).
|
Project(String name) |
Modifier and Type | Method | Description |
---|---|---|
List<Component> |
getComponents() |
|
List<CustomField> |
getCustomFields() |
|
String |
getDescription() |
|
String |
getName() |
|
int |
getOptions() |
|
List<User> |
getOwners() |
|
Set<Permission> |
getPermissions() |
|
List<ProjectScript> |
getScripts() |
|
Status |
getStatus() |
|
List<Version> |
getVersions() |
|
void |
setComponents(List<Component> getComponents) |
|
void |
setCustomFields(List<CustomField> getCustomFields) |
|
void |
setDescription(String description) |
|
void |
setName(String name) |
|
void |
setOptions(int options) |
|
void |
setOwners(List<User> getOwners) |
|
void |
setPermissions(Set<Permission> getPermissions) |
|
void |
setScripts(List<ProjectScript> getScripts) |
|
void |
setStatus(Status status) |
|
void |
setVersions(List<Version> getVersions) |
|
String |
toString() |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate
compareTo
public static final Project.ProjectComparator PROJECT_COMPARATOR
public Project()
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.
public Project(String name)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public Status getStatus()
public void setStatus(Status status)
IllegalArgumentException
- status is nullpublic int getOptions()
public void setOptions(int options)
public List<CustomField> getCustomFields()
public void setCustomFields(List<CustomField> getCustomFields)
public Set<Permission> getPermissions()
public void setPermissions(Set<Permission> getPermissions)
public List<ProjectScript> getScripts()
public void setScripts(List<ProjectScript> getScripts)
Copyright © 2002–2019 itracker. All rights reserved.