Class 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 Detail

      • AbstractGraph

        public AbstractGraph()
    • Method Detail

      • 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