VMProperty: add device template value and screen size value
authorjihye424.kim <jihye424.kim@samsung.com>
Sun, 18 Oct 2015 06:40:14 +0000 (15:40 +0900)
committerjihye424.kim <jihye424.kim@samsung.com>
Sun, 18 Oct 2015 06:40:14 +0000 (15:40 +0900)
Change-Id: Ie0640528bf0182d3e95a76059bae804441b3ddb7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
19 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/DeviceTemplateType.java [new file with mode: 0644]
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
xsd/em.xsd

index 3c4d507..b9e757b 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index bd12faf..0d03ded 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
@@ -37,6 +37,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  *           &lt;/simpleType>
  *         &lt;/element>
  *         &lt;element name="platform" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="deviceTemplate" type="{http://www.tizen.org/em}deviceTemplateType"/>
  *         &lt;element name="diskImage">
  *           &lt;complexType>
  *             &lt;complexContent>
@@ -74,6 +75,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
     "name",
     "architecture",
     "platform",
+    "deviceTemplate",
     "diskImage"
 })
 public class BaseInformationType {
@@ -85,6 +87,8 @@ public class BaseInformationType {
     protected String architecture;
     protected String platform;
     @XmlElement(required = true)
+    protected DeviceTemplateType deviceTemplate;
+    @XmlElement(required = true)
     protected BaseInformationType.DiskImage diskImage;
 
     /**
@@ -160,6 +164,30 @@ public class BaseInformationType {
     }
 
     /**
+     * Gets the value of the deviceTemplate property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link DeviceTemplateType }
+     *     
+     */
+    public DeviceTemplateType getDeviceTemplate() {
+        return deviceTemplate;
+    }
+
+    /**
+     * Sets the value of the deviceTemplate property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link DeviceTemplateType }
+     *     
+     */
+    public void setDeviceTemplate(DeviceTemplateType value) {
+        this.deviceTemplate = value;
+    }
+
+    /**
      * Gets the value of the diskImage property.
      * 
      * @return
index 23e6fa2..7d85317 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
diff --git a/jaxb_src/org/tizen/emulator/manager/vms/xml/DeviceTemplateType.java b/jaxb_src/org/tizen/emulator/manager/vms/xml/DeviceTemplateType.java
new file mode 100644 (file)
index 0000000..42d5e96
--- /dev/null
@@ -0,0 +1,116 @@
+//
+// 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.10.18 at 02:24:37 PM KST 
+//
+
+
+package org.tizen.emulator.manager.vms.xml;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for deviceTemplateType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="deviceTemplateType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "deviceTemplateType", propOrder = {
+    "path"
+})
+public class DeviceTemplateType {
+
+    @XmlElement(required = true)
+    protected String path;
+    @XmlAttribute(name = "name", required = true)
+    protected String name;
+    @XmlAttribute(name = "version", required = true)
+    protected double version;
+
+    /**
+     * 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;
+    }
+
+    /**
+     * Gets the value of the name property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * Sets the value of the name property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setName(String value) {
+        this.name = value;
+    }
+
+    /**
+     * Gets the value of the version property.
+     * 
+     */
+    public double getVersion() {
+        return version;
+    }
+
+    /**
+     * Sets the value of the version property.
+     * 
+     */
+    public void setVersion(double value) {
+        this.version = value;
+    }
+
+}
index 189c954..78b5cc1 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index aabe725..cd6e727 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index 31644f7..0326b96 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
@@ -55,6 +55,22 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  *             &lt;/simpleContent>
  *           &lt;/complexType>
  *         &lt;/element>
+ *         &lt;element name="screenSize">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;attribute name="unit" use="required">
+ *                   &lt;simpleType>
+ *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
+ *                       &lt;enumeration value="inch"/>
+ *                     &lt;/restriction>
+ *                   &lt;/simpleType>
+ *                 &lt;/attribute>
+ *                 &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
  *         &lt;element name="skinPath">
  *           &lt;complexType>
  *             &lt;complexContent>
@@ -78,6 +94,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 @XmlType(name = "displayType", propOrder = {
     "resolution",
     "density",
+    "screenSize",
     "skinPath"
 })
 public class DisplayType {
@@ -87,6 +104,8 @@ public class DisplayType {
     @XmlElement(required = true)
     protected DisplayType.Density density;
     @XmlElement(required = true)
+    protected DisplayType.ScreenSize screenSize;
+    @XmlElement(required = true)
     protected DisplayType.SkinPath skinPath;
 
     /**
@@ -138,6 +157,30 @@ public class DisplayType {
     }
 
     /**
+     * Gets the value of the screenSize property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link DisplayType.ScreenSize }
+     *     
+     */
+    public DisplayType.ScreenSize getScreenSize() {
+        return screenSize;
+    }
+
+    /**
+     * Sets the value of the screenSize property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link DisplayType.ScreenSize }
+     *     
+     */
+    public void setScreenSize(DisplayType.ScreenSize value) {
+        this.screenSize = value;
+    }
+
+    /**
      * Gets the value of the skinPath property.
      * 
      * @return
@@ -314,6 +357,83 @@ public class DisplayType {
      * &lt;complexType>
      *   &lt;complexContent>
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;attribute name="unit" use="required">
+     *         &lt;simpleType>
+     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
+     *             &lt;enumeration value="inch"/>
+     *           &lt;/restriction>
+     *         &lt;/simpleType>
+     *       &lt;/attribute>
+     *       &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "")
+    public static class ScreenSize {
+
+        @XmlAttribute(name = "unit", required = true)
+        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+        protected String unit;
+        @XmlAttribute(name = "value", required = true)
+        protected double value;
+
+        /**
+         * Gets the value of the unit property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getUnit() {
+            return unit;
+        }
+
+        /**
+         * Sets the value of the unit property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setUnit(String value) {
+            this.unit = value;
+        }
+
+        /**
+         * Gets the value of the value property.
+         * 
+         */
+        public double getValue() {
+            return value;
+        }
+
+        /**
+         * Sets the value of the value property.
+         * 
+         */
+        public void setValue(double value) {
+            this.value = value;
+        }
+
+    }
+
+
+    /**
+     * <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>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      *       &lt;sequence>
      *         &lt;element name="path" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      *       &lt;/sequence>
index a252515..3174905 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index 309a03d..fe751a7 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index a42f502..c7b9ea1 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
@@ -125,6 +125,14 @@ public class ObjectFactory {
     }
 
     /**
+     * Create an instance of {@link DeviceTemplateType }
+     * 
+     */
+    public DeviceTemplateType createDeviceTemplateType() {
+        return new DeviceTemplateType();
+    }
+
+    /**
      * Create an instance of {@link DiskImageFormatType }
      * 
      */
@@ -181,6 +189,14 @@ public class ObjectFactory {
     }
 
     /**
+     * Create an instance of {@link DisplayType.ScreenSize }
+     * 
+     */
+    public DisplayType.ScreenSize createDisplayTypeScreenSize() {
+        return new DisplayType.ScreenSize();
+    }
+
+    /**
      * Create an instance of {@link DisplayType.SkinPath }
      * 
      */
index b75fb96..f84313b 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index a0a88ce..68da3e0 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index c288796..6a9e214 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index a9d3b93..66dab8d 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index 5f14ed5..c3b0910 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index 42fe1f6..15caec3 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index 0e71c6d..e493402 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 
index 7c31d5c..bfa6527 100644 (file)
@@ -2,7 +2,7 @@
 // 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 
+// Generated on: 2015.10.18 at 02:24:37 PM KST 
 //
 
 @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.tizen.org/em", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
index f483773..6526273 100644 (file)
@@ -35,6 +35,7 @@
                                </simpleType>
                        </element>
                        <element name="platform" type="string" minOccurs="0" maxOccurs="1" />
+                       <element name="deviceTemplate" type="em:deviceTemplateType" minOccurs="1" maxOccurs="1"/>
                        <element name="diskImage" minOccurs="1" maxOccurs="1">
                                <complexType>
                                        <sequence>
                </sequence>
        </complexType>
 
+       <complexType name="deviceTemplateType">
+               <sequence>
+                       <element name="path" type="string" minOccurs="1" maxOccurs="1" />
+               </sequence>
+               <attribute name="name" type="string" use="required" />
+               <attribute name="version" type="double" use="required" />
+       </complexType>
+
        <complexType name="diskImageFormatType">
                <simpleContent>
                        <extension base="string">
                                        </simpleContent>
                                </complexType>
                        </element>
+                       <element name="screenSize" minOccurs="1" maxOccurs="1">
+                               <complexType>
+                                       <attribute name="unit" use="required">
+                                               <simpleType>
+                                                       <restriction base="token">
+                                                               <enumeration value="inch"/>
+                                                       </restriction>
+                                               </simpleType>
+                                       </attribute>
+                                       <attribute name="value" type="double" use="required"/>
+                               </complexType>
+                       </element>
                        <element name="skinPath" minOccurs="1" maxOccurs="1">
                                <complexType>
                                        <sequence>