public abstract class EPGMGraphElement extends EPGMElement implements GraphElement
id, label, properties| Modifier | Constructor and Description |
|---|---|
protected |
EPGMGraphElement()
Default constructor.
|
protected |
EPGMGraphElement(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, setIdgetProperties, getPropertyCount, getPropertyKeys, getPropertyValue, hasProperty, removeProperty, setProperties, setProperty, setProperty, setPropertyprotected EPGMGraphElement()
protected EPGMGraphElement(GradoopId id, String label, Properties properties, GradoopIdSet graphIds)
id - element idlabel - element labelproperties - element propertiesgraphIds - graphIds that element is contained inpublic GradoopIdSet getGraphIds()
GraphElementgetGraphIds in interface GraphElementpublic void addGraphId(GradoopId graphId)
GraphElementaddGraphId in interface GraphElementgraphId - the graphId to be added topublic void setGraphIds(GradoopIdSet graphIds)
GraphElementsetGraphIds in interface GraphElementgraphIds - the graphIds to be addedpublic void resetGraphIds()
GraphElementresetGraphIds in interface GraphElementpublic int getGraphCount()
GraphElementgetGraphCount in interface GraphElementpublic String toString()
toString in class EPGMElementCopyright © 2014 - 2019–2019 University of Leipzig. All rights reserved.