public final class Project extends QTestBaseModel<Project>
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
Project() |
| Modifier and Type | Method and Description |
|---|---|
Project |
addDefectTrackingSystem(DefectTrackingSystem dts)
Adds defect tracking system to project.
|
Project |
clone() |
java.lang.String |
elementName() |
java.util.List<DefectTrackingSystem> |
getDefectTrackingSystems() |
java.lang.String |
getDescription() |
java.util.Date |
getEndDate() |
java.lang.Long |
getId() |
java.lang.String |
getName() |
java.util.Date |
getStartDate() |
java.lang.Boolean |
isSample() |
Project |
setDefectTrackingSystems(java.util.List<DefectTrackingSystem> dtses)
Sets the list of project's defect tracking system.
|
Project |
setDescription(java.lang.String description)
Sets the project description.
|
Project |
setEndDate(java.util.Date endDate)
Sets the end date of project.
|
Project |
setId(java.lang.Long id)
Sets the project identifier.
|
Project |
setName(java.lang.String name)
Sets project name.
|
Project |
setSample(java.lang.Boolean sample)
Sets the flag that marks the project is sample project.
|
Project |
setStartDate(java.util.Date startDate)
Sets the start date of project.
|
java.lang.String |
toString() |
Project |
withDefectTrackingSystems(java.util.List<DefectTrackingSystem> dtses)
Sets the list of project's defect tracking system and return itself.
|
Project |
withDescription(java.lang.String description)
Sets project description and return itself.
|
Project |
withEndDate(java.util.Date startDate)
Sets the end date of project.
|
Project |
withId(java.lang.Long id)
Sets the project identifier and return itself.
|
Project |
withName(java.lang.String name)
Sets the project name and return itself.
|
Project |
withSample(java.lang.Boolean sample)
Sets the flag that marks the project is sample project and return itself.
|
Project |
withStartDate(java.util.Date startDate)
Sets the start date of project.
|
getBinaryFromInputStream, getLinks, getWebUrl, setLinks, setWebUrl, validateInputStream, withLinks, withWebUrlappendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, jsonElementName, removeProperty, setPropertiesFrom, setProperty, toJsonpublic java.lang.Long getId()
public Project setId(java.lang.Long id)
id - the given project identifier.public Project withId(java.lang.Long id)
id - the project identifier.Project object.public java.lang.String getName()
public Project setName(java.lang.String name)
name - the given project name to set.public Project withName(java.lang.String name)
name - the given name of project to set.Project object.public java.lang.String getDescription()
public Project setDescription(java.lang.String description)
description - the given project description.public Project withDescription(java.lang.String description)
description - the given description to set.Project object.public java.lang.Boolean isSample()
true if the project is sample project, otherwise falsepublic Project setSample(java.lang.Boolean sample)
sample - the given sample project flag to set.public Project withSample(java.lang.Boolean sample)
sample - the given sample project flag to set.Project object.public java.util.Date getStartDate()
public Project setStartDate(java.util.Date startDate)
startDate - the given project's start date to set.public Project withStartDate(java.util.Date startDate)
startDate - the given project's start date to set.Project object.public java.util.Date getEndDate()
public Project setEndDate(java.util.Date endDate)
endDate - the given project's end date to set.public Project withEndDate(java.util.Date startDate)
startDate - the given project's end date to set.Project object.public java.util.List<DefectTrackingSystem> getDefectTrackingSystems()
public Project setDefectTrackingSystems(java.util.List<DefectTrackingSystem> dtses)
dtses - the given list of defect tracking systems.public Project withDefectTrackingSystems(java.util.List<DefectTrackingSystem> dtses)
dtses - the given list of defect tracking systems.public Project addDefectTrackingSystem(DefectTrackingSystem dts)
dts - the given defect tracking system object.Project object.public Project clone()
clone in class PropertyContainerpublic java.lang.String elementName()
elementName in class PropertyContainerpublic java.lang.String toString()
toString in class PropertyContainer