Interface PropertyValue
- All Superinterfaces:
Comparable<PropertyValue>
- All Known Implementing Classes:
AbstractBasicPropertyValue,AbstractDefinitionPropertyValue,AbstractSynonymPropertyValue,AbstractXrefPropertyValue,BasicPropertyValue,DefinitionPropertyValue,SynonymPropertyValue,XrefPropertyValue
Associates the container object with a value via a property.
For example, a node representing an OWL class may contain a
Meta object
containing a PropertyValue mapping to a textual definition string via a definition property.
Broadly, there are two categories of implementing class:
1. PropertyValues corresponding to a specific explicitly modeled property type (e.g synonym)
2. generic BasicPropertyValues - anything property not explicitly modeled
A PropertyValue is minimally a tuple `(pred,value)`. However, each sub tuple may also
be "annotated" with additional metadata (this corresponds to an Axiom Annotation in OWL)
- Any tuple can be supported by an array of xrefs.
- Some implementing classes may choose to model additional explicit annotations (e.g. SynonymPropertyValue)- Author:
- cjm
-
Field Details
-
COMPARATOR
-
-
Method Details
-
getPred
Predicates correspond to OWL properties. Like all preds in this datamodel, a pred is represented as a String which denotes a CURIE- Returns:
- the pred
-
getVal
The value of the property-value- Returns:
- the val
-
getXrefs
An array denoting objects that support the property value assertion- Returns:
- the xrefs
-
getMeta
-
compareTo
- Specified by:
compareToin interfaceComparable<PropertyValue>
-