|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.rgma.Endpoint
org.glite.rgma.ResourceEndpoint
public class ResourceEndpoint
A resource endpoint, containing a URL and a Resource ID.
Constructor Summary | |
---|---|
ResourceEndpoint(ResourceEndpoint endpoint)
Creates a new Endpoint object. |
|
ResourceEndpoint(java.lang.String url,
int resourceId)
Creates a new Endpoint object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this object with the specified object. |
int |
getResourceId()
Gets the resource identifier. |
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 org.glite.rgma.Endpoint |
---|
getUrl |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceEndpoint(ResourceEndpoint endpoint)
endpoint
- Existing Endpoint to construct the new Endpoint.public ResourceEndpoint(java.lang.String url, int resourceId)
url
- The service URL.resourceId
- The resource identified.Method Detail |
---|
public int getResourceId()
public java.lang.String toString()
toString
in class Endpoint
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class Endpoint
obj
- Object to compare.
true
if this object and the specified object are
equal.Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Endpoint
Object.hashCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |