|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object za.org.coefficient.core.Project
public class Project
Field Summary | |
---|---|
private boolean |
active
|
private java.util.List |
attributeData
|
private java.util.List |
attributes
|
private java.util.List |
categories
|
private java.util.List |
components
|
private ProjectVersion |
currentVersion
|
private java.lang.String |
description
|
private java.lang.String |
homePage
|
private java.lang.Long |
id
|
private boolean |
isPublic
|
private boolean |
isWorkflow
|
private java.util.List |
members
|
private java.util.List |
membersPending
|
private java.util.List |
modules
|
private java.lang.String |
name
|
private java.util.Date |
registrationDate
|
private java.lang.String |
shortName
|
private ProjectStatistics |
statistics
|
private java.lang.String |
themeName
|
private long |
version
|
private java.util.List |
versions
|
Constructor Summary | |
---|---|
Project()
|
Method Summary | |
---|---|
void |
addAttribute(ProjectAttribute attribute)
Sets the value of attributes |
void |
addAttributeData(ProjectAttributeData pad)
Sets the value of attributeData |
void |
addCategory(Category cat)
Sets the value of categories |
void |
addComponent(ProjectComponent component)
|
void |
addMember(ProjectMember member)
Adds the provided user to the projects members |
void |
addModule(java.lang.String moduleName)
|
void |
addVersion(ProjectVersion version)
|
boolean |
containsMember(ProjectMember member)
|
boolean |
containsUser(CoefficientUser user)
|
void |
deleteAttribute(ProjectAttribute attribute)
delete one attribute |
void |
deleteAttributeData(ProjectAttributeData pad)
delete one attributeData |
void |
deleteCategory(Category cat)
Deletes the provided category from the projects categories |
void |
deleteComponent(ProjectComponent component)
|
void |
deleteMember(ProjectMember member)
Deletes the provided user from the projects members |
void |
deleteModule(java.lang.String moduleName)
|
void |
deleteVersion(ProjectVersion version)
|
boolean |
getActive()
Gets the value of active |
java.util.List |
getAttributeData()
Gets the value of attributeData |
java.util.List |
getAttributes()
Gets the value of attributes |
java.util.List |
getCategories()
Gets the value of categories |
java.util.List |
getChampionsAsMembers()
returns a list of project champions only |
java.util.List |
getChampionsAsUsers()
|
java.util.List |
getComponents()
Gets the value of components |
ProjectVersion |
getCurrentVersion()
Gets the value of currentVersion |
java.lang.String |
getDescription()
Gets the value of description |
java.lang.String |
getHomePage()
Gets the value of homePage |
java.lang.Long |
getId()
Gets the value of id |
boolean |
getIsPublic()
Gets the value of public |
boolean |
getIsWorkflow()
Gets the value of workflow |
java.util.List |
getMembers()
Gets the value of members |
java.util.List |
getMembersPending()
Gets the value of membersPending |
java.util.List |
getModules()
Gets the value of modules |
java.lang.String |
getName()
Gets the value of name |
java.util.List |
getNonChampionsAsMembers()
returns a list of project champions only |
java.util.List |
getNonChampionsAsUsers()
|
java.util.Date |
getRegistrationDate()
Gets the value of create date |
java.lang.String |
getShortName()
Gets the value of shortName |
ProjectStatistics |
getStatistics()
Gets the value of statistics |
java.lang.String |
getThemeName()
Gets the value of themeName |
long |
getVersion()
Gets the value of version |
java.util.List |
getVersions()
Gets the value of versions |
void |
setActive(boolean active)
Sets the value of active |
void |
setAttributeData(java.util.List argAttributeData)
Sets the value of attributeData |
void |
setAttributes(java.util.List argAttributes)
Sets the value of attributes |
void |
setCategories(java.util.List argCategories)
Sets the value of categories |
void |
setComponents(java.util.List components)
Sets the value of components |
void |
setCurrentVersion(ProjectVersion currentVersion)
Sets the value of currentVersion |
void |
setDescription(java.lang.String description)
Sets the value of description |
void |
setHomePage(java.lang.String homePage)
Sets the value of homePage |
void |
setId(java.lang.Long argId)
Sets the value of id |
void |
setIsPublic(boolean isPublic)
Sets the value of isPublic |
void |
setIsWorkflow(boolean isWorkflow)
Sets the value of isWorkflow |
void |
setMembers(java.util.List argMembers)
Sets the value of members |
void |
setMembersPending(java.util.List argMembers)
Sets the value of membersPending |
void |
setModules(java.util.List modules)
Sets the value of modules |
void |
setName(java.lang.String name)
Sets the value of name |
void |
setRegistrationDate(java.util.Date registrationDate)
Sets the value of registration date |
void |
setShortName(java.lang.String string)
|
void |
setStatistics(ProjectStatistics statistics)
Sets the value of statistics |
void |
setThemeName(java.lang.String themeName)
Sets the value of themeName |
void |
setVersion(long version)
Sets the value of version |
void |
setVersions(java.util.List versions)
Sets the value of versions |
void |
updateComponent(ProjectComponent component)
|
void |
updateVersion(ProjectVersion version)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Date registrationDate
private java.util.List attributeData
private java.util.List attributes
private java.util.List categories
private java.util.List members
private java.util.List membersPending
private java.util.List modules
private java.util.List versions
private java.util.List components
private java.lang.Long id
private ProjectStatistics statistics
private ProjectVersion currentVersion
private java.lang.String description
private java.lang.String homePage
private java.lang.String name
private boolean active
private long version
private boolean isPublic
private boolean isWorkflow
private java.lang.String themeName
private java.lang.String shortName
Constructor Detail |
---|
public Project()
Method Detail |
---|
public void setActive(boolean active)
active
- Value to assign to this.activepublic boolean getActive()
public void setIsPublic(boolean isPublic)
public
- Value to assign to this.isPublicpublic boolean getIsPublic()
public void setIsWorkflow(boolean isWorkflow)
workflow
- Value to assign to this.isWorkflowpublic boolean getIsWorkflow()
public void setAttributeData(java.util.List argAttributeData)
argAttributeData
- Value to assign to this.attributeDatapublic java.util.List getAttributeData()
public void setAttributes(java.util.List argAttributes)
argAttributes
- Value to assign to this.attributespublic java.util.List getAttributes()
public void setCategories(java.util.List argCategories)
argCategories
- Value to assign to this.categoriespublic java.util.List getCategories()
public java.util.List getChampionsAsMembers()
public java.util.List getChampionsAsUsers()
public void setCurrentVersion(ProjectVersion currentVersion)
argCurrentVersion
- Value to assign to this.currentVersionpublic ProjectVersion getCurrentVersion()
public void setDescription(java.lang.String description)
argDescription
- Value to assign to this.descriptionpublic java.lang.String getDescription()
public void setThemeName(java.lang.String themeName)
argThemeName
- Value to assign to this.themeName
NB: null or empty means use the installed themepublic java.lang.String getThemeName()
public void setHomePage(java.lang.String homePage)
argHomePage
- Value to assign to this.homePagepublic java.lang.String getHomePage()
public void setId(java.lang.Long argId)
argId
- Value to assign to this.idpublic java.lang.Long getId()
public void setMembers(java.util.List argMembers)
argMembers
- Value to assign to this.memberspublic java.util.List getMembers()
public void setMembersPending(java.util.List argMembers)
argMembers
- Value to assign to this.membersPendingpublic java.util.List getMembersPending()
public void setModules(java.util.List modules)
modules
- Value to assign to this.modulespublic java.util.List getModules()
public void setVersions(java.util.List versions)
versions
- Value to assign to this.versionspublic java.util.List getVersions()
public void setComponents(java.util.List components)
components
- Value to assign to this.componentspublic java.util.List getComponents()
public void setName(java.lang.String name)
argName
- Value to assign to this.namepublic java.lang.String getName()
public java.util.List getNonChampionsAsMembers()
public java.util.List getNonChampionsAsUsers()
public void setRegistrationDate(java.util.Date registrationDate)
registrationDate
- Value to assign to this.registrationDatepublic java.util.Date getRegistrationDate()
public void setStatistics(ProjectStatistics statistics)
argStatistics
- Value to assign to this.statisticspublic ProjectStatistics getStatistics()
public void setVersion(long version)
version
- Value to assign to this.versionpublic long getVersion()
public void addAttribute(ProjectAttribute attribute)
attribute
- Value to add to the projects attributespublic void addAttributeData(ProjectAttributeData pad)
attribute
- Value to add to the projects attributeDatapublic void addCategory(Category cat)
cat
- Value to assign add to the projects categoriespublic void addComponent(ProjectComponent component)
public void addMember(ProjectMember member)
user
- Value to assign to the projects memberspublic void addModule(java.lang.String moduleName)
public void addVersion(ProjectVersion version)
public boolean containsMember(ProjectMember member)
public boolean containsUser(CoefficientUser user)
public void deleteAttribute(ProjectAttribute attribute)
attribute
- Value to remove from the projects attributespublic void deleteAttributeData(ProjectAttributeData pad)
attribute
- Value to remove from the projects attributeDatapublic void deleteCategory(Category cat)
user
- Value to remove from the projects categoriespublic void deleteMember(ProjectMember member)
user
- Value to remove from the projects memberspublic void deleteModule(java.lang.String moduleName)
public void deleteVersion(ProjectVersion version)
public void updateVersion(ProjectVersion version)
public void deleteComponent(ProjectComponent component)
public void updateComponent(ProjectComponent component)
public java.lang.String getShortName()
public void setShortName(java.lang.String string)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |