|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v3.domain.WsRelationship
public class WsRelationship
This object represents a Contour relationship. In Contour, relationships are used to link Items together that are related, what is known as "Traceability". By creating relationships between Items, Contour allows you to easily assess the impact a change to one Item can have on other Items within the Project. This feature will help you manage change effectively and keep your team in sync during development.
| Constructor Summary | |
|---|---|
WsRelationship()
Creates an empty WsRelationship object. |
|
WsRelationship(WsItem fromItem,
WsItem toItem,
WsRelationshipType relationshipType,
java.lang.String relationshipStatus,
java.lang.String relationshipNote)
Creates a new WsRelationship object with the given "to" item, "from" item, type, status and note. |
|
| Method Summary | |
|---|---|
WsItem |
getFromItem()
Gets the "From" item in the relationship. |
java.lang.Long |
getId()
Gets the id of the relationship. |
java.lang.String |
getRelationshipNote()
Gets the note associated with the relationship. |
java.lang.String |
getRelationshipStatus()
Gets the relationship's status. |
WsRelationshipType |
getRelationshipType()
Gets the relationship's type (Related To, Dependent On, etc...) |
WsItem |
getToItem()
Gets the "To" item in the relationship. |
void |
setFromItem(WsItem fromItem)
Sets the "From" item in the relationship. |
void |
setId(java.lang.Long id)
|
void |
setRelationshipNote(java.lang.String relationshipNote)
Sets the note associated with the relationship. |
void |
setRelationshipStatus(java.lang.String relationshipStatus)
Sets the relationship's status. |
void |
setRelationshipType(WsRelationshipType relationshipType)
Sets the relationship's type (Related To, Dependent On, etc...) |
void |
setToItem(WsItem toItem)
Sets the "To" item in the relationship. |
java.lang.String |
toString()
Gets a string representation of this relationship. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsRelationship()
public WsRelationship(WsItem fromItem,
WsItem toItem,
WsRelationshipType relationshipType,
java.lang.String relationshipStatus,
java.lang.String relationshipNote)
fromItem - the upstream itemtoItem - the downstream itemrelationshipType - relationship typerelationshipStatus - relationship status (can be null)relationshipNote - a note about the relationship (can be null)| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
public WsItem getFromItem()
public void setFromItem(WsItem fromItem)
fromItem - the upstream itempublic WsItem getToItem()
public void setToItem(WsItem toItem)
toItem - the downstream itempublic WsRelationshipType getRelationshipType()
public void setRelationshipType(WsRelationshipType relationshipType)
relationshipType - the relationship's typepublic java.lang.String getRelationshipStatus()
public void setRelationshipStatus(java.lang.String relationshipStatus)
relationshipStatus - the relationship's typepublic java.lang.String getRelationshipNote()
public void setRelationshipNote(java.lang.String relationshipNote)
relationshipNote - relationship notepublic 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 | |||||||||