From: jihye424.kim Date: Thu, 1 Oct 2015 05:53:39 +0000 (+0900) Subject: Device Template: add device template xsd file X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ed66e8da93b46bc76dc353f97595ae475c03c08;p=sdk%2Femulator%2Femulator-manager.git Device Template: add device template xsd file - add device template xsd file - generate device template java file from xsd file Change-Id: I78c346ccdab4542a00213c6623d8787f2a93d375 Signed-off-by: jihye424.kim --- diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/AdditionalDevices.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/AdditionalDevices.java new file mode 100644 index 0000000..7779922 --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/AdditionalDevices.java @@ -0,0 +1,74 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for additionalDevices complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="additionalDevices">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.tizen.org/template}device" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "additionalDevices", propOrder = { + "device" +}) +public class AdditionalDevices { + + protected List device; + + /** + * Gets the value of the device property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the device property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getDevice().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Device } + * + * + */ + public List getDevice() { + if (device == null) { + device = new ArrayList(); + } + return this.device; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/BaseInformation.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/BaseInformation.java new file mode 100644 index 0000000..e87f85e --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/BaseInformation.java @@ -0,0 +1,234 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for baseInformation complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="baseInformation">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="profile" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="extension" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="priority" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ *         <element name="manufacturer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "baseInformation", propOrder = { + "name", + "type", + "profile", + "extension", + "version", + "priority", + "manufacturer" +}) +public class BaseInformation { + + @XmlElement(required = true) + protected String name; + @XmlElement(required = true) + protected String type; + @XmlElement(required = true) + protected String profile; + protected String extension; + @XmlElement(required = true) + protected String version; + protected Integer priority; + protected String manufacturer; + + /** + * 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 type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the profile property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfile() { + return profile; + } + + /** + * Sets the value of the profile property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfile(String value) { + this.profile = value; + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExtension(String value) { + this.extension = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the priority property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getPriority() { + return priority; + } + + /** + * Sets the value of the priority property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setPriority(Integer value) { + this.priority = value; + } + + /** + * Gets the value of the manufacturer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getManufacturer() { + return manufacturer; + } + + /** + * Sets the value of the manufacturer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setManufacturer(String value) { + this.manufacturer = value; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/Cpu.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/Cpu.java new file mode 100644 index 0000000..448f9a9 --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/Cpu.java @@ -0,0 +1,57 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for cpu complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="cpu">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "cpu") +public class Cpu { + + @XmlAttribute(name = "count", required = true) + protected int count; + + /** + * Gets the value of the count property. + * + */ + public int getCount() { + return count; + } + + /** + * Sets the value of the count property. + * + */ + public void setCount(int value) { + this.count = value; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/Device.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/Device.java new file mode 100644 index 0000000..1dd7995 --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/Device.java @@ -0,0 +1,136 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.tizen.org/template}deviceItem" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element ref="{http://www.tizen.org/template}deviceValue" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "deviceItem", + "deviceValue" +}) +@XmlRootElement(name = "device") +public class Device { + + protected List deviceItem; + protected List deviceValue; + @XmlAttribute(name = "name", required = true) + protected String name; + + /** + * Gets the value of the deviceItem property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the deviceItem property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getDeviceItem().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link DeviceItem } + * + * + */ + public List getDeviceItem() { + if (deviceItem == null) { + deviceItem = new ArrayList(); + } + return this.deviceItem; + } + + /** + * Gets the value of the deviceValue property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the deviceValue property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getDeviceValue().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link DeviceValue } + * + * + */ + public List getDeviceValue() { + if (deviceValue == null) { + deviceValue = new ArrayList(); + } + return this.deviceValue; + } + + /** + * 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; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceConfiguration.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceConfiguration.java new file mode 100644 index 0000000..e35f036 --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceConfiguration.java @@ -0,0 +1,182 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="baseInformation" type="{http://www.tizen.org/template}baseInformation"/>
+ *         <element name="display" type="{http://www.tizen.org/template}display"/>
+ *         <element name="ram" type="{http://www.tizen.org/template}ram"/>
+ *         <element name="cpu" type="{http://www.tizen.org/template}cpu"/>
+ *         <element name="additionalDevices" type="{http://www.tizen.org/template}additionalDevices" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "baseInformation", + "display", + "ram", + "cpu", + "additionalDevices" +}) +@XmlRootElement(name = "DeviceConfiguration") +public class DeviceConfiguration { + + @XmlElement(required = true) + protected BaseInformation baseInformation; + @XmlElement(required = true) + protected Display display; + @XmlElement(required = true) + protected Ram ram; + @XmlElement(required = true) + protected Cpu cpu; + protected AdditionalDevices additionalDevices; + + /** + * Gets the value of the baseInformation property. + * + * @return + * possible object is + * {@link BaseInformation } + * + */ + public BaseInformation getBaseInformation() { + return baseInformation; + } + + /** + * Sets the value of the baseInformation property. + * + * @param value + * allowed object is + * {@link BaseInformation } + * + */ + public void setBaseInformation(BaseInformation value) { + this.baseInformation = value; + } + + /** + * Gets the value of the display property. + * + * @return + * possible object is + * {@link Display } + * + */ + public Display getDisplay() { + return display; + } + + /** + * Sets the value of the display property. + * + * @param value + * allowed object is + * {@link Display } + * + */ + public void setDisplay(Display value) { + this.display = value; + } + + /** + * Gets the value of the ram property. + * + * @return + * possible object is + * {@link Ram } + * + */ + public Ram getRam() { + return ram; + } + + /** + * Sets the value of the ram property. + * + * @param value + * allowed object is + * {@link Ram } + * + */ + public void setRam(Ram value) { + this.ram = value; + } + + /** + * Gets the value of the cpu property. + * + * @return + * possible object is + * {@link Cpu } + * + */ + public Cpu getCpu() { + return cpu; + } + + /** + * Sets the value of the cpu property. + * + * @param value + * allowed object is + * {@link Cpu } + * + */ + public void setCpu(Cpu value) { + this.cpu = value; + } + + /** + * Gets the value of the additionalDevices property. + * + * @return + * possible object is + * {@link AdditionalDevices } + * + */ + public AdditionalDevices getAdditionalDevices() { + return additionalDevices; + } + + /** + * Sets the value of the additionalDevices property. + * + * @param value + * allowed object is + * {@link AdditionalDevices } + * + */ + public void setAdditionalDevices(AdditionalDevices value) { + this.additionalDevices = value; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceItem.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceItem.java new file mode 100644 index 0000000..a5c124f --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceItem.java @@ -0,0 +1,158 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://www.tizen.org/template}deviceItemValue" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="support" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "deviceItemValue" +}) +@XmlRootElement(name = "deviceItem") +public class DeviceItem { + + protected List deviceItemValue; + @XmlAttribute(name = "id", required = true) + protected String id; + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "support") + protected Boolean support; + + /** + * Gets the value of the deviceItemValue property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the deviceItemValue property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getDeviceItemValue().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link DeviceItemValue } + * + * + */ + public List getDeviceItemValue() { + if (deviceItemValue == null) { + deviceItemValue = new ArrayList(); + } + return this.deviceItemValue; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = 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 support property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSupport() { + return support; + } + + /** + * Sets the value of the support property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setSupport(Boolean value) { + this.support = value; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceItemValue.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceItemValue.java new file mode 100644 index 0000000..a1d20ac --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceItemValue.java @@ -0,0 +1,121 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "deviceItemValue") +public class DeviceItemValue { + + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "unit") + protected String unit; + @XmlAttribute(name = "value") + protected String 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 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. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceValue.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceValue.java new file mode 100644 index 0000000..5abb50f --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/DeviceValue.java @@ -0,0 +1,121 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "deviceValue") +public class DeviceValue { + + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "unit") + protected String unit; + @XmlAttribute(name = "value") + protected String 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 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. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/Display.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/Display.java new file mode 100644 index 0000000..28a137c --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/Display.java @@ -0,0 +1,382 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +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; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for display complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="display">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="resolution">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *                 <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="screenSize">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="unit" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}token">
+ *                       <enumeration value="inch"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="skin" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="path" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                 </sequence>
+ *                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "display", propOrder = { + "resolution", + "screenSize", + "skin" +}) +public class Display { + + @XmlElement(required = true) + protected Display.Resolution resolution; + @XmlElement(required = true) + protected Display.ScreenSize screenSize; + protected Display.Skin skin; + + /** + * Gets the value of the resolution property. + * + * @return + * possible object is + * {@link Display.Resolution } + * + */ + public Display.Resolution getResolution() { + return resolution; + } + + /** + * Sets the value of the resolution property. + * + * @param value + * allowed object is + * {@link Display.Resolution } + * + */ + public void setResolution(Display.Resolution value) { + this.resolution = value; + } + + /** + * Gets the value of the screenSize property. + * + * @return + * possible object is + * {@link Display.ScreenSize } + * + */ + public Display.ScreenSize getScreenSize() { + return screenSize; + } + + /** + * Sets the value of the screenSize property. + * + * @param value + * allowed object is + * {@link Display.ScreenSize } + * + */ + public void setScreenSize(Display.ScreenSize value) { + this.screenSize = value; + } + + /** + * Gets the value of the skin property. + * + * @return + * possible object is + * {@link Display.Skin } + * + */ + public Display.Skin getSkin() { + return skin; + } + + /** + * Sets the value of the skin property. + * + * @param value + * allowed object is + * {@link Display.Skin } + * + */ + public void setSkin(Display.Skin value) { + this.skin = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+     *       <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Resolution { + + @XmlAttribute(name = "width", required = true) + protected int width; + @XmlAttribute(name = "height", required = true) + protected int height; + + /** + * Gets the value of the width property. + * + */ + public int getWidth() { + return width; + } + + /** + * Sets the value of the width property. + * + */ + public void setWidth(int value) { + this.width = value; + } + + /** + * Gets the value of the height property. + * + */ + public int getHeight() { + return height; + } + + /** + * Sets the value of the height property. + * + */ + public void setHeight(int value) { + this.height = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="unit" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
+     *             <enumeration value="inch"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @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; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="path" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *       </sequence>
+     *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "path" + }) + public static class Skin { + + protected String path; + @XmlAttribute(name = "name", required = true) + protected String name; + + /** + * 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; + } + + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/ItemValue.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/ItemValue.java new file mode 100644 index 0000000..a991eb4 --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/ItemValue.java @@ -0,0 +1,121 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.09.25 at 02:34:16 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "itemValue") +public class ItemValue { + + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "unit") + protected String unit; + @XmlAttribute(name = "value") + protected String 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 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. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/ObjectFactory.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/ObjectFactory.java new file mode 100644 index 0000000..36610d1 --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/ObjectFactory.java @@ -0,0 +1,151 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the org.tizen.emulator.manager.device.xml.template package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.tizen.emulator.manager.device.xml.template + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Ram } + * + */ + public Ram createRam() { + return new Ram(); + } + + /** + * Create an instance of {@link Display } + * + */ + public Display createDisplay() { + return new Display(); + } + + /** + * Create an instance of {@link DeviceItem } + * + */ + public DeviceItem createDeviceItem() { + return new DeviceItem(); + } + + /** + * Create an instance of {@link DeviceItemValue } + * + */ + public DeviceItemValue createDeviceItemValue() { + return new DeviceItemValue(); + } + + /** + * Create an instance of {@link Device } + * + */ + public Device createDevice() { + return new Device(); + } + + /** + * Create an instance of {@link DeviceValue } + * + */ + public DeviceValue createDeviceValue() { + return new DeviceValue(); + } + + /** + * Create an instance of {@link DeviceConfiguration } + * + */ + public DeviceConfiguration createDeviceConfiguration() { + return new DeviceConfiguration(); + } + + /** + * Create an instance of {@link BaseInformation } + * + */ + public BaseInformation createBaseInformation() { + return new BaseInformation(); + } + + /** + * Create an instance of {@link Cpu } + * + */ + public Cpu createCpu() { + return new Cpu(); + } + + /** + * Create an instance of {@link AdditionalDevices } + * + */ + public AdditionalDevices createAdditionalDevices() { + return new AdditionalDevices(); + } + + /** + * Create an instance of {@link Ram.Size } + * + */ + public Ram.Size createRamSize() { + return new Ram.Size(); + } + + /** + * Create an instance of {@link Display.Resolution } + * + */ + public Display.Resolution createDisplayResolution() { + return new Display.Resolution(); + } + + /** + * Create an instance of {@link Display.ScreenSize } + * + */ + public Display.ScreenSize createDisplayScreenSize() { + return new Display.ScreenSize(); + } + + /** + * Create an instance of {@link Display.Skin } + * + */ + public Display.Skin createDisplaySkin() { + return new Display.Skin(); + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/Ram.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/Ram.java new file mode 100644 index 0000000..76f3923 --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/Ram.java @@ -0,0 +1,166 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + + +package org.tizen.emulator.manager.device.xml.template; + +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; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for ram complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ram">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="size">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="unit" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}token">
+ *                       <enumeration value="MB"/>
+ *                       <enumeration value="GB"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ram", propOrder = { + "size" +}) +public class Ram { + + @XmlElement(required = true) + protected Ram.Size size; + + /** + * Gets the value of the size property. + * + * @return + * possible object is + * {@link Ram.Size } + * + */ + public Ram.Size getSize() { + return size; + } + + /** + * Sets the value of the size property. + * + * @param value + * allowed object is + * {@link Ram.Size } + * + */ + public void setSize(Ram.Size value) { + this.size = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="unit" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
+     *             <enumeration value="MB"/>
+     *             <enumeration value="GB"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Size { + + @XmlAttribute(name = "unit", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String unit; + @XmlAttribute(name = "value", required = true) + protected int 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 int getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + */ + public void setValue(int value) { + this.value = value; + } + + } + +} diff --git a/jaxb_src/org/tizen/emulator/manager/device/xml/template/package-info.java b/jaxb_src/org/tizen/emulator/manager/device/xml/template/package-info.java new file mode 100644 index 0000000..c16a0f3 --- /dev/null +++ b/jaxb_src/org/tizen/emulator/manager/device/xml/template/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2015.10.01 at 01:53:38 PM KST +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.tizen.org/template", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package org.tizen.emulator.manager.device.xml.template; diff --git a/xsd/device-template.xsd b/xsd/device-template.xsd new file mode 100644 index 0000000..d80d533 --- /dev/null +++ b/xsd/device-template.xsd @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +