/edu.eafit.maestria.activa.tva/src/tva/metadata/extended/_2011/CouponDescriptionType.java

https://github.com/wvelezva/tesisgitrepository · Java · 450 lines · 137 code · 29 blank · 284 comment · 8 complexity · 2e8cfb77e9b2fcd7132bf9530a8fdf3b MD5 · raw file

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5
  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.05.23 at 05:28:03 PM COT
  6. //
  7. package tva.metadata.extended._2011;
  8. import java.math.BigInteger;
  9. import java.util.ArrayList;
  10. import java.util.List;
  11. import javax.xml.bind.annotation.XmlAccessType;
  12. import javax.xml.bind.annotation.XmlAccessorType;
  13. import javax.xml.bind.annotation.XmlAttribute;
  14. import javax.xml.bind.annotation.XmlElement;
  15. import javax.xml.bind.annotation.XmlElements;
  16. import javax.xml.bind.annotation.XmlSchemaType;
  17. import javax.xml.bind.annotation.XmlType;
  18. import javax.xml.datatype.XMLGregorianCalendar;
  19. import tva.mpeg7._2008.TextualType;
  20. /**
  21. * <p>Java class for CouponDescriptionType complex type.
  22. *
  23. * <p>The following schema fragment specifies the expected content contained within this class.
  24. *
  25. * <pre>
  26. * &lt;complexType name="CouponDescriptionType">
  27. * &lt;complexContent>
  28. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  29. * &lt;sequence minOccurs="0">
  30. * &lt;element name="RequiredCoupon" type="{urn:tva:metadata:extended:2011}RequiredCouponType" maxOccurs="unbounded" minOccurs="0"/>
  31. * &lt;choice minOccurs="0">
  32. * &lt;element name="NonTVACouponRef" type="{urn:tva:metadata:extended:2011}NonTVACouponRefType" minOccurs="0"/>
  33. * &lt;sequence minOccurs="0">
  34. * &lt;element name="CouponValue" type="{urn:tva:metadata:extended:2011}CouponValueType"/>
  35. * &lt;element name="ContentTarget" type="{urn:tva:metadata:extended:2011}ContentTargetType" maxOccurs="unbounded" minOccurs="0"/>
  36. * &lt;/sequence>
  37. * &lt;/choice>
  38. * &lt;element name="CouponURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
  39. * &lt;element name="CouponText" type="{urn:tva:mpeg7:2008}TextualType" maxOccurs="unbounded" minOccurs="0"/>
  40. * &lt;choice maxOccurs="unbounded" minOccurs="0">
  41. * &lt;element name="UserTargetingInformation" type="{urn:tva:metadata:extended:2011}TargetingInformationType"/>
  42. * &lt;element name="UserTargetingInformationRef" type="{urn:tva:metadata:2011}TVAIDRefType"/>
  43. * &lt;/choice>
  44. * &lt;/sequence>
  45. * &lt;attribute name="couponId" type="{urn:tva:metadata:2011}TVAIDType" />
  46. * &lt;attribute name="authorityName" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
  47. * &lt;attribute name="requiredNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
  48. * &lt;attribute name="start" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
  49. * &lt;attribute name="end" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
  50. * &lt;attribute name="acquisitionMode">
  51. * &lt;simpleType>
  52. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
  53. * &lt;enumeration value="immediate"/>
  54. * &lt;enumeration value="linkedToContent"/>
  55. * &lt;/restriction>
  56. * &lt;/simpleType>
  57. * &lt;/attribute>
  58. * &lt;/restriction>
  59. * &lt;/complexContent>
  60. * &lt;/complexType>
  61. * </pre>
  62. *
  63. *
  64. */
  65. @XmlAccessorType(XmlAccessType.FIELD)
  66. @XmlType(name = "CouponDescriptionType", propOrder = {
  67. "requiredCoupon",
  68. "nonTVACouponRef",
  69. "couponValue",
  70. "contentTarget",
  71. "couponURL",
  72. "couponText",
  73. "userTargetingInformationOrUserTargetingInformationRef"
  74. })
  75. public class CouponDescriptionType {
  76. @XmlElement(name = "RequiredCoupon")
  77. protected List<RequiredCouponType> requiredCoupon;
  78. @XmlElement(name = "NonTVACouponRef")
  79. protected NonTVACouponRefType nonTVACouponRef;
  80. @XmlElement(name = "CouponValue")
  81. protected CouponValueType couponValue;
  82. @XmlElement(name = "ContentTarget")
  83. protected List<ContentTargetType> contentTarget;
  84. @XmlElement(name = "CouponURL")
  85. @XmlSchemaType(name = "anyURI")
  86. protected String couponURL;
  87. @XmlElement(name = "CouponText")
  88. protected List<TextualType> couponText;
  89. @XmlElements({
  90. @XmlElement(name = "UserTargetingInformation", type = TargetingInformationType.class),
  91. @XmlElement(name = "UserTargetingInformationRef", type = String.class)
  92. })
  93. protected List<Object> userTargetingInformationOrUserTargetingInformationRef;
  94. @XmlAttribute(name = "couponId")
  95. protected String couponId;
  96. @XmlAttribute(name = "authorityName")
  97. @XmlSchemaType(name = "anyURI")
  98. protected String authorityName;
  99. @XmlAttribute(name = "requiredNumber")
  100. @XmlSchemaType(name = "positiveInteger")
  101. protected BigInteger requiredNumber;
  102. @XmlAttribute(name = "start")
  103. @XmlSchemaType(name = "dateTime")
  104. protected XMLGregorianCalendar start;
  105. @XmlAttribute(name = "end")
  106. @XmlSchemaType(name = "dateTime")
  107. protected XMLGregorianCalendar end;
  108. @XmlAttribute(name = "acquisitionMode")
  109. protected String acquisitionMode;
  110. /**
  111. * Gets the value of the requiredCoupon property.
  112. *
  113. * <p>
  114. * This accessor method returns a reference to the live list,
  115. * not a snapshot. Therefore any modification you make to the
  116. * returned list will be present inside the JAXB object.
  117. * This is why there is not a <CODE>set</CODE> method for the requiredCoupon property.
  118. *
  119. * <p>
  120. * For example, to add a new item, do as follows:
  121. * <pre>
  122. * getRequiredCoupon().add(newItem);
  123. * </pre>
  124. *
  125. *
  126. * <p>
  127. * Objects of the following type(s) are allowed in the list
  128. * {@link RequiredCouponType }
  129. *
  130. *
  131. */
  132. public List<RequiredCouponType> getRequiredCoupon() {
  133. if (requiredCoupon == null) {
  134. requiredCoupon = new ArrayList<RequiredCouponType>();
  135. }
  136. return this.requiredCoupon;
  137. }
  138. /**
  139. * Gets the value of the nonTVACouponRef property.
  140. *
  141. * @return
  142. * possible object is
  143. * {@link NonTVACouponRefType }
  144. *
  145. */
  146. public NonTVACouponRefType getNonTVACouponRef() {
  147. return nonTVACouponRef;
  148. }
  149. /**
  150. * Sets the value of the nonTVACouponRef property.
  151. *
  152. * @param value
  153. * allowed object is
  154. * {@link NonTVACouponRefType }
  155. *
  156. */
  157. public void setNonTVACouponRef(NonTVACouponRefType value) {
  158. this.nonTVACouponRef = value;
  159. }
  160. /**
  161. * Gets the value of the couponValue property.
  162. *
  163. * @return
  164. * possible object is
  165. * {@link CouponValueType }
  166. *
  167. */
  168. public CouponValueType getCouponValue() {
  169. return couponValue;
  170. }
  171. /**
  172. * Sets the value of the couponValue property.
  173. *
  174. * @param value
  175. * allowed object is
  176. * {@link CouponValueType }
  177. *
  178. */
  179. public void setCouponValue(CouponValueType value) {
  180. this.couponValue = value;
  181. }
  182. /**
  183. * Gets the value of the contentTarget property.
  184. *
  185. * <p>
  186. * This accessor method returns a reference to the live list,
  187. * not a snapshot. Therefore any modification you make to the
  188. * returned list will be present inside the JAXB object.
  189. * This is why there is not a <CODE>set</CODE> method for the contentTarget property.
  190. *
  191. * <p>
  192. * For example, to add a new item, do as follows:
  193. * <pre>
  194. * getContentTarget().add(newItem);
  195. * </pre>
  196. *
  197. *
  198. * <p>
  199. * Objects of the following type(s) are allowed in the list
  200. * {@link ContentTargetType }
  201. *
  202. *
  203. */
  204. public List<ContentTargetType> getContentTarget() {
  205. if (contentTarget == null) {
  206. contentTarget = new ArrayList<ContentTargetType>();
  207. }
  208. return this.contentTarget;
  209. }
  210. /**
  211. * Gets the value of the couponURL property.
  212. *
  213. * @return
  214. * possible object is
  215. * {@link String }
  216. *
  217. */
  218. public String getCouponURL() {
  219. return couponURL;
  220. }
  221. /**
  222. * Sets the value of the couponURL property.
  223. *
  224. * @param value
  225. * allowed object is
  226. * {@link String }
  227. *
  228. */
  229. public void setCouponURL(String value) {
  230. this.couponURL = value;
  231. }
  232. /**
  233. * Gets the value of the couponText property.
  234. *
  235. * <p>
  236. * This accessor method returns a reference to the live list,
  237. * not a snapshot. Therefore any modification you make to the
  238. * returned list will be present inside the JAXB object.
  239. * This is why there is not a <CODE>set</CODE> method for the couponText property.
  240. *
  241. * <p>
  242. * For example, to add a new item, do as follows:
  243. * <pre>
  244. * getCouponText().add(newItem);
  245. * </pre>
  246. *
  247. *
  248. * <p>
  249. * Objects of the following type(s) are allowed in the list
  250. * {@link TextualType }
  251. *
  252. *
  253. */
  254. public List<TextualType> getCouponText() {
  255. if (couponText == null) {
  256. couponText = new ArrayList<TextualType>();
  257. }
  258. return this.couponText;
  259. }
  260. /**
  261. * Gets the value of the userTargetingInformationOrUserTargetingInformationRef property.
  262. *
  263. * <p>
  264. * This accessor method returns a reference to the live list,
  265. * not a snapshot. Therefore any modification you make to the
  266. * returned list will be present inside the JAXB object.
  267. * This is why there is not a <CODE>set</CODE> method for the userTargetingInformationOrUserTargetingInformationRef property.
  268. *
  269. * <p>
  270. * For example, to add a new item, do as follows:
  271. * <pre>
  272. * getUserTargetingInformationOrUserTargetingInformationRef().add(newItem);
  273. * </pre>
  274. *
  275. *
  276. * <p>
  277. * Objects of the following type(s) are allowed in the list
  278. * {@link TargetingInformationType }
  279. * {@link String }
  280. *
  281. *
  282. */
  283. public List<Object> getUserTargetingInformationOrUserTargetingInformationRef() {
  284. if (userTargetingInformationOrUserTargetingInformationRef == null) {
  285. userTargetingInformationOrUserTargetingInformationRef = new ArrayList<Object>();
  286. }
  287. return this.userTargetingInformationOrUserTargetingInformationRef;
  288. }
  289. /**
  290. * Gets the value of the couponId property.
  291. *
  292. * @return
  293. * possible object is
  294. * {@link String }
  295. *
  296. */
  297. public String getCouponId() {
  298. return couponId;
  299. }
  300. /**
  301. * Sets the value of the couponId property.
  302. *
  303. * @param value
  304. * allowed object is
  305. * {@link String }
  306. *
  307. */
  308. public void setCouponId(String value) {
  309. this.couponId = value;
  310. }
  311. /**
  312. * Gets the value of the authorityName property.
  313. *
  314. * @return
  315. * possible object is
  316. * {@link String }
  317. *
  318. */
  319. public String getAuthorityName() {
  320. return authorityName;
  321. }
  322. /**
  323. * Sets the value of the authorityName property.
  324. *
  325. * @param value
  326. * allowed object is
  327. * {@link String }
  328. *
  329. */
  330. public void setAuthorityName(String value) {
  331. this.authorityName = value;
  332. }
  333. /**
  334. * Gets the value of the requiredNumber property.
  335. *
  336. * @return
  337. * possible object is
  338. * {@link BigInteger }
  339. *
  340. */
  341. public BigInteger getRequiredNumber() {
  342. return requiredNumber;
  343. }
  344. /**
  345. * Sets the value of the requiredNumber property.
  346. *
  347. * @param value
  348. * allowed object is
  349. * {@link BigInteger }
  350. *
  351. */
  352. public void setRequiredNumber(BigInteger value) {
  353. this.requiredNumber = value;
  354. }
  355. /**
  356. * Gets the value of the start property.
  357. *
  358. * @return
  359. * possible object is
  360. * {@link XMLGregorianCalendar }
  361. *
  362. */
  363. public XMLGregorianCalendar getStart() {
  364. return start;
  365. }
  366. /**
  367. * Sets the value of the start property.
  368. *
  369. * @param value
  370. * allowed object is
  371. * {@link XMLGregorianCalendar }
  372. *
  373. */
  374. public void setStart(XMLGregorianCalendar value) {
  375. this.start = value;
  376. }
  377. /**
  378. * Gets the value of the end property.
  379. *
  380. * @return
  381. * possible object is
  382. * {@link XMLGregorianCalendar }
  383. *
  384. */
  385. public XMLGregorianCalendar getEnd() {
  386. return end;
  387. }
  388. /**
  389. * Sets the value of the end property.
  390. *
  391. * @param value
  392. * allowed object is
  393. * {@link XMLGregorianCalendar }
  394. *
  395. */
  396. public void setEnd(XMLGregorianCalendar value) {
  397. this.end = value;
  398. }
  399. /**
  400. * Gets the value of the acquisitionMode property.
  401. *
  402. * @return
  403. * possible object is
  404. * {@link String }
  405. *
  406. */
  407. public String getAcquisitionMode() {
  408. return acquisitionMode;
  409. }
  410. /**
  411. * Sets the value of the acquisitionMode property.
  412. *
  413. * @param value
  414. * allowed object is
  415. * {@link String }
  416. *
  417. */
  418. public void setAcquisitionMode(String value) {
  419. this.acquisitionMode = value;
  420. }
  421. }