public abstract class ReferenceElement<E extends Element> extends Object implements Element, Serializable, Attachable<E>
Element.Exceptions
Attachable.Exceptions, Attachable.Method
Modifier and Type | Field and Description |
---|---|
protected Object |
id |
protected String |
label |
Modifier | Constructor and Description |
---|---|
protected |
ReferenceElement() |
|
ReferenceElement(Element element) |
protected |
ReferenceElement(Object id,
String label) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
E |
get()
Get the raw object trying to be attached.
|
Graph |
graph()
Get the graph that this element is within.
|
int |
hashCode() |
Object |
id()
Gets the unique identifier for the graph
Element . |
String |
label()
Gets the label for the graph
Element which helps categorize it. |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
keys, properties, property, property, remove, value, values
attach
protected ReferenceElement()
public ReferenceElement(Element element)
public Object id()
Element
Element
.public String label()
Element
Element
which helps categorize it.public Graph graph()
Element
public E get()
Attachable
get
in interface Attachable<E extends Element>
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.