Package ubic.basecode.ontology.simple
Class AbstractOntologyResourceSimple
java.lang.Object
ubic.basecode.ontology.simple.AbstractOntologyResourceSimple
- All Implemented Interfaces:
Serializable,OntologyResource
- Direct Known Subclasses:
OntologyIndividualSimple,OntologyPropertySimple,OntologyTermSimple
public abstract class AbstractOntologyResourceSimple
extends Object
implements OntologyResource, Serializable
- Author:
- poirigui
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractOntologyResourceSimple(@Nullable String uri, @Nullable String localName, @Nullable String label) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.basecode.ontology.model.OntologyResource
getComment, isObsolete
-
Constructor Details
-
AbstractOntologyResourceSimple
-
-
Method Details
-
getUri
Description copied from interface:OntologyResourceA URI if known, otherwise null.- Specified by:
getUriin interfaceOntologyResource
-
getLocalName
Description copied from interface:OntologyResourceA local name for this resource.- Specified by:
getLocalNamein interfaceOntologyResource
-
getLabel
Description copied from interface:OntologyResourceA label, if known, otherwise null.- Specified by:
getLabelin interfaceOntologyResource
-
unwrap
Description copied from interface:OntologyResourceUnwrap the underlying implementation of the ontology resource.- Specified by:
unwrapin interfaceOntologyResource- Throws:
ClassCastException- if the implementation type does not match the given class
-
equals
-
hashCode
public int hashCode()
-