Package org.jclouds.ovf.internal
Class BaseVirtualSystem<T extends BaseVirtualSystem<T>>
- java.lang.Object
-
- org.jclouds.ovf.Section<T>
-
- org.jclouds.ovf.internal.BaseVirtualSystem<T>
-
- Direct Known Subclasses:
VirtualSystem
public class BaseVirtualSystem<T extends BaseVirtualSystem<T>> extends Section<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaseVirtualSystem.Builder<T extends BaseVirtualSystem<T>>
-
Field Summary
Fields Modifier and Type Field Description protected com.google.common.collect.Multimap<String,Section>
additionalSections
protected String
id
protected String
name
protected OperatingSystemSection
operatingSystem
protected Set<? extends ProductSection>
productSections
protected Set<? extends VirtualHardwareSection>
virtualHardwareSections
-
Constructor Summary
Constructors Constructor Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 configuredSet<? 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()
-
-
-
Field Detail
-
id
protected final String id
-
name
protected final String name
-
operatingSystem
protected final OperatingSystemSection operatingSystem
-
virtualHardwareSections
protected final Set<? extends VirtualHardwareSection> virtualHardwareSections
-
productSections
protected final Set<? extends ProductSection> productSections
-
-
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 classSection<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 classSection<T extends BaseVirtualSystem<T>>
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classSection<T extends BaseVirtualSystem<T>>
-
-