Class SandboxEdge

    • Constructor Detail

      • SandboxEdge

        public SandboxEdge​(int sandboxInstanceID,
                           com.ensoftcorp.atlas.core.db.graph.Edge edge,
                           SandboxNode from,
                           SandboxNode to)
        Constructs a mirrored sandbox edge of the given Atlas edge
        Parameters:
        edge -
      • SandboxEdge

        public SandboxEdge​(int sandboxInstanceID,
                           java.lang.String address,
                           SandboxNode from,
                           SandboxNode to)
        Constructs a new SandboxEdge directed from the "from" node to the "to" node
        Parameters:
        from -
        to -
    • Method Detail

      • from

        public SandboxNode from()
        Returns the node this edge is directed from
        Returns:
      • to

        public SandboxNode to()
        Returns the node this edge is directed to
        Returns:
      • getNode

        public SandboxNode getNode​(com.ensoftcorp.atlas.core.db.graph.GraphElement.EdgeDirection direction)
        Returns the node corresponding to the given direction
        Parameters:
        direction -
        Returns:
      • toAtlasEdge

        public com.ensoftcorp.atlas.core.db.graph.Edge toAtlasEdge()