public abstract class StarGraph.StarElement<E extends Element> extends Object implements Element, 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 |
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, wait
keys, properties, property, property, remove, value, values
attach
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–2022 Apache Software Foundation. All rights reserved.