EdgeFrame
, VertexFrame
AbstractEdgeFrame
, AbstractElementFrame
, AbstractVertexFrame
, TEdge
, TVertex
public interface ElementFrame
Modifier and Type | Method | Description |
---|---|---|
org.apache.tinkerpop.gremlin.structure.Element |
getElement() |
|
FramedGraph |
getGraph() |
|
<N> N |
getId() |
|
<T> T |
getProperty(String name) |
Return a property value.
|
<T> T |
getProperty(String name,
Class<T> type) |
Return a property value.
|
Set<String> |
getPropertyKeys() |
|
Class<?> |
getTypeResolution() |
Returns the type resolution currently encoded into the element.
|
void |
remove() |
Remove this element from the graph.
|
void |
removeTypeResolution() |
Removes type resolution from this node and decodes it from the element in the graph.
|
void |
setElement(org.apache.tinkerpop.gremlin.structure.Element element) |
Set the underlying element.
|
void |
setProperty(String name,
Object value) |
Set a property value.
|
void |
setTypeResolution(Class<?> type) |
Sets the type resolution and encodes it into the element in the graph.
|
<N> N getId()
N
- The ID's type.void remove()
org.apache.tinkerpop.gremlin.structure.Element getElement()
void setElement(org.apache.tinkerpop.gremlin.structure.Element element)
element
- The new underlying element.FramedGraph getGraph()
<T> T getProperty(String name)
T
- The type of the property value.name
- The name of the property.<T> T getProperty(String name, Class<T> type)
T
- The type of the property value.name
- The name of the property.type
- The type of the property.void setProperty(String name, Object value)
name
- The name of the property.value
- The value of the property.Class<?> getTypeResolution()
void setTypeResolution(Class<?> type)
type
- The new type to resolve this element to.void removeTypeResolution()
Copyright © 2018 Syncleus. All rights reserved.