Package ubic.gemma.core.ontology
Class OntologyIndividualSimple
- java.lang.Object
-
- ubic.gemma.core.ontology.AbstractOntologyResourceSimple
-
- ubic.gemma.core.ontology.OntologyIndividualSimple
-
- All Implemented Interfaces:
Serializable
,OntologyIndividual
,OntologyResource
public class OntologyIndividualSimple extends AbstractOntologyResourceSimple implements OntologyIndividual
- 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 OntologyTermSimple
getInstanceOf()
-
Methods inherited from class ubic.gemma.core.ontology.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, 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()
- Specified by:
getInstanceOf
in interfaceOntologyIndividual
-
-