net.sourceforge.demetrix.model
Class Link

java.lang.Object
  extended byorg._3pq.jgrapht.edge.DefaultEdge
      extended byorg._3pq.jgrapht.edge.DirectedEdge
          extended bynet.sourceforge.demetrix.model.Link
All Implemented Interfaces:
Cloneable, DemetrixPropertiesHolder, Edge

public class Link
extends DirectedEdge
implements DemetrixPropertiesHolder

Author:
Dimitri Pissarenko *

Field Summary
static String DESTINATION_PROPERTY
           
private  Logger logger
           
private  DemetrixPropertiesStorage properties
           
static String SHOW_LABEL_PROPERTY
           
static String SOURCE_PROPERTY
           
 
Fields inherited from class org._3pq.jgrapht.edge.DefaultEdge
 
Fields inherited from interface org._3pq.jgrapht.Edge
DEFAULT_EDGE_WEIGHT
 
Constructor Summary
Link(DemetrixPropertiesHolder sourceVertex, DemetrixPropertiesHolder targetVertex)
           
 
Method Summary
 void addProperty(DemetrixProperty property)
           
 Iterator getAllProperties()
           
 Enumeration getAllPropertyNames()
           
 DemetrixPropertiesHolder getPropertiesStorage()
           
 DemetrixProperty getProperty(String name)
           
 String toString()
           
 
Methods inherited from class org._3pq.jgrapht.edge.DefaultEdge
clone, containsVertex, getSource, getTarget, getWeight, oppositeVertex, setWeight
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

private Logger logger

properties

private DemetrixPropertiesStorage properties

SHOW_LABEL_PROPERTY

public static final String SHOW_LABEL_PROPERTY
See Also:
Constant Field Values

SOURCE_PROPERTY

public static final String SOURCE_PROPERTY
See Also:
Constant Field Values

DESTINATION_PROPERTY

public static final String DESTINATION_PROPERTY
See Also:
Constant Field Values
Constructor Detail

Link

public Link(DemetrixPropertiesHolder sourceVertex,
            DemetrixPropertiesHolder targetVertex)
Method Detail

toString

public String toString()

addProperty

public void addProperty(DemetrixProperty property)
Specified by:
addProperty in interface DemetrixPropertiesHolder

getAllProperties

public Iterator getAllProperties()
Specified by:
getAllProperties in interface DemetrixPropertiesHolder

getProperty

public DemetrixProperty getProperty(String name)
Specified by:
getProperty in interface DemetrixPropertiesHolder

getAllPropertyNames

public Enumeration getAllPropertyNames()
Specified by:
getAllPropertyNames in interface DemetrixPropertiesHolder

getPropertiesStorage

public DemetrixPropertiesHolder getPropertiesStorage()
Specified by:
getPropertiesStorage in interface DemetrixPropertiesHolder