org.jclouds.vcloud.domain.internal
Class ReferenceTypeImpl
java.lang.Object
org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
- All Implemented Interfaces:
- Comparable<ReferenceType>, ReferenceType
- Direct Known Subclasses:
- CatalogItemImpl, OrgImpl, OrgNetworkImpl, TaskImpl, VAppImpl, VAppTemplateImpl, VDCImpl, VmImpl
public class ReferenceTypeImpl
- extends Object
- implements ReferenceType
Location of a Rest resource
- Author:
- Adrian Cole
ReferenceTypeImpl
public ReferenceTypeImpl(String name,
String type,
URI href)
getName
public String getName()
- Specified by:
getName
in interface ReferenceType
- Returns:
- name of the referenced object.
getType
public String getType()
- Specified by:
getType
in interface ReferenceType
- Returns:
- object type, expressed as the media type of the XML representing of the object
- See Also:
VCloudMediaType
getHref
public URI getHref()
- Specified by:
getHref
in interface ReferenceType
- Returns:
- hyperlink to the referenced object
compareTo
public int compareTo(ReferenceType that)
- Specified by:
compareTo
in interface Comparable<ReferenceType>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.