public class PropertyValue extends Object
Modifier and Type | Field and Description |
---|---|
protected RDFProperty |
property
The instance of property for which the value is of type.
|
protected Object |
value
The actual value (it can be string or an instance of OResource)
|
Constructor and Description |
---|
PropertyValue(RDFProperty property,
Object value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
RDFProperty |
getProperty()
Gets the associated property
|
Object |
getValue()
Gets the set value
|
String |
toString()
Returns the string representation (i.e. propertyURI("value")) which
is used to show in the right hand side panel of the Ontology
Editor.
|
protected RDFProperty property
public PropertyValue(RDFProperty property, Object value)
property
- value
- public RDFProperty getProperty()