com.jamasoftware.contour.ws.v2.domain
Class WsRelease

java.lang.Object
  extended by com.jamasoftware.contour.ws.v2.domain.WsRelease

public class WsRelease
extends java.lang.Object

This object represents a Contour Release. Releases are groups of Items that are developed together, and mapped to a specific completion (release) date. This field can also be used to manage iterations or sprints depending on your product, project and methodology.

Author:
Dylan

Constructor Summary
WsRelease()
          Creates an empty WsRelease object.
WsRelease(java.lang.String name, java.lang.String description, java.util.Date releaseDate, WsReleaseType releaseType)
          Creates a new WsRelease object with the given name, description, release date and release type.
 
Method Summary
 java.lang.String getDescription()
          Gets the description of the release.
 java.lang.Long getId()
          Gets the id of the release.
 java.lang.String getImage()
          Gets the image associated with the release.
 java.lang.String getName()
          Gets the name of the release.
 java.util.Date getReleaseDate()
          Gets the release date for the release.
 WsReleaseType getReleaseType()
          Gets the Release Type of the release.
 java.lang.Integer getSortOrder()
          Gets the sort order of the release.
 boolean isActive()
          Is this release active?
 void setActive(boolean active)
          Set whether or not this release is active.
 void setDescription(java.lang.String description)
          Sets the description of the release.
 void setId(java.lang.Long id)
          Sets the release's id.
 void setImage(java.lang.String image)
          Sets the image associated with the release.
 void setName(java.lang.String name)
          Sets the name of the release.
 void setReleaseDate(java.util.Date releaseDate)
          Sets the release date for the release.
 void setReleaseType(WsReleaseType releaseType)
          Sets the Release Type of the release.
 void setSortOrder(java.lang.Integer sortOrder)
          Sets the sort order of the release.
 java.lang.String toString()
          Gets a string representation of this release.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsRelease

public WsRelease()
Creates an empty WsRelease object.


WsRelease

public WsRelease(java.lang.String name,
                 java.lang.String description,
                 java.util.Date releaseDate,
                 WsReleaseType releaseType)
Creates a new WsRelease object with the given name, description, release date and release type.

Parameters:
name - name of the release
description - a description of the release (can be null)
releaseDate - date the release is scheduled for
releaseType - type of the release
Method Detail

getId

public java.lang.Long getId()
Gets the id of the release.

Returns:
the id

setId

public void setId(java.lang.Long id)
Sets the release's id.

Parameters:
id - the id to set

getName

public java.lang.String getName()
Gets the name of the release.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name of the release.

Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Gets the description of the release.

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the description of the release.

Parameters:
description - the description to set

getReleaseDate

public java.util.Date getReleaseDate()
Gets the release date for the release.

Returns:
the releaseDate

setReleaseDate

public void setReleaseDate(java.util.Date releaseDate)
Sets the release date for the release.

Parameters:
releaseDate - the releaseDate to set

getReleaseType

public WsReleaseType getReleaseType()
Gets the Release Type of the release.

Returns:
the releaseType
See Also:
WsReleaseType

setReleaseType

public void setReleaseType(WsReleaseType releaseType)
Sets the Release Type of the release.

Parameters:
releaseType - the releaseType to set
See Also:
WsReleaseType

getImage

public java.lang.String getImage()
Gets the image associated with the release.

Returns:
the image

setImage

public void setImage(java.lang.String image)
Sets the image associated with the release.

Parameters:
image - the image to set

getSortOrder

public java.lang.Integer getSortOrder()
Gets the sort order of the release. This is used to sort the releases in the Release Explorer Tree.

Returns:
the sortOrder

setSortOrder

public void setSortOrder(java.lang.Integer sortOrder)
Sets the sort order of the release. This is used to sort the releases in the Release Explorer tree.

Parameters:
sortOrder - the sortOrder to set

isActive

public boolean isActive()
Is this release active?

Returns:
whether or not the release is active

setActive

public void setActive(boolean active)
Set whether or not this release is active.

Parameters:
active - is the release active

toString

public java.lang.String toString()
Gets a string representation of this release.

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


Copyright © 2010 Jama Software, Inc. All Rights Reserved.