Class AbstractGraph

java.lang.Object
org.geneontology.obographs.core.model.AbstractGraph
Direct Known Subclasses:
Graph

@Immutable public abstract class AbstractGraph extends Object
A graph object holds a collection of nodes and edges Corresponds to a Named Graph in RDF, and an Ontology in OWL Note: there is no assumption that either nodes or edges are unique to a graph ## Basic OBO Graphs ![Node UML](node-bog.png) *
Author:
cjm
  • Constructor Details

    • AbstractGraph

      public AbstractGraph()
  • Method Details

    • getId

      @Default public String getId()
      Returns:
      the id
    • getLbl

      @Default public String getLbl()
      Returns:
      the lbl
    • getMeta

      @Nullable public abstract Meta getMeta()
      Returns:
      the meta
    • getNodes

      public abstract List<Node> getNodes()
      Returns:
      the nodes
    • getEdges

      public abstract List<Edge> getEdges()
      Returns:
      the edges
    • getEquivalentNodesSets

      public abstract List<EquivalentNodesSet> getEquivalentNodesSets()
      Returns:
      the equivalentNodesSet
    • getLogicalDefinitionAxioms

      public abstract List<LogicalDefinitionAxiom> getLogicalDefinitionAxioms()
      Returns:
      the logicalDefinitionAxioms
    • getDomainRangeAxioms

      public abstract List<DomainRangeAxiom> getDomainRangeAxioms()
      Returns:
      the domainRangeAxioms
    • getPropertyChainAxioms

      public abstract List<PropertyChainAxiom> getPropertyChainAxioms()
      Returns:
      the propertyChainAxioms