public class KeyValuePair extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
editable |
protected String |
key |
protected OResource |
sourceResource |
protected Object |
value |
Constructor and Description |
---|
KeyValuePair(OResource sourceResource,
String key,
Object value,
boolean editable) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
OResource |
getSourceResource() |
Object |
getValue() |
boolean |
isEditable() |
void |
setEditable(boolean editable) |
void |
setKey(String key) |
void |
setSourceResource(OResource sourceResource) |
void |
setValue(Object value) |
protected OResource sourceResource
protected boolean editable
public KeyValuePair(OResource sourceResource, String key, Object value, boolean editable)
public OResource getSourceResource()
public void setSourceResource(OResource sourceResource)
public boolean isEditable()
public void setEditable(boolean editable)