Package ubic.gemma.core.ontology
Class AbstractOntologyResourceSimple
- java.lang.Object
-
- ubic.gemma.core.ontology.AbstractOntologyResourceSimple
-
- All Implemented Interfaces:
Serializable
,OntologyResource
- Direct Known Subclasses:
OntologyIndividualSimple
,OntologyPropertySimple
public abstract class AbstractOntologyResourceSimple extends Object implements OntologyResource, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractOntologyResourceSimple(String uri, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getComment()
String
getLabel()
String
getLocalName()
String
getUri()
int
hashCode()
boolean
isObsolete()
-
-
-
Method Detail
-
getLocalName
public String getLocalName()
- Specified by:
getLocalName
in interfaceOntologyResource
-
getLabel
public String getLabel()
- Specified by:
getLabel
in interfaceOntologyResource
-
getComment
@Nullable public String getComment()
- Specified by:
getComment
in interfaceOntologyResource
-
getUri
@Nullable public String getUri()
- Specified by:
getUri
in interfaceOntologyResource
-
isObsolete
public boolean isObsolete()
- Specified by:
isObsolete
in interfaceOntologyResource
-
-