|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthewebsemantic.binding.RdfBean<PropertyValue>
eu.scape_project.watch.domain.PropertyValue
public class PropertyValue
Each Property Value is the atomic measurement of a Property for an
Entity measured in a specific point in time. The moment in time is
defined by a related Measurement
| Constructor Summary | |
|---|---|
PropertyValue()
Create a new empty property value. |
|
PropertyValue(Entity e,
Property p,
List<Object> v)
|
|
PropertyValue(Entity e,
Property p,
String v)
Create a new property value. |
|
| Method Summary | |
|---|---|
static String |
createId(String entityName,
String propertyName)
Create a unique Id based on the related Entity name and related
Property name. |
void |
delete()
|
boolean |
equals(Object obj)
|
Entity |
getEntity()
|
String |
getId()
|
Property |
getProperty()
|
String |
getValue()
|
List<Object> |
getValues()
|
int |
hashCode()
|
PropertyValue |
save()
|
void |
setEntity(Entity entity)
Set the related Entity and update the Id. |
void |
setProperty(Property property)
|
void |
setValue(String value)
|
void |
setValues(List<Object> values)
|
String |
toString()
|
| Methods inherited from class thewebsemantic.binding.RdfBean |
|---|
asIndividual, fill, fill, load, query, refresh |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyValue()
public PropertyValue(Entity e,
Property p,
String v)
e - The related Entity.p - The related Property.v - The value of the Property for the Entity
public PropertyValue(Entity e,
Property p,
List<Object> v)
| Method Detail |
|---|
public String getId()
public String getValue()
public void setValue(String value)
public List<Object> getValues()
public void setValues(List<Object> values)
public Entity getEntity()
public void setEntity(Entity entity)
Entity and update the Id.
entity - The related Entitypublic Property getProperty()
public void setProperty(Property property)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic PropertyValue save()
save in class thewebsemantic.binding.RdfBean<PropertyValue>public void delete()
delete in class thewebsemantic.binding.RdfBean<PropertyValue>
public static String createId(String entityName,
String propertyName)
Entity name and related
Property name.
entityName - The related Entity name.propertyName - The related Property name.
PropertyValue unique Id.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||