|
||||||||||
| 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.ServerAppDTO
public class ServerAppDTO
Represents a server application that can be run as the central process in a DTC test.
| Constructor Summary | |
|---|---|
ServerAppDTO(Long id,
Long versionNumber,
String name,
String description,
PkgLibraryDTO requiredPkg)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
List<ServerAppConfigDTO> |
getConfigs()
Returns a list of server application configurations that can be used to run this server application. |
String |
getDescription()
|
Long |
getId()
Returns the id of the entity in persistent storage |
String |
getName()
|
PkgLibraryDTO |
getRequiredPkg()
Returns the package library required to run this server application. |
Long |
getVersionNumber()
Returns the version number in the data store that this entity represents. |
int |
hashCode()
|
protected void |
setConfigs(List<ServerAppConfigDTO> configs)
|
protected void |
setDescription(String description)
|
void |
setId(Long id)
|
protected void |
setName(String name)
|
protected void |
setRequiredPkg(PkgLibraryDTO requiredPkg)
|
void |
updateConfigs(List<ServerAppConfigDTO> configs)
|
void |
updateDescription(String description)
|
void |
updateName(String name)
|
void |
updateRequiredPkg(PkgLibraryDTO requiredPkg)
|
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 ServerAppDTO(Long id,
Long versionNumber,
String name,
String description,
PkgLibraryDTO requiredPkg)
| 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 List<ServerAppConfigDTO> getConfigs()
protected void setConfigs(List<ServerAppConfigDTO> configs)
public void updateConfigs(List<ServerAppConfigDTO> configs)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic PkgLibraryDTO getRequiredPkg()
protected void setRequiredPkg(PkgLibraryDTO requiredPkg)
public void updateRequiredPkg(PkgLibraryDTO requiredPkg)
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 | |||||||||