public class WsChangeRequestAssociation extends Object
| Constructor and Description | 
|---|
WsChangeRequestAssociation()
Creates an empty WsChangeRequestAssociation object. 
 | 
WsChangeRequestAssociation(WsItem changeRequestItem,
                          WsItem associatedItem,
                          WsVersion versionStart,
                          WsVersion versionEnd,
                          String changeRequestComment)
Creates a new WsChangeRequestAssociation object with the given values. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
WsItem | 
getAssociatedItem()
Gets the item associated with the Change Request. 
 | 
String | 
getChangeRequestComment()
Gets the change request association comment. 
 | 
WsItem | 
getChangeRequestItem()
Gets the Change Request of the association. 
 | 
Long | 
getId()
Gets the change request association's id. 
 | 
WsVersion | 
getVersionEnd()
Gets the ending version of the associated item. 
 | 
WsVersion | 
getVersionStart()
Gets the starting version of the associated item. 
 | 
void | 
setAssociatedItem(WsItem associatedItem)
Sets the item associated with the Change Request. 
 | 
void | 
setChangeRequestComment(String changeRequestComment)
Sets the change request association comment. 
 | 
void | 
setChangeRequestItem(WsItem changeRequestItem)
Sets the Change Request of the association. 
 | 
void | 
setId(Long id)
Sets the change request association's id. 
 | 
void | 
setVersionEnd(WsVersion versionEnd)
Sets the ending version of the associated item. 
 | 
void | 
setVersionStart(WsVersion versionStart)
Sets the starting version of the associated item. 
 | 
String | 
toString()
Gets a string representation of this change request association. 
 | 
public WsChangeRequestAssociation()
public WsChangeRequestAssociation(WsItem changeRequestItem, WsItem associatedItem, WsVersion versionStart, WsVersion versionEnd, String changeRequestComment)
changeRequestItem - change request that the item is inassociatedItem - item that is in the change requestversionStart - starting version of the item (can be null)versionEnd - ending version of the item (can be null)changeRequestComment - comment about the change request association
        (can be null)public Long getId()
public void setId(Long id)
id - change request association idpublic WsItem getChangeRequestItem()
public void setChangeRequestItem(WsItem changeRequestItem)
changeRequestItem - WsItempublic WsItem getAssociatedItem()
public void setAssociatedItem(WsItem associatedItem)
associatedItem - WsItempublic WsVersion getVersionStart()
public void setVersionStart(WsVersion versionStart)
versionStart - WsVersionpublic WsVersion getVersionEnd()
public void setVersionEnd(WsVersion versionEnd)
versionEnd - WsVersionpublic String getChangeRequestComment()
public void setChangeRequestComment(String changeRequestComment)
changeRequestComment - change request association commentCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.