|
SONIVIS v0.9 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.sonivis.tool.core.datamodel.networkloader.InteractionLoader
public class InteractionLoader
Network loader for interaction relationships.
| Field Summary | |
|---|---|
static java.lang.String |
INTERACTION_COUNT
|
| Constructor Summary | |
|---|---|
InteractionLoader()
Default constructor. |
|
| Method Summary | |
|---|---|
protected Graph |
loadNetwork(NetworkType networkType,
InfoSpace infoSpace)
Loads the Graph that represents the network defined by networkType from specified infoSpace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INTERACTION_COUNT
| Constructor Detail |
|---|
public InteractionLoader()
NetworkLoaderException - if #initialize() throws CannotConnectToDatabaseException| Method Detail |
|---|
protected final Graph loadNetwork(NetworkType networkType,
InfoSpace infoSpace)
throws CannotConnectToDatabaseException
Graph that represents the network defined by networkType from specified infoSpace.
The returned Graph is based on the InteractionRelation entities persisted for
the specified infoSpace. The sub-set of InteractionRelation
entities to be taken into account is defined by ENetworkType#getTypes(). In general,
any IActor entity that is either the source or the target of at least one relevant
InteractionRelation entity is represented by a Node entity. If available each
Node entity has the registration date of the represented entity attached as a
GraphItemProperty named .
An Edge entity between two Node entities within the network will be
established iff there exists at least one relevant InteractionRelation entity
involving the IActor entities represented by the corresponding Node entities.
Multiple occurrences of of InteractionRelation entities between the same Node
entities will be represented as one Edge entity. A List of
InteractionRelation entities represented by an Edge entity is attached as a
GraphItemProperty named "". The creation date of the
oldest IContentElement related to the InteractionRelation entity's target
IActor entity (if available) will be attached as a GraphItemProperty named
.
networkType - The NetworkType of the InteractionRelation network to be loaded.infoSpace - The InfoSpace to load from.
NetworkLoaderException - if one of the arguments is null.
CannotConnectToDatabaseException - if persistence store is not available.
|
SONIVIS v0.9 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||