VMProperty: add platform name attribute
authorjihye424.kim <jihye424.kim@samsung.com>
Fri, 7 Aug 2015 06:30:19 +0000 (15:30 +0900)
committerjihye424.kim <jihye424.kim@samsung.com>
Fri, 7 Aug 2015 06:33:16 +0000 (15:33 +0900)
- custom vm use product platform of latest version

Change-Id: Idb0c8d18b74b60b067b2a02e2dc0d14005d4b27b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
21 files changed:
jaxb_src/org/tizen/emulator/manager/vms/xml/AdvancedOptionType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/BaseInformationType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/CpuType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/DeviceType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/DiskImageFormatType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/DisplayType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/EmulatorConfiguration.java
jaxb_src/org/tizen/emulator/manager/vms/xml/ExtendedOptionType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/ObjectFactory.java
jaxb_src/org/tizen/emulator/manager/vms/xml/OciType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/OptionType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/RamType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/SkinType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/SubOptionType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/TouchType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/UsabilityType.java
jaxb_src/org/tizen/emulator/manager/vms/xml/package-info.java
src/org/tizen/emulator/manager/platform/Profile.java
src/org/tizen/emulator/manager/vms/Creator.java
src/org/tizen/emulator/manager/vms/VMProperty.java
xsd/em.xsd

index 3db0c68..3c4d507 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
index 2012002..bd12faf 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -36,6 +36,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  *             &lt;/restriction>
  *           &lt;/simpleType>
  *         &lt;/element>
+ *         &lt;element name="platform" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         &lt;element name="diskImage">
  *           &lt;complexType>
  *             &lt;complexContent>
