org.jclouds.savvis.vpdc.domain
Class Link

java.lang.Object
  extended by org.jclouds.savvis.vpdc.domain.ResourceImpl
      extended by org.jclouds.savvis.vpdc.domain.Link
All Implemented Interfaces:
Comparable<Resource>, Resource

public class Link
extends ResourceImpl

Location of a Rest resource

Author:
Adrian Cole

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl
ResourceImpl.Builder
 
Field Summary
protected  String rel
           
 
Fields inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl
href, id, name, type
 
Constructor Summary
Link(String id, String name, String type, URI href, String rel)
           
 
Method Summary
 int compareTo(Link that)
           
 boolean equals(Object obj)
           
 String getRel()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl
builder, compareTo, getHref, getId, getName, getType, toBuilder
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

rel

protected final String rel
Constructor Detail

Link

public Link(String id,
            String name,
            String type,
            URI href,
            String rel)
Method Detail

getRel

public String getRel()

compareTo

public int compareTo(Link that)

hashCode

public int hashCode()
Overrides:
hashCode in class ResourceImpl

equals

public boolean equals(Object obj)
Overrides:
equals in class ResourceImpl

toString

public String toString()
Overrides:
toString in class ResourceImpl


Copyright © 2009-2011 jclouds. All Rights Reserved.