|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v2.domain.WsItem
public class WsItem
This object represents a Contour Document/Item. Depending on how your Organization uses Contour, an Item could represent a feature, a requirement, a use case, a test case, a defect, and/or other Items you need to manage and track within the development process. Each type of Item is grouped in a Set and has a template with specific fields to complete when adding new Items.
| Constructor Summary | |
|---|---|
WsItem()
Creates an empty WsItem object. |
|
WsItem(java.lang.String name,
java.lang.String description,
java.lang.Integer moduleId,
java.lang.Integer parentId,
java.lang.Boolean isFolder)
Creates a new WsItem object with the given values. |
|
| Method Summary | |
|---|---|
java.util.Date |
getCreatedDate()
Gets the date the item was created. |
java.lang.String |
getDescription()
Gets the description of the item. |
WsField[] |
getFields()
Gets the item's fields. |
java.lang.Integer |
getId()
Gets the item's id. |
java.lang.Boolean |
getIsFolder()
Is this item a folder? |
java.util.Date |
getModifiedDate()
Gets the date the item was modified. |
java.lang.Integer |
getModuleId()
Gets the module id of the module this item is a member of. |
java.lang.String |
getName()
Gets the item name. |
java.lang.Integer |
getParentId()
Gets the id of the item's parent (Can be null). |
java.lang.Integer |
getProjectId()
Gets the id of the project this item is in. |
void |
setCreatedDate(java.util.Date createdDate)
Sets the date the item was created. |
void |
setDescription(java.lang.String description)
Sets the description of the item. |
void |
setFields(WsField[] fields)
Sets the item's fields. |
void |
setId(java.lang.Integer id)
|
void |
setIsFolder(java.lang.Boolean isFolder)
Sets whether this item is a folder. |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the date this item was modified. |
void |
setModuleId(java.lang.Integer moduleId)
Sets the module id of the module this item is a member of. |
void |
setName(java.lang.String name)
Sets the name of the item. |
void |
setParentId(java.lang.Integer parentId)
Sets the id of the item's parent |
void |
setProjectId(java.lang.Integer projectId)
Sets the id of the project this item is in. |
java.lang.String |
toString()
Gets a string representation of this item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsItem()
public WsItem(java.lang.String name,
java.lang.String description,
java.lang.Integer moduleId,
java.lang.Integer parentId,
java.lang.Boolean isFolder)
name - name of the itemdescription - description of the item (can be null)moduleId - id of the module the item is inparentId - id of the parent of the item (can be null)isFolder - is this item a folder?| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public java.lang.Integer getModuleId()
public void setModuleId(java.lang.Integer moduleId)
moduleId - id of the module this item should be member ofpublic java.lang.String getName()
public void setName(java.lang.String name)
name - name to set to itempublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - description of the itempublic java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date createdDate)
createdDate - date item was createdpublic java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
modifiedDate - date item was modifiedpublic java.lang.Integer getParentId()
public void setParentId(java.lang.Integer parentId)
parentId - id of an item to be the parent of this item. The parent must be a folder.public java.lang.Boolean getIsFolder()
public void setIsFolder(java.lang.Boolean isFolder)
isFolder - whether or not this item should be a folderpublic WsField[] getFields()
WsFieldspublic void setFields(WsField[] fields)
fields - an array of WsFieldspublic java.lang.Integer getProjectId()
public void setProjectId(java.lang.Integer projectId)
projectId - project idpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||