Package ubic.basecode.ontology.simple
Class OntologyIndividualSimple
- java.lang.Object
-
- ubic.basecode.ontology.simple.AbstractOntologyResourceSimple
-
- ubic.basecode.ontology.simple.OntologyIndividualSimple
-
- All Implemented Interfaces:
Serializable,OntologyIndividual,OntologyResource
public class OntologyIndividualSimple extends AbstractOntologyResourceSimple implements OntologyIndividual
- Author:
- poirigui
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OntologyIndividualSimple(String uri, String label, OntologyTermSimple instanceOf)Create a new simple ontology individual.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OntologyTermSimplegetInstanceOf()Return the term that this is an instance of.-
Methods inherited from class ubic.basecode.ontology.simple.AbstractOntologyResourceSimple
equals, getComment, getLabel, getLocalName, getUri, hashCode, isObsolete
-
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
getComment, getLabel, getLocalName, getUri, isObsolete
-
-
-
-
Constructor Detail
-
OntologyIndividualSimple
public OntologyIndividualSimple(@Nullable String uri, @Nullable String label, OntologyTermSimple instanceOf)
Create a new simple ontology individual.- Parameters:
uri- a URI for the term, of null for a free-text termlabel- a label for the terminstanceOf- the term this individual is an instance of which must be simple since this class has to beSerializable.
-
-
Method Detail
-
getInstanceOf
public OntologyTermSimple getInstanceOf()
Description copied from interface:OntologyIndividualReturn the term that this is an instance of.- Specified by:
getInstanceOfin interfaceOntologyIndividual- Returns:
-
-