ch.elca.dependency.graph
Class LayeringEvent

java.lang.Object
  |
  +--ch.elca.dependency.graph.LayeringEvent

public class LayeringEvent
extends java.lang.Object

A LayeringEvent occurs each time an edge is discovered which violates the specified layering. In case of such a violation a LayeringEvent is fired and the registered LayeringListeners get an opportunity to process this Event accordingly.

Version:
1.0-beta
Author:
Pawel Kowalski

Constructor Summary
LayeringEvent(Edge edge)
          Creates a new LayeringEvent instance.
 
Method Summary
 Edge getEdge()
          Get the Edge associated with this LayeringEvent.
 java.lang.String toString()
          Get the String representation of this LayeringEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayeringEvent

public LayeringEvent(Edge edge)
Creates a new LayeringEvent instance.

Parameters:
edge - an Edge value
Method Detail

getEdge

public Edge getEdge()
Get the Edge associated with this LayeringEvent.

Returns:
an Edge value

toString

public java.lang.String toString()
Get the String representation of this LayeringEvent

Overrides:
toString in class java.lang.Object
Returns:
a String value


Copyright © 2003 ELCA Informatique SA. All Rights Reserved.