PageRenderTime 43ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/java/node-plugin/node-plugin-common/src/main/java/com/windsor/node/plugin/common/domain/ObjectType.java

http://opennode2.googlecode.com/
Java | 171 lines | 57 code | 14 blank | 100 comment | 2 complexity | 3a8c8721a20b60535754b7d181718aeb MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-3.0, Apache-2.0, LGPL-2.1, CC-BY-SA-3.0, MPL-2.0-no-copyleft-exception
  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
  3. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2012.06.06 at 03:50:08 PM PDT
  6. //
  7. package com.windsor.node.plugin.common.domain;
  8. import java.util.ArrayList;
  9. import java.util.List;
  10. import javax.xml.bind.annotation.XmlAccessType;
  11. import javax.xml.bind.annotation.XmlAccessorType;
  12. import javax.xml.bind.annotation.XmlAnyElement;
  13. import javax.xml.bind.annotation.XmlAttribute;
  14. import javax.xml.bind.annotation.XmlID;
  15. import javax.xml.bind.annotation.XmlMixed;
  16. import javax.xml.bind.annotation.XmlSchemaType;
  17. import javax.xml.bind.annotation.XmlType;
  18. import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
  19. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  20. import org.w3c.dom.Element;
  21. /**
  22. * <p>Java class for ObjectType complex type.
  23. *
  24. * <p>The following schema fragment specifies the expected content contained within this class.
  25. *
  26. * <pre>
  27. * &lt;complexType name="ObjectType">
  28. * &lt;complexContent>
  29. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  30. * &lt;sequence maxOccurs="unbounded" minOccurs="0">
  31. * &lt;any processContents='lax'/>
  32. * &lt;/sequence>
  33. * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
  34. * &lt;attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
  35. * &lt;attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
  36. * &lt;/restriction>
  37. * &lt;/complexContent>
  38. * &lt;/complexType>
  39. * </pre>
  40. *
  41. *
  42. */
  43. @XmlAccessorType(XmlAccessType.FIELD)
  44. @XmlType(name = "ObjectType", propOrder = {
  45. "content"
  46. })
  47. public class ObjectType {
  48. @XmlMixed
  49. @XmlAnyElement(lax = true)
  50. protected List<Object> content;
  51. @XmlAttribute(name = "Id")
  52. @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
  53. @XmlID
  54. @XmlSchemaType(name = "ID")
  55. protected String id;
  56. @XmlAttribute(name = "MimeType")
  57. protected String mimeType;
  58. @XmlAttribute(name = "Encoding")
  59. @XmlSchemaType(name = "anyURI")
  60. protected String encoding;
  61. /**
  62. * Gets the value of the content property.
  63. *
  64. * <p>
  65. * This accessor method returns a reference to the live list,
  66. * not a snapshot. Therefore any modification you make to the
  67. * returned list will be present inside the JAXB object.
  68. * This is why there is not a <CODE>set</CODE> method for the content property.
  69. *
  70. * <p>
  71. * For example, to add a new item, do as follows:
  72. * <pre>
  73. * getContent().add(newItem);
  74. * </pre>
  75. *
  76. *
  77. * <p>
  78. * Objects of the following type(s) are allowed in the list
  79. * {@link String }
  80. * {@link Element }
  81. * {@link Object }
  82. *
  83. *
  84. */
  85. public List<Object> getContent() {
  86. if (content == null) {
  87. content = new ArrayList<Object>();
  88. }
  89. return this.content;
  90. }
  91. /**
  92. * Gets the value of the id property.
  93. *
  94. * @return
  95. * possible object is
  96. * {@link String }
  97. *
  98. */
  99. public String getId() {
  100. return id;
  101. }
  102. /**
  103. * Sets the value of the id property.
  104. *
  105. * @param value
  106. * allowed object is
  107. * {@link String }
  108. *
  109. */
  110. public void setId(String value) {
  111. this.id = value;
  112. }
  113. /**
  114. * Gets the value of the mimeType property.
  115. *
  116. * @return
  117. * possible object is
  118. * {@link String }
  119. *
  120. */
  121. public String getMimeType() {
  122. return mimeType;
  123. }
  124. /**
  125. * Sets the value of the mimeType property.
  126. *
  127. * @param value
  128. * allowed object is
  129. * {@link String }
  130. *
  131. */
  132. public void setMimeType(String value) {
  133. this.mimeType = value;
  134. }
  135. /**
  136. * Gets the value of the encoding property.
  137. *
  138. * @return
  139. * possible object is
  140. * {@link String }
  141. *
  142. */
  143. public String getEncoding() {
  144. return encoding;
  145. }
  146. /**
  147. * Sets the value of the encoding property.
  148. *
  149. * @param value
  150. * allowed object is
  151. * {@link String }
  152. *
  153. */
  154. public void setEncoding(String value) {
  155. this.encoding = value;
  156. }
  157. }