org.molwind.graph
Interface EntityEdge

All Known Implementing Classes:
DefaultEntityEdge

public interface EntityEdge

EntityEdge represents relationships of entities.

Version:
1.0
Author:
Oliver Karch

Method Summary
 int getEdgeWeight()
          Get the Weight value.
 Relationship getRelationship()
          Get the Relationship value.
 EntityVertex getV1()
          Get the V1 value.
 EntityVertex getV2()
          Get the V2 value.
 edu.uci.ics.jung.graph.util.Pair<EntityVertex> getVerticePair()
          Returns the vertices
 void setRelationship(Relationship newRelation)
          Set the Relationship value.
 

Method Detail

getRelationship

Relationship getRelationship()
Get the Relationship value.

Returns:
the Relationship value.

setRelationship

void setRelationship(Relationship newRelation)
Set the Relationship value.

Parameters:
newRelation - the new Relationship value

getEdgeWeight

int getEdgeWeight()
Get the Weight value.

Returns:
the Weight value.

getVerticePair

edu.uci.ics.jung.graph.util.Pair<EntityVertex> getVerticePair()
Returns the vertices

Returns:
Pair of Vertices

getV1

EntityVertex getV1()
Get the V1 value.

Returns:
the V1 value.

getV2

EntityVertex getV2()
Get the V2 value.

Returns:
the V2 value.


Copyright © 2008-2010. All Rights Reserved.