com.projectdarkstar.tools.dtc.data
Class TestExecutionResultProbeDataDTO
java.lang.Object
com.projectdarkstar.tools.dtc.data.AbstractDTO
com.projectdarkstar.tools.dtc.data.TestExecutionResultProbeDataDTO
- All Implemented Interfaces:
- Serializable
public class TestExecutionResultProbeDataDTO
- extends AbstractDTO
Represents a snapshot of the data collected by a specific SystemProbeDTO
at a specific point in time.
- See Also:
- Serialized Form
TestExecutionResultProbeDataDTO
public TestExecutionResultProbeDataDTO(Long id,
Date timestamp,
Long value)
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
getValue
public Long getValue()
setValue
protected void setValue(Long value)
updateValue
public void updateValue(Long value)
throws DTCInvalidDataException
- Throws:
DTCInvalidDataException
getParentProbe
public TestExecutionResultProbeLogDTO getParentProbe()
setParentProbe
protected void setParentProbe(TestExecutionResultProbeLogDTO parentProbe)
updateParentProbe
public void updateParentProbe(TestExecutionResultProbeLogDTO parentProbe)
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.