Class AbstractGraphDocument

  • Direct Known Subclasses:
    GraphDocument

    @Immutable
    public abstract class AbstractGraphDocument
    extends Object
    Holds a collection of graphs, plus document-level metadata ## Model ![Node UML](graphdocument.png)
    Author:
    cjm
    • Constructor Detail

      • AbstractGraphDocument

        public AbstractGraphDocument()
    • Method Detail

      • getContext

        @Nullable
        public abstract Object getContext()
        The JSON-LD context for this document. This needs to be an unstructured Object, since it could be either a list or a map. We don't want to store it here as a Context because we want to roundtrip it the way it is written in the document.
      • getMeta

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

        public abstract List<Graph> getGraphs()
        Returns:
        the graphs