|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.LiveObject.WebCacheLiveObject
com.starteam.TrackedObject.WebCacheTrackedObject
com.starteam.VersionedObject.WebCacheVersionedObject
com.starteam.ViewMember.WebCacheViewMember
com.starteam.Item.WebCacheItem
com.starteam.TreeItem.WebCacheTreeItem
com.starteam.Requirement.WebCacheRequirement
public static class Requirement.WebCacheRequirement
Item accessor for cached SDK Requirement items contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Requirement.WebCacheRequirement |
create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Creates a Requirement on the server. |
static Requirement.WebCacheRequirement |
create(ArtifactCacheManager.Context cntxt,
Requirement.WebCacheRequirement parent)
Creates a Requirement on the server. |
int |
getAmbiguitiesCount()
Return the number of ambiguities found for the requirement. |
java.lang.String |
getComments()
Comments recorded for the requirement |
int |
getExpectedEffort()
The estimated effort expected for completing the requirement. |
int |
getHighEffort()
The Highest effort expected for completing the requirement. |
int |
getLowEffort()
The lowest effort expected for completing the requirement. |
TreeItem.MoSCoW |
getMoSCoW()
MoSCoW of the requirement |
java.lang.String |
getName()
The name of the requirement |
java.lang.String |
getNotes()
Notes recorded for the requirement |
double |
getOrder()
Returns the order in which the requirement should be worked on. |
User.WebCacheUser |
getOwner()
Owner of the requirement |
Requirement.Priority |
getPriority()
Priority of the requirement |
double |
getRank()
Returns this requirement's rank. |
int |
getRequirementNumber()
Requirement number |
Requirement.RequirementType |
getRequirementType()
Type of the requirement |
User.WebCacheUser[] |
getResponsibleUsers()
The users responsible for the requirement. |
User.WebCacheUser[] |
getReviewedBy()
Users who reviewed the requirement |
java.lang.String |
getRevisedDescription()
Revised description for the requirement |
Content.WebCacheContent |
getRichDescription()
Returns the rich description of this requirement. |
Requirement.Status |
getStatus()
Returns the status (Draft, Submitted, Pending, Accepted, etc.) of the requirement. |
Requirement.StreamState |
getStreamState()
Returns the Stream State |
EnumeratedValue[] |
getTags()
returns the tags, if any, attached to this story the returned array may be of size 0, but is never null |
EnumeratedValue |
getUDAGrouping()
UDA Grouping of the requirement |
void |
setAmbiguitiesCount(int numAmbiguities)
Set the number of ambiguities for the requirement. |
void |
setComments(java.lang.String comments)
Set the comments recorded for the requirement |
void |
setExpectedEffort(int effort)
The estimated effort expected for completing the requirement. |
void |
setHighEffort(int effort)
The highest effort expected for completing the requirement. |
void |
setLowEffort(int effort)
Set the lowest effort expected for completing the requirement. |
void |
setMoSCoW(TreeItem.MoSCoW moscow)
Set the MoSCoW of the requirement |
void |
setName(java.lang.String name)
Set the name for the requirement |
void |
setNotes(java.lang.String notes)
Set the notes recorded for the requirement |
void |
setOrder(double order)
Sets the new order in which the requirement should be worked on. |
void |
setOwner(User.WebCacheUser owner)
Set the owner for the requirement |
void |
setPriority(Requirement.Priority priority)
Set the priority of the requirement |
void |
setRank(double rank)
Sets the new rank for this requirement. |
void |
setRequirementType(Requirement.RequirementType reqType)
Set the type of the requirement |
void |
setResponsibleUsers(User.WebCacheUser[] responsibleUsers)
Set the users responsible for the requirement. |
void |
setReviewedBy(User.WebCacheUser[] users)
Set the users who reviewed the requirement |
void |
setRevisedDescription(java.lang.String revisedDesc)
Set the revised description for the requirement |
void |
setRichDescription(Content.WebCacheContent description)
Sets the rich description of this requirement. |
void |
setStatus(Requirement.Status status)
Sets the status of the requirement. |
void |
setStreamState(Requirement.StreamState streamState)
Sets the stream state of the Requirement |
void |
setTags(EnumeratedValue[] tags)
sets the tags to be assigned to this story 0, 1 or more tags may be assigned or reassigned |
void |
setUDAGrouping(EnumeratedValue udaGrouping)
Set the UDA Grouping of the requirement |
| Methods inherited from class com.starteam.TreeItem.WebCacheTreeItem |
|---|
create, create, getChildren, getParent, hasChildren, moveTo, setAfter, setBefore, setBetween, setFirst, setLast |
| Methods inherited from class com.starteam.Item.WebCacheItem |
|---|
create, getLabels, getLinks, getParentFolder, moveTo, moveTo |
| Methods inherited from class com.starteam.ViewMember.WebCacheViewMember |
|---|
getAttachments, getComment, getDisplayValue, getDotNotation, getExternalID, getExternalURL, getHistory, getLocker, getPresentationID, getRights, getShareTree, getTraces, getView, isDeleted, isFloating, isPinned, isUnread, lock, lock, modifyReadStatus, pinTo, setAttachments, setExternalID, setExternalURL, setRights, unlock, unpin, updateRevisionComment |
| Methods inherited from class com.starteam.VersionedObject.WebCacheVersionedObject |
|---|
getRevisionNumber, getRootObjectID, getViewVersion, isFromHistory |
| Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject |
|---|
addTo, equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, getObjectID, getServer, getType, getValue, getValue, hashCode, hasValue, isDirty, isNew, refresh, remove, removeFrom, setValue, setValue, toStarTeamURL, update |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Requirement.WebCacheRequirement create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Requirement on the server.
This requirement may be saved by assigning the various properties and then calling
update() on the WebCacheRequirement object, or it may be added to a
WebCacheViewMemberCollection, which is then saved in a transacted context.
cntxt - the ArtifactCacheManager User Session Contextparent - the parent folder in which this new folder will be created.
The parent folder should be from the artifact cache
Requirement.WebCacheRequirement, wrapping a new Requirement
public static Requirement.WebCacheRequirement create(ArtifactCacheManager.Context cntxt,
Requirement.WebCacheRequirement parent)
Requirement on the server.
This item may be saved by assigning the various properties and then calling
update() on the WebCacheRequirement object, or it may be added to a
WebCacheViewMemberCollection, which is then saved in a transacted context.
cntxt - the ArtifactCacheManager User Session Contextparent - the parent Requirement to this new Requirement .
The parent Requirement should be from the artifact cache
Requirement.WebCacheRequirement, wrapping a new Requirementpublic void setNotes(java.lang.String notes)
notes - - notes recorded for the requirementpublic java.lang.String getNotes()
public User.WebCacheUser[] getResponsibleUsers()
public void setResponsibleUsers(User.WebCacheUser[] responsibleUsers)
responsibleUsers - the users responsible for the requirementpublic int getAmbiguitiesCount()
public void setAmbiguitiesCount(int numAmbiguities)
numAmbiguities - the number of ambiguities found for the requirement.public int getExpectedEffort()
public void setExpectedEffort(int effort)
effort - the estimated effort expected for completing the requirement.public int getHighEffort()
public void setHighEffort(int effort)
effort - the estimated effort expected.public int getLowEffort()
public void setLowEffort(int effort)
effort - the minimum effort expected.public void setOrder(double order)
order - The new order for this requirement.Requirement.Type.PropertyCollection.ORDERpublic double getOrder()
Requirement.Type.PropertyCollection.ORDERpublic void setRank(double rank)
rank - The new rank for this requirement.Requirement.Type.PropertyCollection.RANKpublic double getRank()
Requirement.Type.PropertyCollection.RANKpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name for the requirementpublic java.lang.String getComments()
public void setComments(java.lang.String comments)
comments - - comments recorded for the requirementpublic User.WebCacheUser getOwner()
public void setOwner(User.WebCacheUser owner)
owner - - owner for the requirementpublic Requirement.Priority getPriority()
public void setPriority(Requirement.Priority priority)
priority - - priority of the requirementpublic int getRequirementNumber()
public Requirement.RequirementType getRequirementType()
public void setRequirementType(Requirement.RequirementType reqType)
reqType - requirement typepublic EnumeratedValue getUDAGrouping()
public void setUDAGrouping(EnumeratedValue udaGrouping)
udaGrouping - the groupingpublic User.WebCacheUser[] getReviewedBy()
public void setReviewedBy(User.WebCacheUser[] users)
users - who reviewed the requirementpublic java.lang.String getRevisedDescription()
public void setRevisedDescription(java.lang.String revisedDesc)
revisedDesc - revised description.public Requirement.Status getStatus()
Requirement.Status,
Requirement.Type.StatusProperty,
Requirement.Type.PropertyCollection.STATUSpublic void setStatus(Requirement.Status status)
status - The new status for the requirement.public Requirement.StreamState getStreamState()
Requirement.Type.StreamStateProperty.NAMEpublic void setStreamState(Requirement.StreamState streamState)
streamState - the stream state of the RequirementRequirement.Type.StreamStateProperty.NAMEpublic Content.WebCacheContent getRichDescription()
TreeItem.Type.RichDescriptionProperty.NAMEpublic void setRichDescription(Content.WebCacheContent description)
description - the new rich description for this requirement.TreeItem.Type.RichDescriptionProperty.NAMEpublic EnumeratedValue[] getTags()
public void setTags(EnumeratedValue[] tags)
tags - the tags to be assigned to this story instancepublic TreeItem.MoSCoW getMoSCoW()
public void setMoSCoW(TreeItem.MoSCoW moscow)
moscow - MoSCoW
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||