net.dpml.transit.model
Class HostNameEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.dpml.transit.model.HostEvent
          extended by net.dpml.transit.model.HostNameEvent
All Implemented Interfaces:
Serializable

public class HostNameEvent
extends HostEvent

An event signalling the change of name of a host.

Version:
1.0.3
Author:
Digital Product Meta Library
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HostNameEvent(HostModel host, String name)
          Creation of a new host name change event.
 
Method Summary
 String getName()
          Return the new host name.
 
Methods inherited from class net.dpml.transit.model.HostEvent
getHostModel
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostNameEvent

public HostNameEvent(HostModel host,
                     String name)
Creation of a new host name change event.

Parameters:
host - the host that was changed
name - the new host name
Method Detail

getName

public String getName()
Return the new host name.

Returns:
the host name that was assingned to the host