Class AbstractSynonymPropertyValue
- java.lang.Object
-
- org.geneontology.obographs.core.model.meta.AbstractSynonymPropertyValue
-
- All Implemented Interfaces:
Comparable<PropertyValue>,PropertyValue
- Direct Known Subclasses:
SynonymPropertyValue
@Immutable public abstract class AbstractSynonymPropertyValue extends Object implements PropertyValue
APropertyValuethat represents a an alternative term for a node- Author:
- cjm
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractSynonymPropertyValue.SCOPESOBO-style synonym scopes
-
Constructor Summary
Constructors Constructor Description AbstractSynonymPropertyValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSynonymType()List<String>getTypes()booleanisBroad()booleanisExact()booleanisNarrow()booleanisRelated()
-
-
-
Method Detail
-
getSynonymType
@Default public String getSynonymType()
-
isExact
public boolean isExact()
- Returns:
- true if scope equals EXACT -- convenience predicate
-
isRelated
public boolean isRelated()
-
isBroad
public boolean isBroad()
-
isNarrow
public boolean isNarrow()
-
-