| Constructor and Description |
|---|
Edge(Graph graph,
java.lang.String label,
NodeRef outNode,
NodeRef inVertex,
java.util.Set<java.lang.String> specificKeys) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<NodeRef> |
bothNodes() |
boolean |
equals(java.lang.Object other) |
int |
getInBlockOffset() |
int |
getOutBlockOffset() |
Graph |
graph() |
int |
hashCode() |
NodeRef |
inNode() |
boolean |
isRemoved() |
java.lang.String |
label() |
NodeRef |
outNode() |
<A> A |
property(PropertyKey<A> key) |
java.lang.Object |
property(java.lang.String propertyKey) |
java.util.Set<java.lang.String> |
propertyKeys() |
java.util.Map<java.lang.String,java.lang.Object> |
propertyMap()
Map with all properties
|
<A> java.util.Optional<A> |
propertyOption(PropertyKey<A> key) |
java.util.Optional<java.lang.Object> |
propertyOption(java.lang.String key) |
void |
remove() |
void |
removeProperty(java.lang.String key) |
void |
setInBlockOffset(int offset) |
void |
setOutBlockOffset(int offset) |
void |
setProperty(Property<?> property) |
<A> void |
setProperty(PropertyKey<A> key,
A value) |
void |
setProperty(java.lang.String key,
java.lang.Object value) |
public NodeRef outNode()
public NodeRef inNode()
public java.util.Iterator<NodeRef> bothNodes()
public int getOutBlockOffset()
public void setOutBlockOffset(int offset)
public int getInBlockOffset()
public void setInBlockOffset(int offset)
public void setProperty(java.lang.String key,
java.lang.Object value)
setProperty in interface Elementpublic java.util.Set<java.lang.String> propertyKeys()
propertyKeys in interface Elementpublic void removeProperty(java.lang.String key)
removeProperty in interface Elementpublic java.util.Map<java.lang.String,java.lang.Object> propertyMap()
ElementpropertyMap in interface Elementpublic java.lang.Object property(java.lang.String propertyKey)
public <A> A property(PropertyKey<A> key)
public <A> java.util.Optional<A> propertyOption(PropertyKey<A> key)
propertyOption in interface Elementpublic java.util.Optional<java.lang.Object> propertyOption(java.lang.String key)
propertyOption in interface Elementpublic <A> void setProperty(PropertyKey<A> key, A value)
setProperty in interface Elementpublic void setProperty(Property<?> property)
setProperty in interface Elementpublic boolean isRemoved()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object