eu.scape_project.watch.domain
Class Measurement
java.lang.Object
thewebsemantic.binding.RdfBean<Measurement>
eu.scape_project.watch.domain.Measurement
public class Measurement
- extends thewebsemantic.binding.RdfBean<Measurement>
Logs the moment when a property value was measured.
- Author:
- Luis Faria
Methods inherited from class thewebsemantic.binding.RdfBean |
asIndividual, delete, fill, fill, load, query, refresh, save |
Measurement
public Measurement()
- Create a new empty measurement.
Measurement
public Measurement(PropertyValue pv,
long t)
- Create a new measurement.
- Parameters:
pv
- The measured property valuet
- The moment in time of the measurement
getId
public String getId()
- The unique identifier of the measurement.
- Returns:
- The related property value name concatenated with the timestamp
getPropertyValue
public PropertyValue getPropertyValue()
setPropertyValue
public void setPropertyValue(PropertyValue propertyValue)
getTimestamp
public long getTimestamp()
setTimestamp
public void setTimestamp(long timestamp)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2012. All Rights Reserved.