com.projectdarkstar.tools.dtc.data
Class TestExecutionResultClientDataDTO

java.lang.Object
  extended by com.projectdarkstar.tools.dtc.data.AbstractDTO
      extended by com.projectdarkstar.tools.dtc.data.TestExecutionResultClientDataDTO
All Implemented Interfaces:
Serializable

public class TestExecutionResultClientDataDTO
extends AbstractDTO

Represents a snapshot of the number of clients in the system at runtime at a specific point in time during the execution.

See Also:
Serialized Form

Constructor Summary
TestExecutionResultClientDataDTO(Long id, Date timestamp)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getId()
          Returns the id of the entity in persistent storage
 TestExecutionResultDTO getParentResult()
           
 Date getTimestamp()
           
 List<TestExecutionResultClientDataTupleDTO> getValues()
           
 int hashCode()
           
 void setId(Long id)
           
protected  void setParentResult(TestExecutionResultDTO parentResult)
           
protected  void setTimestamp(Date timestamp)
           
protected  void setValues(List<TestExecutionResultClientDataTupleDTO> values)
           
 void updateParentResult(TestExecutionResultDTO parentResult)
           
 void updateTimestamp(Date timestamp)
           
 void updateValues(List<TestExecutionResultClientDataTupleDTO> values)
           
 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

TestExecutionResultClientDataDTO

public TestExecutionResultClientDataDTO(Long id,
                                        Date timestamp)
Method Detail

getId

public Long getId()
Returns the id of the entity in persistent storage

Specified by:
getId in class AbstractDTO
Returns:
id of the entity

setId

public void setId(Long id)

getTimestamp

public Date getTimestamp()

setTimestamp

protected void setTimestamp(Date timestamp)

updateTimestamp

public void updateTimestamp(Date timestamp)
                     throws DTCInvalidDataException
Throws:
DTCInvalidDataException

getValues

public List<TestExecutionResultClientDataTupleDTO> getValues()

setValues

protected void setValues(List<TestExecutionResultClientDataTupleDTO> values)

updateValues

public void updateValues(List<TestExecutionResultClientDataTupleDTO> values)
                  throws DTCInvalidDataException
Throws:
DTCInvalidDataException

getParentResult

public TestExecutionResultDTO getParentResult()

setParentResult

protected void setParentResult(TestExecutionResultDTO parentResult)

updateParentResult

public void updateParentResult(TestExecutionResultDTO parentResult)
                        throws DTCInvalidDataException
Throws:
DTCInvalidDataException

validate

public void validate()
              throws DTCInvalidDataException
Description copied from class: AbstractDTO
Validates that each attribute and pending updated attribute (from the updatedAttributes Map) has a valid value in the context of the particular object.

Specified by:
validate in class AbstractDTO
Throws:
DTCInvalidDataException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.