com.jamasoftware.contour.ws.v3.domain
Class WsChangeRequestAssociation

java.lang.Object
  extended by com.jamasoftware.contour.ws.v3.domain.WsChangeRequestAssociation

public class WsChangeRequestAssociation
extends java.lang.Object

This object represents a Contour Change Request Association. These are associations between items and a Change Request.

Author:
Dylan

Constructor Summary
WsChangeRequestAssociation()
          Creates an empty WsChangeRequestAssociation object.
WsChangeRequestAssociation(WsItem changeRequestItem, WsItem associatedItem, WsVersion versionStart, WsVersion versionEnd, java.lang.String changeRequestComment)
          Creates a new WsChangeRequestAssociation object with the given values.
 
Method Summary
 WsItem getAssociatedItem()
          Gets the item associated with the Change Request.
 java.lang.String getChangeRequestComment()
          Gets the change request association comment.
 WsItem getChangeRequestItem()
          Gets the Change Request of the association.
 java.lang.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(java.lang.String changeRequestComment)
          Sets the change request association comment.
 void setChangeRequestItem(WsItem changeRequestItem)
          Sets the Change Request of the association.
 void setId(java.lang.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.
 java.lang.String toString()
          Gets a string representation of this change request association.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsChangeRequestAssociation

public WsChangeRequestAssociation()
Creates an empty WsChangeRequestAssociation object.


WsChangeRequestAssociation

public WsChangeRequestAssociation(WsItem changeRequestItem,
                                  WsItem associatedItem,
                                  WsVersion versionStart,
                                  WsVersion versionEnd,
                                  java.lang.String changeRequestComment)
Creates a new WsChangeRequestAssociation object with the given values.

Parameters:
changeRequestItem - change request that the item is in
associatedItem - item that is in the change request
versionStart - 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)
Method Detail

getId

public java.lang.Long getId()
Gets the change request association's id.

Returns:
change request association id

setId

public void setId(java.lang.Long id)
Sets the change request association's id.

Parameters:
id - change request association id

getChangeRequestItem

public WsItem getChangeRequestItem()
Gets the Change Request of the association.

Returns:
WsItem

setChangeRequestItem

public void setChangeRequestItem(WsItem changeRequestItem)
Sets the Change Request of the association. This item must have the Change Request component.

Parameters:
changeRequestItem - WsItem

getAssociatedItem

public WsItem getAssociatedItem()
Gets the item associated with the Change Request.

Returns:
WsItem

setAssociatedItem

public void setAssociatedItem(WsItem associatedItem)
Sets the item associated with the Change Request.

Parameters:
associatedItem - WsItem

getVersionStart

public WsVersion getVersionStart()
Gets the starting version of the associated item.

Returns:
WsVersion

setVersionStart

public void setVersionStart(WsVersion versionStart)
Sets the starting version of the associated item.

Parameters:
versionStart - WsVersion

getVersionEnd

public WsVersion getVersionEnd()
Gets the ending version of the associated item.

Returns:
WsVersion

setVersionEnd

public void setVersionEnd(WsVersion versionEnd)
Sets the ending version of the associated item.

Parameters:
versionEnd - WsVersion

getChangeRequestComment

public java.lang.String getChangeRequestComment()
Gets the change request association comment.

Returns:
change request association comment

setChangeRequestComment

public void setChangeRequestComment(java.lang.String changeRequestComment)
Sets the change request association comment.

Parameters:
changeRequestComment - change request association comment

toString

public java.lang.String toString()
Gets a string representation of this change request association.

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.