|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.projectdarkstar.tools.dtc.data.AbstractDTO
com.projectdarkstar.tools.dtc.data.TestSuiteDTO
public class TestSuiteDTO
Represents a collection of tests in the form of @link{TestSpecDTO} objects that are to be run in succession as a suite.
| Constructor Summary | |
|---|---|
TestSuiteDTO(Long id,
Long versionNumber,
String name,
String description)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
PkgLibraryDTO |
getDarkstarPkg()
Returns the PkgLibraryDTO object that represents the binary
darkstar package that is to be used in this test suite. |
String |
getDescription()
|
Long |
getId()
Returns the id of the entity in persistent storage |
String |
getName()
|
List<TestSpecDTO> |
getTestSpecs()
Returns the list of TestSpecDTO objects that are to be run
in succession |
Long |
getVersionNumber()
Returns the version number in the data store that this entity represents. |
int |
hashCode()
|
protected void |
setDarkstarPkg(PkgLibraryDTO darkstarPkg)
|
protected void |
setDescription(String description)
|
void |
setId(Long id)
|
protected void |
setName(String name)
|
protected void |
setTestSpecs(List<TestSpecDTO> testSpecs)
|
void |
updateDarkstarPkg(PkgLibraryDTO darkstarPkg)
|
void |
updateDescription(String description)
|
void |
updateName(String name)
|
void |
updateTestSpecs(List<TestSpecDTO> testSpecs)
|
void |
validate()
Validates that each attribute and pending updated attribute (from the updatedAttributes Map) has a valid value in the context of the particular object. |
| Methods inherited from class com.projectdarkstar.tools.dtc.data.AbstractDTO |
|---|
checkBlank, checkNull, getFullyPopulated, getUpdatedAttributes, updateAttribute, valueToValidate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestSuiteDTO(Long id,
Long versionNumber,
String name,
String description)
| Method Detail |
|---|
public Long getId()
getId in class AbstractDTOpublic void setId(Long id)
public Long getVersionNumber()
public String getName()
protected void setName(String name)
public void updateName(String name)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic String getDescription()
protected void setDescription(String description)
public void updateDescription(String description)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic PkgLibraryDTO getDarkstarPkg()
PkgLibraryDTO object that represents the binary
darkstar package that is to be used in this test suite.
protected void setDarkstarPkg(PkgLibraryDTO darkstarPkg)
public void updateDarkstarPkg(PkgLibraryDTO darkstarPkg)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<TestSpecDTO> getTestSpecs()
TestSpecDTO objects that are to be run
in succession
protected void setTestSpecs(List<TestSpecDTO> testSpecs)
public void updateTestSpecs(List<TestSpecDTO> testSpecs)
throws DTCInvalidDataException
DTCInvalidDataException
public void validate()
throws DTCInvalidDataException
AbstractDTO
validate in class AbstractDTODTCInvalidDataExceptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||