public class Edge extends GraphElement implements EPGMEdge
id, label, properties| Constructor and Description |
|---|
Edge()
Default constructor is necessary to apply to POJO rules.
|
Edge(GradoopId id,
String label,
GradoopId sourceId,
GradoopId targetId,
Properties properties,
GradoopIdSet graphIds)
Creates an edge instance based on the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
GradoopId |
getSourceId()
Returns the source vertex identifier.
|
GradoopId |
getTargetId()
Returns the target vertex identifier.
|
void |
setSourceId(GradoopId sourceId)
Sets the source vertex identifier.
|
void |
setTargetId(GradoopId targetId)
Sets the target vertex identifier.
|
String |
toString() |
addGraphId, getGraphCount, getGraphIds, resetGraphIds, setGraphIdsequals, getId, getLabel, getProperties, getPropertyCount, getPropertyKeys, getPropertyValue, hashCode, hasProperty, removeProperty, setId, setLabel, setProperties, setProperty, setProperty, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddGraphId, getGraphCount, getGraphIds, resetGraphIds, setGraphIdsgetId, setIdgetLabel, setLabelgetProperties, getPropertyCount, getPropertyKeys, getPropertyValue, hasProperty, removeProperty, setProperties, setProperty, setProperty, setPropertypublic Edge()
public Edge(GradoopId id, String label, GradoopId sourceId, GradoopId targetId, Properties properties, GradoopIdSet graphIds)
id - edge identifierlabel - edge labelsourceId - source vertex idtargetId - target vertex idproperties - edge propertiesgraphIds - graphs that edge is contained inpublic GradoopId getSourceId()
getSourceId in interface EPGMEdgepublic void setSourceId(GradoopId sourceId)
setSourceId in interface EPGMEdgesourceId - public GradoopId getTargetId()
getTargetId in interface EPGMEdgepublic void setTargetId(GradoopId targetId)
setTargetId in interface EPGMEdgetargetId - public String toString()
toString in class GraphElementCopyright © 2014 - 2018–2018 University of Leipzig. All rights reserved.