public class WsBaseline extends Object
| Constructor and Description |
|---|
WsBaseline()
Creates an empty WsBaseline object.
|
WsBaseline(String name,
String description,
WsVersion[] versions,
Integer scopeId,
Integer refId,
WsProject project,
WsSignature[] signatures)
Creates a new WsBaseline object with the given values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the baseline's description.
|
Long |
getId()
Gets the baseline's id.
|
String |
getName()
Gets the baseline's name.
|
WsProject |
getProject()
Gets the project this baseline is in.
|
Integer |
getRefId()
Gets the baseline's reference id.
|
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(String description)
Sets the baseline's description.
|
void |
setId(Long id)
Sets the baseline's id.
|
void |
setName(String name)
Sets the baseline's name.
|
void |
setProject(WsProject project)
Sets the project this baseline is in.
|
void |
setRefId(Integer refId)
Sets the baseline's reference id.
|
void |
setScopeId(Integer scopeId)
Sets the baseline's scope.
|
void |
setSignatures(WsSignature[] signatures)
Sets the signatures in this baseline.
|
void |
setVersions(WsVersion[] versions) |
String |
toString()
Gets a string representation of this baseline.
|
public WsBaseline()
public WsBaseline(String name, String description, WsVersion[] versions, Integer scopeId, Integer refId, WsProject project, WsSignature[] signatures)
name - name of the baselinedescription - description of the baseline (can be null)versions - versions in the baselinescopeId - scope of the baselinerefId - reference idproject - project the baseline is insignatures - signatures in the baselinepublic Long getId()
public void setId(Long id)
id - the id to setpublic String getName()
public void setName(String name)
name - the name to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic WsVersion[] getVersions()
public void setVersions(WsVersion[] versions)
public Integer getScopeId()
WsScopepublic void setScopeId(Integer scopeId)
scopeId - the baseline's scopepublic Integer getRefId()
public void setRefId(Integer refId)
refId - baseline's reference idpublic WsProject getProject()
public void setProject(WsProject project)
project - WsProjectpublic WsSignature[] getSignatures()
WsSignaturespublic void setSignatures(WsSignature[] signatures)
signatures - an array of WsSignaturesCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.