public abstract class StarGraph.StarElement<E extends Element> extends Object implements Element, Attachable<E>
Element.ExceptionsAttachable.Exceptions, Attachable.Method| Modifier and Type | Field and Description |
|---|---|
protected Object |
id |
protected String |
label |
| Modifier | Constructor and Description |
|---|---|
protected |
StarElement(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, waitkeys, properties, property, property, remove, value, valuesattachpublic Object id()
ElementElement.public String label()
ElementElement which helps categorize it.public Graph graph()
Elementpublic E get()
Attachableget in interface Attachable<E extends Element>Copyright © 2013–2015 Apache Software Foundation. All rights reserved.