org.jclouds.vcloud.domain.internal
Class CatalogItemImpl

java.lang.Object
  extended by org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
      extended by org.jclouds.vcloud.domain.internal.CatalogItemImpl
All Implemented Interfaces:
Comparable<ReferenceType>, CatalogItem, ReferenceType

public class CatalogItemImpl
extends ReferenceTypeImpl
implements CatalogItem

Author:
Adrian Cole

Constructor Summary
CatalogItemImpl(String name, URI id, String description, ReferenceType entity, Map<String,String> properties)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 ReferenceType getEntity()
           
 Map<String,String> getProperties()
           
 String getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
compareTo, getHref, getName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.vcloud.domain.ReferenceType
getHref, getName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

CatalogItemImpl

public CatalogItemImpl(String name,
                       URI id,
                       @Nullable
                       String description,
                       ReferenceType entity,
                       Map<String,String> properties)
Method Detail

getType

public String getType()
Specified by:
getType in interface ReferenceType
Overrides:
getType in class ReferenceTypeImpl
Returns:
object type, expressed as the media type of the XML representing of the object
See Also:
VCloudMediaType

getEntity

public ReferenceType getEntity()
Specified by:
getEntity in interface CatalogItem

getDescription

public String getDescription()
Specified by:
getDescription in interface CatalogItem

getProperties

public Map<String,String> getProperties()
Specified by:
getProperties in interface CatalogItem

toString

public String toString()
Overrides:
toString in class ReferenceTypeImpl

hashCode

public int hashCode()
Overrides:
hashCode in class ReferenceTypeImpl

equals

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


Copyright © 2009-2011 jclouds. All Rights Reserved.