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

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

public class WsBaseline
extends java.lang.Object

This object represents a Contour Baseline. A baseline is a "snapshot" of Items within a Project at a certain point in time.

Author:
Dylan

Constructor Summary
WsBaseline()
          Creates an empty WsBaseline object.
WsBaseline(java.lang.String name, java.lang.String description, WsVersion[] versions, java.lang.Integer scopeId, java.lang.Integer refId, WsProject project, WsSignature[] signatures)
          Creates a new WsBaseline object with the given values.
 
Method Summary
 java.lang.String getDescription()
          Gets the baseline's description.
 java.lang.Long getId()
          Gets the baseline's id.
 java.lang.String getName()
          Gets the baseline's name.
 WsProject getProject()
          Gets the project this baseline is in.
 java.lang.Integer getRefId()
          Gets the baseline's reference id.
 java.lang.Integer getScopeId()
          Gets the baseline's scope.
 WsSignature[] getSignatures()
          Gets the signatures in this baseline.
 WsVersion[] getVersions()
          Gets the versions associated with the baseline.
 void setDescription(java.lang.String description)
          Sets the baseline's description.
 void setId(java.lang.Long id)
          Sets the baseline's id.
 void setName(java.lang.String name)
          Sets the baseline's name.
 void setProject(WsProject project)
          Sets the project this baseline is in.
 void setRefId(java.lang.Integer refId)
          Sets the baseline's reference id.
 void setScopeId(java.lang.Integer scopeId)
          Sets the baseline's scope.
 void setSignatures(WsSignature[] signatures)
          Sets the signatures in this baseline.
 void setVersions(WsVersion[] versions)
           
 java.lang.String toString()
          Gets a string representation of this baseline.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsBaseline

public WsBaseline()
Creates an empty WsBaseline object.


WsBaseline

public WsBaseline(java.lang.String name,
                  java.lang.String description,
                  WsVersion[] versions,
                  java.lang.Integer scopeId,
                  java.lang.Integer refId,
                  WsProject project,
                  WsSignature[] signatures)
Creates a new WsBaseline object with the given values.

Parameters:
name - name of the baseline
description - description of the baseline (can be null)
versions - versions in the baseline
scopeId - scope of the baseline
refId - reference id
project - project the baseline is in
signatures - signatures in the baseline
Method Detail

getId

public java.lang.Long getId()
Gets the baseline's id.

Returns:
the id

setId

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

Parameters:
id - the id to set

getName

public java.lang.String getName()
Gets the baseline's name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the baseline's name.

Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Gets the baseline's description.

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the baseline's description.

Parameters:
description - the description to set

getVersions

public WsVersion[] getVersions()
Gets the versions associated with the baseline.

Returns:
the baseline's versions

setVersions

public void setVersions(WsVersion[] versions)

getScopeId

public java.lang.Integer getScopeId()
Gets the baseline's scope.

Returns:
the baseline's scope
See Also:
WsScope

setScopeId

public void setScopeId(java.lang.Integer scopeId)
Sets the baseline's scope.

Parameters:
scopeId - the baseline's scope

getRefId

public java.lang.Integer getRefId()
Gets the baseline's reference id.

Returns:
baseline's reference id

setRefId

public void setRefId(java.lang.Integer refId)
Sets the baseline's reference id.

Parameters:
refId - baseline's reference id

getProject

public WsProject getProject()
Gets the project this baseline is in.

Returns:
WsProject

setProject

public void setProject(WsProject project)
Sets the project this baseline is in.

Parameters:
project - WsProject

getSignatures

public WsSignature[] getSignatures()
Gets the signatures in this baseline.

Returns:
an array of WsSignatures

setSignatures

public void setSignatures(WsSignature[] signatures)
Sets the signatures in this baseline.

Parameters:
signatures - an array of WsSignatures

toString

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

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


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