@@ -72,6 +73,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 @XmlType(name = "baseInformationType", propOrder = {
     "name",
     "architecture",
+    "platform",
     "diskImage"
 })
 public class BaseInformationType {
@@ -81,6 +83,7 @@ public class BaseInformationType {
     @XmlElement(required = true)
     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
     protected String architecture;
+    protected String platform;
     @XmlElement(required = true)
     protected BaseInformationType.DiskImage diskImage;
 
@@ -133,6 +136,30 @@ public class BaseInformationType {
     }
 
     /**
+     * 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
@@ -203,14 +230,14 @@ public class BaseInformationType {
         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;
 
         /**
index 1281333..23e6fa2 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -116,7 +116,7 @@ public class CpuType {
 
         @XmlValue
         protected int value;
-        @XmlAttribute(required = true)
+        @XmlAttribute(name = "unit", required = true)
         @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
         protected String unit;
 
index e72ceb1..189c954 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
index ea2b10a..aabe725 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -51,10 +51,10 @@ public class DiskImageFormatType {
 
     @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;
 
     /**
index 797279a..31644f7 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -193,7 +193,7 @@ public class DisplayType {
 
         @XmlValue
         protected int value;
-        @XmlAttribute(required = true)
+        @XmlAttribute(name = "unit", required = true)
         @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
         protected String unit;
 
index e05b751..a252515 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
index 60ff6a1..309a03d 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -40,7 +40,7 @@ public class ExtendedOptionType {
 
     @XmlValue
     protected String value;
-    @XmlAttribute(required = true)
+    @XmlAttribute(name = "name", required = true)
     protected String name;
 
     /**
index 7b5435d..a42f502 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -37,187 +37,187 @@ public class ObjectFactory {
     }
 
     /**
-     * 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();
     }
 
 }
index bd6fb8a..b75fb96 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
index cee2a4f..a0a88ce 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -44,9 +44,9 @@ import javax.xml.bind.annotation.XmlType;
 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;
 
     /**
index cff667c..c288796 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -116,7 +116,7 @@ public class RamType {
 
         @XmlValue
         protected int value;
-        @XmlAttribute(required = true)
+        @XmlAttribute(name = "unit", required = true)
         @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
         protected String unit;
 
index 99318e7..a9d3b93 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
index 1c86998..5f14ed5 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -36,9 +36,9 @@ import javax.xml.bind.annotation.XmlType;
 @XmlType(name = "subOptionType")
 public class SubOptionType {
 
-    @XmlAttribute(required = true)
+    @XmlAttribute(name = "name", required = true)
     protected String name;
-    @XmlAttribute
+    @XmlAttribute(name = "value")
     protected String value;
 
     /**
index 463d7cd..42fe1f6 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -40,7 +40,7 @@ import javax.xml.bind.annotation.XmlType;
 @XmlType(name = "touchType")
 public class TouchType {
 
-    @XmlAttribute(required = true)
+    @XmlAttribute(name = "maxTouchPoint", required = true)
     protected int maxTouchPoint;
 
     /**
index cbb1b6d..0e71c6d 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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 
 //
 
 
@@ -18,9 +18,9 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 
 /**
  * <p>Java class for usabilityType complex type.
- *
+ * 
  * <p>The following schema fragment specifies the expected content contained within this class.
- *
+ * 
  * <pre>
  * &lt;complexType name="usabilityType">
  *   &lt;complexContent>
@@ -68,8 +68,8 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  *   &lt;/complexContent>
  * &lt;/complexType>
  * </pre>
- *
- *
+ * 
+ * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "usabilityType", propOrder = {
@@ -94,11 +94,11 @@ public class UsabilityType {
 
     /**
      * Gets the value of the logging property.
-     *
+     * 
      * @return
      *     possible object is
      *     {@link UsabilityType.Logging }
-     *
+     *     
      */
     public UsabilityType.Logging getLogging() {
         return logging;
@@ -106,11 +106,11 @@ public class UsabilityType {
 
     /**
      * Sets the value of the logging property.
-     *
+     * 
      * @param value
      *     allowed object is
      *     {@link UsabilityType.Logging }
-     *
+     *     
      */
     public void setLogging(UsabilityType.Logging value) {
         this.logging = value;
@@ -118,11 +118,11 @@ public class UsabilityType {
 
     /**
      * Gets the value of the fileSharing property.
-     *
+     * 
      * @return
      *     possible object is
      *     {@link UsabilityType.FileSharing }
-     *
+     *     
      */
     public UsabilityType.FileSharing getFileSharing() {
         return fileSharing;
@@ -130,11 +130,11 @@ public class UsabilityType {
 
     /**
      * Sets the value of the fileSharing property.
-     *
+     * 
      * @param value
      *     allowed object is
      *     {@link UsabilityType.FileSharing }
-     *
+     *     
      */
     public void setFileSharing(UsabilityType.FileSharing value) {
         this.fileSharing = value;
@@ -142,7 +142,7 @@ public class UsabilityType {
 
     /**
      * Gets the value of the hwVirtualization property.
-     *
+     * 
      */
     public boolean isHwVirtualization() {
         return hwVirtualization;
@@ -150,7 +150,7 @@ public class UsabilityType {
 
     /**
      * Sets the value of the hwVirtualization property.
-     *
+     * 
      */
     public void setHwVirtualization(boolean value) {
         this.hwVirtualization = value;
@@ -158,7 +158,7 @@ public class UsabilityType {
 
     /**
      * Gets the value of the hwGLAcceleration property.
-     *
+     * 
      */
     public boolean isHwGLAcceleration() {
         return hwGLAcceleration;
@@ -166,7 +166,7 @@ public class UsabilityType {
 
     /**
      * Sets the value of the hwGLAcceleration property.
-     *
+     * 
      */
     public void setHwGLAcceleration(boolean value) {
         this.hwGLAcceleration = value;
@@ -174,7 +174,7 @@ public class UsabilityType {
 
     /**
      * Gets the value of the supportSuspend property.
-     *
+     * 
      */
     public boolean isSupportSuspend() {
         return supportSuspend;
@@ -182,7 +182,7 @@ public class UsabilityType {
 
     /**
      * Sets the value of the supportSuspend property.
-     *
+     * 
      */
     public void setSupportSuspend(boolean value) {
         this.supportSuspend = value;
@@ -190,11 +190,11 @@ public class UsabilityType {
 
     /**
      * Gets the value of the advancedOptions property.
-     *
+     * 
      * @return
      *     possible object is
      *     {@link String }
-     *
+     *     
      */
     public String getAdvancedOptions() {
         return advancedOptions;
@@ -202,11 +202,11 @@ public class UsabilityType {
 
     /**
      * Sets the value of the advancedOptions property.
-     *
+     * 
      * @param value
      *     allowed object is
      *     {@link String }
-     *
+     *     
      */
     public void setAdvancedOptions(String value) {
         this.advancedOptions = value;
@@ -215,9 +215,9 @@ public class UsabilityType {
 
     /**
      * <p>Java class for anonymous complex type.
-     *
+     * 
      * <p>The following schema fragment specifies the expected content contained within this class.
-     *
+     * 
      * <pre>
      * &lt;complexType>
      *   &lt;complexContent>
@@ -229,8 +229,8 @@ public class UsabilityType {
      *   &lt;/complexContent>
      * &lt;/complexType>
      * </pre>
-     *
-     *
+     * 
+     * 
      */
     @XmlAccessorType(XmlAccessType.FIELD)
     @XmlType(name = "", propOrder = {
@@ -242,11 +242,11 @@ public class UsabilityType {
 
         /**
          * Gets the value of the path property.
-         *
+         * 
          * @return
          *     possible object is
          *     {@link String }
-         *
+         *     
          */
         public String getPath() {
             return path;
@@ -254,11 +254,11 @@ public class UsabilityType {
 
         /**
          * Sets the value of the path property.
-         *
+         * 
          * @param value
          *     allowed object is
          *     {@link String }
-         *
+         *     
          */
         public void setPath(String value) {
             this.path = value;
@@ -269,9 +269,9 @@ public class UsabilityType {
 
     /**
      * <p>Java class for anonymous complex type.
-     *
+     * 
      * <p>The following schema fragment specifies the expected content contained within this class.
-     *
+     * 
      * <pre>
      * &lt;complexType>
      *   &lt;complexContent>
@@ -294,8 +294,8 @@ public class UsabilityType {
      *   &lt;/complexContent>
      * &lt;/complexType>
      * </pre>
-     *
-     *
+     * 
+     * 
      */
     @XmlAccessorType(XmlAccessType.FIELD)
     @XmlType(name = "", propOrder = {
@@ -309,11 +309,11 @@ public class UsabilityType {
 
         /**
          * Gets the value of the level property.
-         *
+         * 
          * @return
          *     possible object is
          *     {@link String }
-         *
+         *     
          */
         public String getLevel() {
             return level;
@@ -321,11 +321,11 @@ public class UsabilityType {
 
         /**
          * Sets the value of the level property.
-         *
+         * 
          * @param value
          *     allowed object is
          *     {@link String }
-         *
+         *     
          */
         public void setLevel(String value) {
             this.level = value;
index cd71b24..7c31d5c 100644 (file)
@@ -1,8 +1,8 @@
 //
-// 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)
index 2fb7104..0b3b393 100644 (file)
@@ -268,8 +268,31 @@ public class Profile {
                }
 
                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;
                }
        }
 
index 552a36a..35eeb2c 100644 (file)
@@ -279,6 +279,7 @@ public class Creator {
 
                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()) {
index 51f7286..8d39691 100644 (file)
@@ -246,13 +246,17 @@ public class VMProperty {
        }
 
        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) {
index 46c344e..f483773 100644 (file)
@@ -34,6 +34,7 @@
                                        </restriction>
                                </simpleType>
                        </element>
+                       <element name="platform" type="string" minOccurs="0" maxOccurs="1" />
                        <element name="diskImage" minOccurs="1" maxOccurs="1">
                                <complexType>
                                        <sequence>