Class ContextWithShape


  • public class ContextWithShape
    extends java.lang.Object
    • Field Detail

      • dataGraph

        private final Resource[] dataGraph
      • shapeGraph

        private final Resource[] shapeGraph
      • shape

        private final Shape shape
    • Constructor Detail

      • ContextWithShape

        public ContextWithShape​(Resource[] dataGraph,
                                Resource[] shapeGraph,
                                Shape shape)
    • Method Detail

      • getShapeGraph

        public Resource[] getShapeGraph()
      • getShape

        public Shape getShape()
      • hasShape

        public boolean hasShape()
      • getDataGraph

        public Resource[] getDataGraph()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toModel

        public void toModel​(Model model,
                            java.util.Set<Resource> cycleDetection)