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 booleanbooleangetId()getName()inthashCode()voidsetAnnotationSet(Annotation annotationSet) voidvoidvoidsetOwlType(OwlType owlType) toString()
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getId
-
getName
-
getAnnotationSet
-
getOwlType
-
setId
-
setName
-
setAnnotationSet
-
setOwlType
-
toString
- Overrides:
toStringin classOntologyElement
-
equals
- Overrides:
equalsin classOntologyElement
-
canEqual
- Overrides:
canEqualin classOntologyElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classOntologyElement
-