//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
* </restriction>
* </simpleType>
* </element>
+ * <element name="platform" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="diskImage">
* <complexType>
* <complexContent>
@XmlType(name = "baseInformationType", propOrder = {
"name",
"architecture",
+ "platform",
"diskImage"
})
public class BaseInformationType {
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String architecture;
+ protected String platform;
@XmlElement(required = true)
protected BaseInformationType.DiskImage diskImage;
}
/**
+ * Gets the value of the platform property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPlatform() {
+ return platform;
+ }
+
+ /**
+ * Sets the value of the platform property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPlatform(String value) {
+ this.platform = value;
+ }
+
+ /**
* Gets the value of the diskImage property.
*
* @return
protected DiskImageFormatType currentDiskImage;
@XmlElement(required = true)
protected DiskImageFormatType swapDiskImage;
- @XmlAttribute
+ @XmlAttribute(name = "profile")
protected String profile;
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "type", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
- @XmlAttribute
+ @XmlAttribute(name = "base")
protected String base;
- @XmlAttribute
+ @XmlAttribute(name = "version")
protected String version;
/**
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
@XmlValue
protected int value;
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "unit", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String unit;
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
@XmlValue
protected String value;
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "format", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String format;
- @XmlAttribute
+ @XmlAttribute(name = "version")
protected String version;
/**
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
@XmlValue
protected int value;
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "unit", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String unit;
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
@XmlValue
protected String value;
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "name", required = true)
protected String name;
/**
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
}
/**
- * Create an instance of {@link SubOptionType }
+ * Create an instance of {@link CpuType }
*
*/
- public SubOptionType createSubOptionType() {
- return new SubOptionType();
+ public CpuType createCpuType() {
+ return new CpuType();
}
/**
- * Create an instance of {@link BaseInformationType }
+ * Create an instance of {@link DisplayType }
*
*/
- public BaseInformationType createBaseInformationType() {
- return new BaseInformationType();
+ public DisplayType createDisplayType() {
+ return new DisplayType();
}
/**
- * Create an instance of {@link CpuType }
+ * Create an instance of {@link RamType }
*
*/
- public CpuType createCpuType() {
- return new CpuType();
+ public RamType createRamType() {
+ return new RamType();
}
/**
- * Create an instance of {@link CpuType.Value }
+ * Create an instance of {@link UsabilityType }
*
*/
- public CpuType.Value createCpuTypeValue() {
- return new CpuType.Value();
+ public UsabilityType createUsabilityType() {
+ return new UsabilityType();
}
/**
- * Create an instance of {@link TouchType }
+ * Create an instance of {@link BaseInformationType }
*
*/
- public TouchType createTouchType() {
- return new TouchType();
+ public BaseInformationType createBaseInformationType() {
+ return new BaseInformationType();
}
/**
- * Create an instance of {@link BaseInformationType.DiskImage }
+ * Create an instance of {@link EmulatorConfiguration }
*
*/
- public BaseInformationType.DiskImage createBaseInformationTypeDiskImage() {
- return new BaseInformationType.DiskImage();
+ public EmulatorConfiguration createEmulatorConfiguration() {
+ return new EmulatorConfiguration();
}
/**
- * Create an instance of {@link UsabilityType.FileSharing }
+ * Create an instance of {@link DeviceType }
*
*/
- public UsabilityType.FileSharing createUsabilityTypeFileSharing() {
- return new UsabilityType.FileSharing();
+ public DeviceType createDeviceType() {
+ return new DeviceType();
}
/**
- * Create an instance of {@link DisplayType.SkinPath }
+ * Create an instance of {@link SkinType }
*
*/
- public DisplayType.SkinPath createDisplayTypeSkinPath() {
- return new DisplayType.SkinPath();
+ public SkinType createSkinType() {
+ return new SkinType();
}
/**
- * Create an instance of {@link RamType.Size }
+ * Create an instance of {@link OciType }
*
*/
- public RamType.Size createRamTypeSize() {
- return new RamType.Size();
+ public OciType createOciType() {
+ return new OciType();
}
/**
- * Create an instance of {@link DisplayType.Density }
+ * Create an instance of {@link ExtendedOptionType }
*
*/
- public DisplayType.Density createDisplayTypeDensity() {
- return new DisplayType.Density();
+ public ExtendedOptionType createExtendedOptionType() {
+ return new ExtendedOptionType();
}
/**
- * Create an instance of {@link DeviceType }
+ * Create an instance of {@link AdvancedOptionType }
*
*/
- public DeviceType createDeviceType() {
- return new DeviceType();
+ public AdvancedOptionType createAdvancedOptionType() {
+ return new AdvancedOptionType();
}
/**
- * Create an instance of {@link OptionType }
+ * Create an instance of {@link DiskImageFormatType }
*
*/
- public OptionType createOptionType() {
- return new OptionType();
+ public DiskImageFormatType createDiskImageFormatType() {
+ return new DiskImageFormatType();
}
/**
- * Create an instance of {@link OciType }
+ * Create an instance of {@link TouchType }
*
*/
- public OciType createOciType() {
- return new OciType();
+ public TouchType createTouchType() {
+ return new TouchType();
}
/**
- * Create an instance of {@link DiskImageFormatType }
+ * Create an instance of {@link SubOptionType }
*
*/
- public DiskImageFormatType createDiskImageFormatType() {
- return new DiskImageFormatType();
+ public SubOptionType createSubOptionType() {
+ return new SubOptionType();
}
/**
- * Create an instance of {@link UsabilityType.Logging }
+ * Create an instance of {@link OptionType }
*
*/
- public UsabilityType.Logging createUsabilityTypeLogging() {
- return new UsabilityType.Logging();
+ public OptionType createOptionType() {
+ return new OptionType();
}
/**
- * Create an instance of {@link ExtendedOptionType }
+ * Create an instance of {@link CpuType.Value }
*
*/
- public ExtendedOptionType createExtendedOptionType() {
- return new ExtendedOptionType();
+ public CpuType.Value createCpuTypeValue() {
+ return new CpuType.Value();
}
/**
- * Create an instance of {@link RamType }
+ * Create an instance of {@link DisplayType.Resolution }
*
*/
- public RamType createRamType() {
- return new RamType();
+ public DisplayType.Resolution createDisplayTypeResolution() {
+ return new DisplayType.Resolution();
}
/**
- * Create an instance of {@link UsabilityType }
+ * Create an instance of {@link DisplayType.Density }
*
*/
- public UsabilityType createUsabilityType() {
- return new UsabilityType();
+ public DisplayType.Density createDisplayTypeDensity() {
+ return new DisplayType.Density();
}
/**
- * Create an instance of {@link DisplayType }
+ * Create an instance of {@link DisplayType.SkinPath }
*
*/
- public DisplayType createDisplayType() {
- return new DisplayType();
+ public DisplayType.SkinPath createDisplayTypeSkinPath() {
+ return new DisplayType.SkinPath();
}
/**
- * Create an instance of {@link EmulatorConfiguration }
+ * Create an instance of {@link RamType.Size }
*
*/
- public EmulatorConfiguration createEmulatorConfiguration() {
- return new EmulatorConfiguration();
+ public RamType.Size createRamTypeSize() {
+ return new RamType.Size();
}
/**
- * Create an instance of {@link SkinType }
+ * Create an instance of {@link UsabilityType.Logging }
*
*/
- public SkinType createSkinType() {
- return new SkinType();
+ public UsabilityType.Logging createUsabilityTypeLogging() {
+ return new UsabilityType.Logging();
}
/**
- * Create an instance of {@link DisplayType.Resolution }
+ * Create an instance of {@link UsabilityType.FileSharing }
*
*/
- public DisplayType.Resolution createDisplayTypeResolution() {
- return new DisplayType.Resolution();
+ public UsabilityType.FileSharing createUsabilityTypeFileSharing() {
+ return new UsabilityType.FileSharing();
}
/**
- * Create an instance of {@link AdvancedOptionType }
+ * Create an instance of {@link BaseInformationType.DiskImage }
*
*/
- public AdvancedOptionType createAdvancedOptionType() {
- return new AdvancedOptionType();
+ public BaseInformationType.DiskImage createBaseInformationTypeDiskImage() {
+ return new BaseInformationType.DiskImage();
}
}
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
public class OptionType {
protected List<SubOptionType> subOption;
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "name", required = true)
protected String name;
- @XmlAttribute
+ @XmlAttribute(name = "value")
protected String value;
/**
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
@XmlValue
protected int value;
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "unit", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String unit;
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
@XmlType(name = "subOptionType")
public class SubOptionType {
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "name", required = true)
protected String name;
- @XmlAttribute
+ @XmlAttribute(name = "value")
protected String value;
/**
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
@XmlType(name = "touchType")
public class TouchType {
- @XmlAttribute(required = true)
+ @XmlAttribute(name = "maxTouchPoint", required = true)
protected int maxTouchPoint;
/**
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
-// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
/**
* <p>Java class for usabilityType complex type.
- *
+ *
* <p>The following schema fragment specifies the expected content contained within this class.
- *
+ *
* <pre>
* <complexType name="usabilityType">
* <complexContent>
* </complexContent>
* </complexType>
* </pre>
- *
- *
+ *
+ *
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "usabilityType", propOrder = {
/**
* Gets the value of the logging property.
- *
+ *
* @return
* possible object is
* {@link UsabilityType.Logging }
- *
+ *
*/
public UsabilityType.Logging getLogging() {
return logging;
/**
* Sets the value of the logging property.
- *
+ *
* @param value
* allowed object is
* {@link UsabilityType.Logging }
- *
+ *
*/
public void setLogging(UsabilityType.Logging value) {
this.logging = value;
/**
* Gets the value of the fileSharing property.
- *
+ *
* @return
* possible object is
* {@link UsabilityType.FileSharing }
- *
+ *
*/
public UsabilityType.FileSharing getFileSharing() {
return fileSharing;
/**
* Sets the value of the fileSharing property.
- *
+ *
* @param value
* allowed object is
* {@link UsabilityType.FileSharing }
- *
+ *
*/
public void setFileSharing(UsabilityType.FileSharing value) {
this.fileSharing = value;
/**
* Gets the value of the hwVirtualization property.
- *
+ *
*/
public boolean isHwVirtualization() {
return hwVirtualization;
/**
* Sets the value of the hwVirtualization property.
- *
+ *
*/
public void setHwVirtualization(boolean value) {
this.hwVirtualization = value;
/**
* Gets the value of the hwGLAcceleration property.
- *
+ *
*/
public boolean isHwGLAcceleration() {
return hwGLAcceleration;
/**
* Sets the value of the hwGLAcceleration property.
- *
+ *
*/
public void setHwGLAcceleration(boolean value) {
this.hwGLAcceleration = value;
/**
* Gets the value of the supportSuspend property.
- *
+ *
*/
public boolean isSupportSuspend() {
return supportSuspend;
/**
* Sets the value of the supportSuspend property.
- *
+ *
*/
public void setSupportSuspend(boolean value) {
this.supportSuspend = value;
/**
* Gets the value of the advancedOptions property.
- *
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
public String getAdvancedOptions() {
return advancedOptions;
/**
* Sets the value of the advancedOptions property.
- *
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
public void setAdvancedOptions(String value) {
this.advancedOptions = value;
/**
* <p>Java class for anonymous complex type.
- *
+ *
* <p>The following schema fragment specifies the expected content contained within this class.
- *
+ *
* <pre>
* <complexType>
* <complexContent>
* </complexContent>
* </complexType>
* </pre>
- *
- *
+ *
+ *
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
/**
* Gets the value of the path property.
- *
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
public String getPath() {
return path;
/**
* Sets the value of the path property.
- *
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
public void setPath(String value) {
this.path = value;
/**
* <p>Java class for anonymous complex type.
- *
+ *
* <p>The following schema fragment specifies the expected content contained within this class.
- *
+ *
* <pre>
* <complexType>
* <complexContent>
* </complexContent>
* </complexType>
* </pre>
- *
- *
+ *
+ *
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
/**
* Gets the value of the level property.
- *
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
public String getLevel() {
return level;
/**
* Sets the value of the level property.
- *
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
public void setLevel(String value) {
this.level = value;
//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2014.08.08 at 10:35:05 오후 KST
+// Generated on: 2015.08.07 at 02:46:44 PM KST
//
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.tizen.org/em", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
}
public int compareTo(Object o) {
- String u = ((PlatformPair) o).prop.getVersion();
- return u.compareTo(this.prop.getVersion());
+ Platform p = ((PlatformPair) o).prop;
+ String u = p.getVersion();
+ int order = u.compareTo(this.prop.getVersion());
+ if (order == 0) {
+ if (p.isChildPlatform()) {
+ if (!this.prop.isChildPlatform()) {
+ order = 1;
+ } else {
+ // product > partner > public
+ if (this.prop.getName().contains("product")) {
+ order = -1;
+ } else if (p.getName().contains("product")) {
+ order = 1;
+ } else if (this.prop.getName().contains("partner")) {
+ order = -1;
+ } else if (p.getName().contains("partner")) {
+ order = 1;
+ }
+ }
+ } else if (this.prop.isChildPlatform()) {
+ order = -1;
+ }
+ }
+
+ return order;
}
}
ec.getBaseInformation().setName(newVM.vmsName);
ec.getBaseInformation().setArchitecture(newVM.baseImage.getCpu());
+ ec.getBaseInformation().setPlatform(newVM.baseImage.getPlatformName());
ec.getBaseInformation().setDiskImage(factory.createBaseInformationTypeDiskImage());
if (newVM.baseImage.isStandard()) {
}
public String getImagePlatform() {
- String version = getImageVersion();
- String profile = getImageProfile();
- if (version == null || profile == null) {
- return ""; //$NON-NLS-1$
+ if (configuration != null && configuration.getBaseInformation() != null
+ && configuration.getBaseInformation().getPlatform() != null) {
+ return configuration.getBaseInformation().getPlatform();
+ } else {
+ String version = getImageVersion();
+ String profile = getImageProfile();
+ if (version == null || profile == null) {
+ return ""; //$NON-NLS-1$
+ }
+ return profile + "-" + version; //$NON-NLS-1$
}
-
- return profile + "-" + version; //$NON-NLS-1$
}
public boolean compareImage(BaseImage image) {
</restriction>
</simpleType>
</element>
+ <element name="platform" type="string" minOccurs="0" maxOccurs="1" />
<element name="diskImage" minOccurs="1" maxOccurs="1">
<complexType>
<sequence>