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

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

public class VAppImpl
extends Object
implements VApp

Author:
Adrian Cole

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

Constructor Detail

VAppImpl

public VAppImpl(String name,
                URI href,
                Status status,
                Long size,
                ReferenceType vDC,
                com.google.common.collect.ListMultimap<String,String> networkToAddresses,
                Integer osType,
                String operatingSystemDescription,
                VirtualSystemSettingData system,
                Set<ResourceAllocationSettingData> resourceAllocations)

VAppImpl

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

getStatus

public Status getStatus()
Specified by:
getStatus in interface VApp

getNetworkToAddresses

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

getOsType

public Integer getOsType()
Specified by:
getOsType in interface VApp
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 VApp
Returns:
description or null, if this information isn't available yet

getSystem

public VirtualSystemSettingData getSystem()
Specified by:
getSystem in interface VApp

getResourceAllocations

public Set<ResourceAllocationSettingData> getResourceAllocations()
Specified by:
getResourceAllocations in interface VApp

getVDC

public ReferenceType getVDC()
Specified by:
getVDC in interface VApp

getExtendedInfo

public Set<ReferenceType> getExtendedInfo()
Specified by:
getExtendedInfo in interface VApp

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 ReferenceType
Returns:
name of the referenced object.

getHref

public URI getHref()
Specified by:
getHref in interface ReferenceType
Returns:
hyperlink to the referenced object

getSize

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

toString

public String toString()
Overrides:
toString in class 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

compareTo

public int compareTo(ReferenceType o)
Specified by:
compareTo in interface Comparable<ReferenceType>


Copyright © 2009-2011 jclouds. All Rights Reserved.