public class EPGMEdge extends EPGMGraphElement implements Edge
id, label, properties| Constructor and Description |
|---|
EPGMEdge()
Default constructor is necessary to apply to POJO rules.
|
EPGMEdge(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, setIdgetProperties, getPropertyCount, getPropertyKeys, getPropertyValue, hasProperty, removeProperty, setProperties, setProperty, setProperty, setPropertypublic EPGMEdge()
public EPGMEdge(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()
EdgegetSourceId in interface Edgepublic void setSourceId(GradoopId sourceId)
EdgesetSourceId in interface EdgesourceId - source vertex idpublic GradoopId getTargetId()
EdgegetTargetId in interface Edgepublic void setTargetId(GradoopId targetId)
EdgesetTargetId in interface EdgetargetId - target vertex id.public String toString()
toString in class EPGMGraphElementCopyright © 2014 - 2019–2019 University of Leipzig. All rights reserved.