public abstract class TinkerElement extends Object implements Element
Element.Exceptions
Modifier and Type | Field and Description |
---|---|
protected Object |
id |
protected String |
label |
protected boolean |
removed |
Modifier | Constructor and Description |
---|---|
protected |
TinkerElement(Object id,
String label) |
Modifier and Type | Method and Description |
---|---|
protected static IllegalStateException |
elementAlreadyRemoved(Class<? extends Element> clazz,
Object id) |
boolean |
equals(Object object) |
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. |
protected final Object id
protected final String label
protected boolean removed
public Object id()
Element
Element
.public String label()
Element
Element
which helps categorize it.protected static IllegalStateException elementAlreadyRemoved(Class<? extends Element> clazz, Object id)
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.