org.jclouds.ovf.internal
Class BaseVirtualSystem<T extends BaseVirtualSystem<T>>

java.lang.Object
  extended by org.jclouds.ovf.Section<T>
      extended by org.jclouds.ovf.internal.BaseVirtualSystem<T>
Direct Known Subclasses:
VirtualSystem, VM

public class BaseVirtualSystem<T extends BaseVirtualSystem<T>>
extends Section<T>

Author:
Adrian Cole

Nested Class Summary
static class BaseVirtualSystem.Builder<T extends BaseVirtualSystem<T>>
           
 
Field Summary
protected  com.google.common.collect.Multimap<String,Section> additionalSections
           
protected  String id
           
protected  String name
           
protected  OperatingSystemSection operatingSystem
           
protected  Set<ProductSection> productSections
           
protected  Set<VirtualHardwareSection> virtualHardwareSections
           
 
Fields inherited from class org.jclouds.ovf.Section
info
 
Constructor Summary
BaseVirtualSystem(String id, String info, String name, OperatingSystemSection operatingSystem, Iterable<? extends VirtualHardwareSection> virtualHardwareSections, Iterable<? extends ProductSection> productSections, com.google.common.collect.Multimap<String,Section> additionalSections)
           
 
Method Summary
static BaseVirtualSystem.Builder builder()
           
 boolean equals(Object obj)
           
 com.google.common.collect.Multimap<String,Section> getAdditionalSections()
           
 String getId()
           
 String getName()
           
 OperatingSystemSection getOperatingSystemSection()
           
 Set<? extends ProductSection> getProductSections()
          Specifies product-information for a package, such as product name and version, along with a set of properties that can be configured
 Set<? extends VirtualHardwareSection> getVirtualHardwareSections()
          Each VirtualSystem element may contain one or more VirtualHardwareSection elements, each of which describes the virtual virtualHardwareSections required by the virtual system.
 int hashCode()
           
 BaseVirtualSystem.Builder<T> toBuilder()
          
 String toString()
           
 
Methods inherited from class org.jclouds.ovf.Section
getInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected final String id

name

protected final String name

operatingSystem

protected final OperatingSystemSection operatingSystem

virtualHardwareSections

protected final Set<VirtualHardwareSection> virtualHardwareSections

productSections

protected final Set<ProductSection> productSections

additionalSections

protected final com.google.common.collect.Multimap<String,Section> additionalSections
Constructor Detail

BaseVirtualSystem

public BaseVirtualSystem(String id,
                         String info,
                         String name,
                         OperatingSystemSection operatingSystem,
                         Iterable<? extends VirtualHardwareSection> virtualHardwareSections,
                         Iterable<? extends ProductSection> productSections,
                         com.google.common.collect.Multimap<String,Section> additionalSections)
Method Detail

builder

public static BaseVirtualSystem.Builder builder()

toBuilder

public BaseVirtualSystem.Builder<T> toBuilder()

Overrides:
toBuilder in class Section<T extends BaseVirtualSystem<T>>

getId

public String getId()

getName

public String getName()

getOperatingSystemSection

public OperatingSystemSection getOperatingSystemSection()

getVirtualHardwareSections

public Set<? extends VirtualHardwareSection> getVirtualHardwareSections()
Each VirtualSystem element may contain one or more VirtualHardwareSection elements, each of which describes the virtual virtualHardwareSections required by the virtual system.


getProductSections

public Set<? extends ProductSection> getProductSections()
Specifies product-information for a package, such as product name and version, along with a set of properties that can be configured


getAdditionalSections

public com.google.common.collect.Multimap<String,Section> getAdditionalSections()

hashCode

public int hashCode()
Overrides:
hashCode in class Section<T extends BaseVirtualSystem<T>>

equals

public boolean equals(Object obj)
Overrides:
equals in class Section<T extends BaseVirtualSystem<T>>

toString

public String toString()
Overrides:
toString in class Section<T extends BaseVirtualSystem<T>>


Copyright © 2009-2012 jclouds. All Rights Reserved.