eu.scape_project.watch.domain
Class DictionaryItem

java.lang.Object
  extended by thewebsemantic.binding.RdfBean<DictionaryItem>
      extended by 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

Constructor Summary
DictionaryItem()
          Create a new empty dictionary item.
DictionaryItem(String key, String value)
          Create a new dictionary item.
 
Method Summary
 boolean equals(Object obj)
           
 String getKey()
           
 String getValue()
           
 int hashCode()
           
 void setKey(String key)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class thewebsemantic.binding.RdfBean
asIndividual, delete, fill, fill, load, query, refresh, save
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 key
value - The dictionary item value
Method Detail

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.