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 StringA comment for the resource, if available, otherwise null.booleanbooleanWhether the resource is marked as obsolete.Methods inherited from class ubic.basecode.ontology.simple.AbstractOntologyResourceSimple
equals, getLabel, getLocalName, getUri, hashCode, unwrapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.basecode.ontology.model.OntologyResource
getLabel, getLocalName, getUri, unwrap
-
Constructor Details
-
Method Details
-
getComment
Description copied from interface:OntologyResourceA comment for the resource, if available, otherwise null.- Specified by:
getCommentin interfaceOntologyResource
-
isObsolete
public boolean isObsolete()Description copied from interface:OntologyResourceWhether the resource is marked as obsolete.- Specified by:
isObsoletein interfaceOntologyResource
-
isFunctional
public boolean isFunctional()- Specified by:
isFunctionalin interfaceOntologyProperty- Returns:
- true if this is a FunctionalProperty
-