Package uk.gov.gchq.gaffer.tinkerpop
Class GafferPopVertexProperty<V>
- java.lang.Object
-
- uk.gov.gchq.gaffer.tinkerpop.GafferPopElement
-
- uk.gov.gchq.gaffer.tinkerpop.GafferPopVertexProperty<V>
-
- All Implemented Interfaces:
org.apache.tinkerpop.gremlin.structure.Element
,org.apache.tinkerpop.gremlin.structure.Property<V>
,org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
public class GafferPopVertexProperty<V> extends GafferPopElement implements org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
-
-
Constructor Summary
Constructors Constructor Description GafferPopVertexProperty(GafferPopVertex vertex, String key, V value, Object... propertyKeyValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GafferPopVertex
element()
boolean
equals(Object object)
int
hashCode()
boolean
isPresent()
String
key()
Set<String>
keys()
<U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>>
properties(String... propertyKeys)
<U> org.apache.tinkerpop.gremlin.structure.Property<U>
property(String key)
<U> org.apache.tinkerpop.gremlin.structure.Property<U>
property(String key, U value)
void
remove()
String
toString()
V
value()
-
Methods inherited from class uk.gov.gchq.gaffer.tinkerpop.GafferPopElement
graph, id, isReadOnly, label, setReadOnly
-
-
-
-
Constructor Detail
-
GafferPopVertexProperty
public GafferPopVertexProperty(GafferPopVertex vertex, String key, V value, Object... propertyKeyValues)
-
-
Method Detail
-
key
public String key()
- Specified by:
key
in interfaceorg.apache.tinkerpop.gremlin.structure.Property<V>
-
value
public V value()
- Specified by:
value
in interfaceorg.apache.tinkerpop.gremlin.structure.Property<V>
-
isPresent
public boolean isPresent()
- Specified by:
isPresent
in interfaceorg.apache.tinkerpop.gremlin.structure.Property<V>
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classGafferPopElement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGafferPopElement
-
keys
public Set<String> keys()
- Specified by:
keys
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
property
public <U> org.apache.tinkerpop.gremlin.structure.Property<U> property(String key)
- Specified by:
property
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
property
public <U> org.apache.tinkerpop.gremlin.structure.Property<U> property(String key, U value)
- Specified by:
property
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
-
element
public GafferPopVertex element()
-
properties
public <U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>> properties(String... propertyKeys)
- Specified by:
properties
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
- Specified by:
properties
in interfaceorg.apache.tinkerpop.gremlin.structure.VertexProperty<V>
-
remove
public void remove()
- Specified by:
remove
in interfaceorg.apache.tinkerpop.gremlin.structure.Element
- Specified by:
remove
in interfaceorg.apache.tinkerpop.gremlin.structure.Property<V>
- Overrides:
remove
in classGafferPopElement
-
-