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
AGafferPopElement
is 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 boolean
equals(Object object)
GafferPopGraph
graph()
int
hashCode()
Object
id()
boolean
isReadOnly()
String
label()
void
remove()
void
setReadOnly()
-
-
-
Method Detail
-
id
public Object id()
- Specified by:
id
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
label
public String label()
- Specified by:
label
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
setReadOnly
public void setReadOnly()
-
isReadOnly
public boolean isReadOnly()
-
remove
public void remove()
- Specified by:
remove
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
graph
public GafferPopGraph graph()
- Specified by:
graph
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
-