public class WsProject extends Object
Constructor and Description |
---|
WsProject()
Creates an empty WsProject object.
|
WsProject(Integer id)
Creates a WsProject object with the given id.
|
WsProject(String name,
String description,
Integer parent,
Boolean isFolder,
WsUser projectManager,
WsOrganization organization)
Creates a new WsProject object with the given values.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getActive()
Is this project active?
|
String |
getDescription()
Gets the project's description.
|
Integer |
getId()
Gets the project's id.
|
Boolean |
getIsFolder()
Is this project a folder?
|
String |
getName()
Gets the project's name.
|
WsOrganization |
getOrganization()
Gets the organization this project is in.
|
Integer |
getParent()
Gets the parent of the project.
|
WsLookup |
getProjectGroup()
Gets the group this project belongs to.
|
String |
getProjectKey()
Gets the key associated with the project.
|
WsUser |
getProjectManager()
Gets the manager for this project.
|
WsProjectType |
getProjectType()
Gets the default item type for this project.
|
WsLookup |
getStatus()
Gets the status of the project.
|
void |
setActive(Boolean active)
Sets whether or not this project is active.
|
void |
setDescription(String description)
Sets the project's description.
|
void |
setId(Integer id)
Sets the project's id.
|
void |
setIsFolder(Boolean isFolder)
Sets whether or not this project is a folder.
|
void |
setName(String name)
Sets the project's name.
|
void |
setOrganization(WsOrganization organization)
Sets the organization this project is in.
|
void |
setParent(Integer parent)
Sets the parent of the project.
|
void |
setProjectGroup(WsLookup projectGroup)
Sets the group this project belongs to.
|
void |
setProjectKey(String projectKey)
Sets the key associated with the project.
|
void |
setProjectManager(WsUser projectManager)
Sets the manager for this project.
|
void |
setProjectType(WsProjectType projectType)
Sets the default item type for this project.
|
void |
setStatus(WsLookup status)
Sets the status of the project.
|
String |
toString()
Gets a string representation of this project.
|
public WsProject()
public WsProject(Integer id)
id
- id to set for the WsProject objectpublic WsProject(String name, String description, Integer parent, Boolean isFolder, WsUser projectManager, WsOrganization organization)
name
- name of the projectdescription
- description of the project (can be null)parent
- id of the parent project (can be null)isFolder
- is this project a folder?projectManager
- project managerorganization
- organization the project is inpublic Integer getId()
public void setId(Integer id)
id
- the project's idpublic String getName()
public void setName(String name)
name
- project namepublic String getDescription()
public void setDescription(String description)
description
- project descriptionpublic WsLookup getStatus()
public void setStatus(WsLookup status)
status
- status of the projectpublic Integer getParent()
public void setParent(Integer parent)
parent
- id of the parent of this project.public Boolean getIsFolder()
public void setIsFolder(Boolean isFolder)
isFolder
- whether or not this project is a folderpublic Boolean getActive()
public void setActive(Boolean active)
active
- whether or not this project is activepublic WsUser getProjectManager()
public void setProjectManager(WsUser projectManager)
projectManager
- user to be set as project managerpublic WsOrganization getOrganization()
public void setOrganization(WsOrganization organization)
organization
- to contain this projectpublic WsLookup getProjectGroup()
public void setProjectGroup(WsLookup projectGroup)
projectGroup
- project grouppublic WsProjectType getProjectType()
public void setProjectType(WsProjectType projectType)
projectType
- default item typepublic String getProjectKey()
public void setProjectKey(String projectKey)
projectKey
- key to associate with this projectCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.