Package org.incenp.obofoundry.kgcl.model
Class Node
java.lang.Object
org.incenp.obofoundry.kgcl.model.OntologyElement
org.incenp.obofoundry.kgcl.model.Node
- Direct Known Subclasses:
ClassNode
,InstanceNode
,OntologySubset
Any named entity in an ontology. May be a class, individual, property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getId()
getName()
int
hashCode()
void
setAnnotationSet
(Annotation annotationSet) void
void
void
setOwlType
(OwlType owlType) toString()
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getId
-
getName
-
getAnnotationSet
-
getOwlType
-
setId
-
setName
-
setAnnotationSet
-
setOwlType
-
toString
- Overrides:
toString
in classOntologyElement
-
equals
- Overrides:
equals
in classOntologyElement
-
canEqual
- Overrides:
canEqual
in classOntologyElement
-
hashCode
public int hashCode()- Overrides:
hashCode
in classOntologyElement
-