Class GafferPopElement

  • All Implemented Interfaces:
    org.apache.tinkerpop.gremlin.structure.Element
    Direct Known Subclasses:
    GafferPopEdge, GafferPopVertex, GafferPopVertexProperty

    public abstract class GafferPopElement
    extends Object
    implements org.apache.tinkerpop.gremlin.structure.Element
    A GafferPopElement is an Element. The remove method is not supported. As Gaffer does not allow updates, there is a readOnly flag that can be set to prevent changes to the element.
    • Method Detail

      • id

        public Object id()
        Specified by:
        id in interface org.apache.tinkerpop.gremlin.structure.Element
      • label

        public String label()
        Specified by:
        label in interface org.apache.tinkerpop.gremlin.structure.Element
      • setReadOnly

        public void setReadOnly()
      • isReadOnly

        public boolean isReadOnly()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • remove

        public void remove()
        Specified by:
        remove in interface org.apache.tinkerpop.gremlin.structure.Element
      • graph

        public GafferPopGraph graph()
        Specified by:
        graph in interface org.apache.tinkerpop.gremlin.structure.Element