|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.gui.ontology.PropertyValue
public class PropertyValue
There are various types of properties (e.g. RDF/Object/Datatype/Annotation etc). Resources with different properties have different types of property values (e.g. Instances for Object properties, string values for annotation/datatype and so on). This class represents a property value and its type.
Field Summary | |
---|---|
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 Summary | |
---|---|
PropertyValue(RDFProperty property,
Object value)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected RDFProperty property
protected Object value
Constructor Detail |
---|
public PropertyValue(RDFProperty property, Object value)
property
- value
- Method Detail |
---|
public RDFProperty getProperty()
public Object getValue()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |