gate.gui.ontology
Class KeyValuePair
java.lang.Object
gate.gui.ontology.KeyValuePair
public class KeyValuePair
- extends Object
- Author:
- niraj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceResource
protected OResource sourceResource
key
protected String key
value
protected Object value
editable
protected boolean editable
KeyValuePair
public KeyValuePair(OResource sourceResource,
String key,
Object value,
boolean editable)
getKey
public String getKey()
setKey
public void setKey(String key)
getSourceResource
public OResource getSourceResource()
setSourceResource
public void setSourceResource(OResource sourceResource)
getValue
public Object getValue()
setValue
public void setValue(Object value)
isEditable
public boolean isEditable()
setEditable
public void setEditable(boolean editable)