org.jclouds.vcloud.domain.internal
Class VCloudExpressVAppImpl

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

public class VCloudExpressVAppImpl
extends Object
implements VCloudExpressVApp

Author:
Adrian Cole

Constructor Summary
VCloudExpressVAppImpl(String name, URI href, org.jclouds.vcloud.domain.Status status, Long size, org.jclouds.vcloud.domain.ReferenceType vDC, com.google.common.collect.ListMultimap<String,String> networkToAddresses, Integer osType, String operatingSystemDescription, org.jclouds.cim.VirtualSystemSettingData system, Set<org.jclouds.cim.ResourceAllocationSettingData> resourceAllocations)
           
 
Method Summary
 int compareTo(org.jclouds.vcloud.domain.ReferenceType o)
           
 boolean equals(Object obj)
           
 URI getHref()
           
 String getName()
           
 com.google.common.collect.ListMultimap<String,String> getNetworkToAddresses()
           
 String getOperatingSystemDescription()
           
 Integer getOsType()
           
 Set<org.jclouds.cim.ResourceAllocationSettingData> getResourceAllocations()
           
 Long getSize()
           
 org.jclouds.vcloud.domain.Status getStatus()
           
 org.jclouds.cim.VirtualSystemSettingData getSystem()
           
 String getType()
           
 org.jclouds.vcloud.domain.ReferenceType getVDC()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VCloudExpressVAppImpl

public VCloudExpressVAppImpl(String name,
                             URI href,
                             org.jclouds.vcloud.domain.Status status,
                             Long size,
                             org.jclouds.vcloud.domain.ReferenceType vDC,
                             com.google.common.collect.ListMultimap<String,String> networkToAddresses,
                             Integer osType,
                             String operatingSystemDescription,
                             org.jclouds.cim.VirtualSystemSettingData system,
                             Set<org.jclouds.cim.ResourceAllocationSettingData> resourceAllocations)
Method Detail

getStatus

public org.jclouds.vcloud.domain.Status getStatus()
Specified by:
getStatus in interface VCloudExpressVApp

getNetworkToAddresses

public com.google.common.collect.ListMultimap<String,String> getNetworkToAddresses()
Specified by:
getNetworkToAddresses in interface VCloudExpressVApp

getOsType

public Integer getOsType()
Specified by:
getOsType in interface VCloudExpressVApp
Returns:
CIM OSType of the image or null, if this information isn't available yet
See Also:
DMTF CIM model

getOperatingSystemDescription

public String getOperatingSystemDescription()
Specified by:
getOperatingSystemDescription in interface VCloudExpressVApp
Returns:
description or null, if this information isn't available yet

getSystem

public org.jclouds.cim.VirtualSystemSettingData getSystem()
Specified by:
getSystem in interface VCloudExpressVApp

getResourceAllocations

public Set<org.jclouds.cim.ResourceAllocationSettingData> getResourceAllocations()
Specified by:
getResourceAllocations in interface VCloudExpressVApp

getVDC

public org.jclouds.vcloud.domain.ReferenceType getVDC()
Specified by:
getVDC in interface VCloudExpressVApp

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getName

public String getName()
Specified by:
getName in interface org.jclouds.vcloud.domain.ReferenceType

getHref

public URI getHref()
Specified by:
getHref in interface org.jclouds.vcloud.domain.ReferenceType

getSize

public Long getSize()
Specified by:
getSize in interface VCloudExpressVApp

toString

public String toString()
Overrides:
toString in class Object

getType

public String getType()
Specified by:
getType in interface org.jclouds.vcloud.domain.ReferenceType

compareTo

public int compareTo(org.jclouds.vcloud.domain.ReferenceType o)
Specified by:
compareTo in interface Comparable<org.jclouds.vcloud.domain.ReferenceType>


Copyright © 2009-2011 jclouds. All Rights Reserved.