Package uk.gov.gchq.gaffer.tinkerpop
Class GafferPopElement
- java.lang.Object
-
- uk.gov.gchq.gaffer.tinkerpop.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
AGafferPopElementis anElement. 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)GafferPopGraphgraph()inthashCode()Objectid()booleanisReadOnly()Stringlabel()voidremove()voidsetReadOnly()
-
-
-
Method Detail
-
id
public Object id()
- Specified by:
idin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
label
public String label()
- Specified by:
labelin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
setReadOnly
public void setReadOnly()
-
isReadOnly
public boolean isReadOnly()
-
remove
public void remove()
- Specified by:
removein interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
graph
public GafferPopGraph graph()
- Specified by:
graphin interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
-