org.jclouds.trmk.vcloud_0_8.domain.internal
Class CatalogItemImpl

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

public class CatalogItemImpl
extends ReferenceTypeImpl
implements CatalogItem

Author:
Adrian Cole

Field Summary
protected  String description
           
protected  ReferenceType entity
           
protected  Map<String,String> properties
           
 
Constructor Summary
CatalogItemImpl(String name, URI id, String description, ReferenceType computeOptions, ReferenceType customizationOptions, ReferenceType entity, Map<String,String> properties)
           
 
Method Summary
 boolean equals(Object obj)
           
 ReferenceType getComputeOptions()
           
 ReferenceType getCustomizationOptions()
           
 String getDescription()
           
 ReferenceType getEntity()
           
 Map<String,String> getProperties()
           
 String getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.trmk.vcloud_0_8.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.trmk.vcloud_0_8.domain.ReferenceType
getHref, getName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

description

protected final String description

entity

protected final ReferenceType entity

properties

protected final Map<String,String> properties
Constructor Detail

CatalogItemImpl

public CatalogItemImpl(String name,
                       URI id,
                       String description,
                       ReferenceType computeOptions,
                       ReferenceType customizationOptions,
                       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

getComputeOptions

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

getCustomizationOptions

public ReferenceType getCustomizationOptions()
Specified by:
getCustomizationOptions 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-2012 jclouds. All Rights Reserved.