PageRenderTime 53ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/src/org/xmcda/v2/CriterionValue.java

https://gitlab.com/XMCDA-library/XMCDA-java
Java | 276 lines | 82 code | 22 blank | 172 comment | 2 complexity | 1af8d1f61e1a327dc991c1b9519d28d4 MD5 | raw file
  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
  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: 2016.11.30 at 02:37:50 PM CET
  6. //
  7. package org.xmcda.v2;
  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.XmlAttribute;
  13. import javax.xml.bind.annotation.XmlElement;
  14. import javax.xml.bind.annotation.XmlElements;
  15. import javax.xml.bind.annotation.XmlType;
  16. /**
  17. * Data on a criterion, a set of criteria or generic criteria-related value.
  18. *
  19. * <p>Java class for criterionValue complex type.
  20. *
  21. * <p>The following schema fragment specifies the expected content contained within this class.
  22. *
  23. * <pre>
  24. * &lt;complexType name="criterionValue">
  25. * &lt;complexContent>
  26. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  27. * &lt;sequence>
  28. * &lt;element name="description" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}description" minOccurs="0"/>
  29. * &lt;choice minOccurs="0">
  30. * &lt;element name="criterionID" type="{http://www.w3.org/2001/XMLSchema}string"/>
  31. * &lt;element name="criteriaSetID" type="{http://www.w3.org/2001/XMLSchema}string"/>
  32. * &lt;element name="criteriaSet" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}criteriaSet"/>
  33. * &lt;/choice>
  34. * &lt;choice maxOccurs="unbounded" minOccurs="0">
  35. * &lt;element name="value" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}value"/>
  36. * &lt;element name="values" type="{http://www.decision-deck.org/2019/XMCDA-2.2.3}values"/>
  37. * &lt;/choice>
  38. * &lt;/sequence>
  39. * &lt;attGroup ref="{http://www.decision-deck.org/2019/XMCDA-2.2.3}defaultAttributes"/>
  40. * &lt;/restriction>
  41. * &lt;/complexContent>
  42. * &lt;/complexType>
  43. * </pre>
  44. *
  45. *
  46. */
  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "criterionValue", propOrder = {
  49. "description",
  50. "criterionID",
  51. "criteriaSetID",
  52. "criteriaSet",
  53. "valueOrValues"
  54. })
  55. public class CriterionValue {
  56. protected Description description;
  57. protected String criterionID;
  58. protected String criteriaSetID;
  59. protected CriteriaSet criteriaSet;
  60. @XmlElements({
  61. @XmlElement(name = "value", type = Value.class),
  62. @XmlElement(name = "values", type = Values.class)
  63. })
  64. protected List<Object> valueOrValues;
  65. @XmlAttribute(name = "id")
  66. protected String id;
  67. @XmlAttribute(name = "name")
  68. protected String name;
  69. @XmlAttribute(name = "mcdaConcept")
  70. protected String mcdaConcept;
  71. /**
  72. * Gets the value of the description property.
  73. *
  74. * @return
  75. * possible object is
  76. * {@link Description }
  77. *
  78. */
  79. public Description getDescription() {
  80. return description;
  81. }
  82. /**
  83. * Sets the value of the description property.
  84. *
  85. * @param value
  86. * allowed object is
  87. * {@link Description }
  88. *
  89. */
  90. public void setDescription(Description value) {
  91. this.description = value;
  92. }
  93. /**
  94. * Gets the value of the criterionID property.
  95. *
  96. * @return
  97. * possible object is
  98. * {@link String }
  99. *
  100. */
  101. public String getCriterionID() {
  102. return criterionID;
  103. }
  104. /**
  105. * Sets the value of the criterionID property.
  106. *
  107. * @param value
  108. * allowed object is
  109. * {@link String }
  110. *
  111. */
  112. public void setCriterionID(String value) {
  113. this.criterionID = value;
  114. }
  115. /**
  116. * Gets the value of the criteriaSetID property.
  117. *
  118. * @return
  119. * possible object is
  120. * {@link String }
  121. *
  122. */
  123. public String getCriteriaSetID() {
  124. return criteriaSetID;
  125. }
  126. /**
  127. * Sets the value of the criteriaSetID property.
  128. *
  129. * @param value
  130. * allowed object is
  131. * {@link String }
  132. *
  133. */
  134. public void setCriteriaSetID(String value) {
  135. this.criteriaSetID = value;
  136. }
  137. /**
  138. * Gets the value of the criteriaSet property.
  139. *
  140. * @return
  141. * possible object is
  142. * {@link CriteriaSet }
  143. *
  144. */
  145. public CriteriaSet getCriteriaSet() {
  146. return criteriaSet;
  147. }
  148. /**
  149. * Sets the value of the criteriaSet property.
  150. *
  151. * @param value
  152. * allowed object is
  153. * {@link CriteriaSet }
  154. *
  155. */
  156. public void setCriteriaSet(CriteriaSet value) {
  157. this.criteriaSet = value;
  158. }
  159. /**
  160. * Gets the value of the valueOrValues property.
  161. *
  162. * <p>
  163. * This accessor method returns a reference to the live list,
  164. * not a snapshot. Therefore any modification you make to the
  165. * returned list will be present inside the JAXB object.
  166. * This is why there is not a <CODE>set</CODE> method for the valueOrValues property.
  167. *
  168. * <p>
  169. * For example, to add a new item, do as follows:
  170. * <pre>
  171. * getValueOrValues().add(newItem);
  172. * </pre>
  173. *
  174. *
  175. * <p>
  176. * Objects of the following type(s) are allowed in the list
  177. * {@link Value }
  178. * {@link Values }
  179. *
  180. *
  181. */
  182. public List<Object> getValueOrValues() {
  183. if (valueOrValues == null) {
  184. valueOrValues = new ArrayList<Object>();
  185. }
  186. return this.valueOrValues;
  187. }
  188. /**
  189. * Gets the value of the id property.
  190. *
  191. * @return
  192. * possible object is
  193. * {@link String }
  194. *
  195. */
  196. public String getId() {
  197. return id;
  198. }
  199. /**
  200. * Sets the value of the id property.
  201. *
  202. * @param value
  203. * allowed object is
  204. * {@link String }
  205. *
  206. */
  207. public void setId(String value) {
  208. this.id = value;
  209. }
  210. /**
  211. * Gets the value of the name property.
  212. *
  213. * @return
  214. * possible object is
  215. * {@link String }
  216. *
  217. */
  218. public String getName() {
  219. return name;
  220. }
  221. /**
  222. * Sets the value of the name property.
  223. *
  224. * @param value
  225. * allowed object is
  226. * {@link String }
  227. *
  228. */
  229. public void setName(String value) {
  230. this.name = value;
  231. }
  232. /**
  233. * Gets the value of the mcdaConcept property.
  234. *
  235. * @return
  236. * possible object is
  237. * {@link String }
  238. *
  239. */
  240. public String getMcdaConcept() {
  241. return mcdaConcept;
  242. }
  243. /**
  244. * Sets the value of the mcdaConcept property.
  245. *
  246. * @param value
  247. * allowed object is
  248. * {@link String }
  249. *
  250. */
  251. public void setMcdaConcept(String value) {
  252. this.mcdaConcept = value;
  253. }
  254. }