|
||||||||||
| 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.ClientAppConfigDTO
public class ClientAppConfigDTO
Represents a runtime configuration for a ClientAppDTO.
| Constructor Summary | |
|---|---|
ClientAppConfigDTO(Long id,
Long versionNumber,
String name,
String path,
ClientAppConfigTypeDTO propertyMethod)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
ClientAppDTO |
getClientApp()
Returns the parent ClientAppDTO which this configuration
is associated with. |
Long |
getId()
Returns the id of the entity in persistent storage |
String |
getName()
|
String |
getPath()
Returns the system path required to initiate execution of this client simulator. |
List<PropertyDTO> |
getProperties()
Returns a list of arguments in the form of PropertyDTO objects
to be passed to the client during run time. |
ClientAppConfigTypeDTO |
getPropertyMethod()
Returns the mechanism required to pass arguments to the client executable. |
Long |
getVersionNumber()
Returns the version number in the data store that this entity represents. |
int |
hashCode()
|
protected void |
setClientApp(ClientAppDTO clientApp)
|
void |
setId(Long id)
|
protected void |
setName(String name)
|
protected void |
setPath(String path)
|
protected void |
setProperties(List<PropertyDTO> properties)
|
protected void |
setPropertyMethod(ClientAppConfigTypeDTO propertyMethod)
|
void |
updateClientApp(ClientAppDTO clientApp)
|
void |
updateName(String name)
|
void |
updatePath(String path)
|
void |
updateProperties(List<PropertyDTO> properties)
|
void |
updatePropertyMethod(ClientAppConfigTypeDTO propertyMethod)
|
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 ClientAppConfigDTO(Long id,
Long versionNumber,
String name,
String path,
ClientAppConfigTypeDTO propertyMethod)
| 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 getPath()
protected void setPath(String path)
public void updatePath(String path)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic ClientAppConfigTypeDTO getPropertyMethod()
protected void setPropertyMethod(ClientAppConfigTypeDTO propertyMethod)
public void updatePropertyMethod(ClientAppConfigTypeDTO propertyMethod)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic ClientAppDTO getClientApp()
ClientAppDTO which this configuration
is associated with.
ClientAppDTO for this configurationprotected void setClientApp(ClientAppDTO clientApp)
public void updateClientApp(ClientAppDTO clientApp)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<PropertyDTO> getProperties()
PropertyDTO objects
to be passed to the client during run time.
protected void setProperties(List<PropertyDTO> properties)
public void updateProperties(List<PropertyDTO> properties)
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 | |||||||||