Package ubic.basecode.ontology.simple
Class OntologyPropertySimple
java.lang.Object
ubic.basecode.ontology.simple.AbstractOntologyResourceSimple
ubic.basecode.ontology.simple.OntologyPropertySimple
- All Implemented Interfaces:
Serializable
,OntologyProperty
,OntologyResource
public class OntologyPropertySimple
extends AbstractOntologyResourceSimple
implements OntologyProperty
Simple in-memory implementation of
OntologyProperty
.- Author:
- poirigui
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOntologyPropertySimple
(@Nullable String uri, @Nullable String label) OntologyPropertySimple
(@Nullable String uri, @Nullable String localName, @Nullable String label) -
Method Summary
Modifier and TypeMethodDescription@Nullable String
A comment for the resource, if available, otherwise null.boolean
boolean
Whether the resource is marked as obsolete.Methods inherited from class ubic.basecode.ontology.simple.AbstractOntologyResourceSimple
equals, getLabel, getLocalName, getUri, hashCode, unwrap
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ubic.basecode.ontology.model.OntologyResource
getLabel, getLocalName, getUri, unwrap
-
Constructor Details
-
Method Details
-
getComment
Description copied from interface:OntologyResource
A comment for the resource, if available, otherwise null.- Specified by:
getComment
in interfaceOntologyResource
-
isObsolete
public boolean isObsolete()Description copied from interface:OntologyResource
Whether the resource is marked as obsolete.- Specified by:
isObsolete
in interfaceOntologyResource
-
isFunctional
public boolean isFunctional()- Specified by:
isFunctional
in interfaceOntologyProperty
- Returns:
- true if this is a FunctionalProperty
-