Interface PropertyValue
-
- All Superinterfaces:
Comparable<PropertyValue>
- All Known Implementing Classes:
AbstractBasicPropertyValue,AbstractDefinitionPropertyValue,AbstractSynonymPropertyValue,AbstractXrefPropertyValue,BasicPropertyValue,DefinitionPropertyValue,SynonymPropertyValue,XrefPropertyValue
public interface PropertyValue extends Comparable<PropertyValue>
Associates the container object with a value via a property. For example, a node representing an OWL class may contain aMetaobject 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. genericBasicPropertyValues - 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intcompareTo(PropertyValue o)MetagetMeta()default StringgetPred()Predicates correspond to OWL properties.default StringgetVal()The value of the property-valueList<String>getXrefs()An array denoting objects that support the property value assertion
-
-
-
Method Detail
-
getPred
@Default default String 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
@Default default String getVal()
The value of the property-value- Returns:
- the val
-
getXrefs
List<String> getXrefs()
An array denoting objects that support the property value assertion- Returns:
- the xrefs
-
getMeta
@Nullable Meta getMeta()
-
compareTo
default int compareTo(PropertyValue o)
- Specified by:
compareToin interfaceComparable<PropertyValue>
-
-