org.glite.rgma
Class Endpoint

java.lang.Object
  extended byorg.glite.rgma.Endpoint
Direct Known Subclasses:
ResourceEndpoint

public class Endpoint
extends java.lang.Object

A service endpoint, containing a URL.


Constructor Summary
Endpoint(java.lang.String url)
          Creates a new Endpoint object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this object with the specified object.
 java.lang.String getUrl()
          Gets the service URL.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Endpoint

public Endpoint(java.lang.String url)
Creates a new Endpoint object.

Parameters:
url - The service URL.
Method Detail

getUrl

public java.lang.String getUrl()
Gets the service URL.

Returns:
The service URL

equals

public boolean equals(java.lang.Object obj)
Compares this object with the specified object.

Parameters:
obj - Object to compare.
Returns:
true if this object and the specified object are equal.
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Returns a hash code value for the object.

Returns:
a hash code value for this object.
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
A string representation of the object.
See Also:
Object.toString()