public abstract class GraphElement extends Element implements EPGMGraphElement
id, label, properties| Modifier | Constructor and Description |
|---|---|
protected |
GraphElement()
Default constructor.
|
protected |
GraphElement(GradoopId id,
String label,
Properties properties,
GradoopIdSet graphIds)
Creates an EPGM graph element using the given arguments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGraphId(GradoopId graphId)
Adds that element to the given graphId.
|
int |
getGraphCount()
Returns the number of graphs this element belongs to.
|
GradoopIdSet |
getGraphIds()
Returns all graphs that element belongs to.
|
void |
resetGraphIds()
Resets all graph elements.
|
void |
setGraphIds(GradoopIdSet graphIds)
Adds the given graph set to the element.
|
String |
toString() |
equals, getId, getLabel, getProperties, getPropertyCount, getPropertyKeys, getPropertyValue, hashCode, hasProperty, removeProperty, setId, setLabel, setProperties, setProperty, setProperty, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, setIdgetLabel, setLabelgetProperties, getPropertyCount, getPropertyKeys, getPropertyValue, hasProperty, removeProperty, setProperties, setProperty, setProperty, setPropertyprotected GraphElement()
protected GraphElement(GradoopId id, String label, Properties properties, GradoopIdSet graphIds)
id - element idlabel - element labelproperties - element propertiesgraphIds - graphIds that element is contained inpublic GradoopIdSet getGraphIds()
getGraphIds in interface EPGMGraphElementpublic void addGraphId(GradoopId graphId)
addGraphId in interface EPGMGraphElementgraphId - the graphId to be added topublic void setGraphIds(GradoopIdSet graphIds)
setGraphIds in interface EPGMGraphElementgraphIds - the graphIds to be addedpublic void resetGraphIds()
resetGraphIds in interface EPGMGraphElementpublic int getGraphCount()
getGraphCount in interface EPGMGraphElementCopyright © 2014 - 2018–2018 University of Leipzig. All rights reserved.