Class gsLocation

java.lang.Object
eu.su.mas.dedale.env.gs.gsLocation
All Implemented Interfaces:
Location, java.io.Serializable

public class gsLocation
extends java.lang.Object
implements Location
Location component for the graphStream environment
Author:
hc
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    gsLocation​(java.lang.String nodeId)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(Location l)  
    java.lang.String getLocationId()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • gsLocation

      public gsLocation​(java.lang.String nodeId)
  • Method Details

    • toString

      public java.lang.String toString()
      Specified by:
      toString in interface Location
      Overrides:
      toString in class java.lang.Object
    • getLocationId

      public java.lang.String getLocationId()
      Specified by:
      getLocationId in interface Location
      Returns:
      The unique identifier of the current location
    • equals

      public boolean equals​(Location l)
      Specified by:
      equals in interface Location
      Parameters:
      l - second location to compare this to
      Returns:
      True if this and l are equals