eu.scape_project.watch.domain
Class DictionaryItem
java.lang.Object
thewebsemantic.binding.RdfBean<DictionaryItem>
eu.scape_project.watch.domain.DictionaryItem
public class DictionaryItem
- extends thewebsemantic.binding.RdfBean<DictionaryItem>
Key-Value pair holder for PropertyValue lists of key-value pairs (i.e.
dictionary).
- Author:
- Luis Faria , Petar Petrov
Methods inherited from class thewebsemantic.binding.RdfBean |
asIndividual, delete, fill, fill, load, query, refresh, save |
DictionaryItem
public DictionaryItem()
- Create a new empty dictionary item.
DictionaryItem
public DictionaryItem(String key,
String value)
- Create a new dictionary item.
- Parameters:
key
- The dictionary item keyvalue
- The dictionary item value
getKey
public String getKey()
setKey
public void setKey(String key)
getValue
public String getValue()
setValue
public void setValue(String value)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.