PageRenderTime 40ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/java/xades4j/xml/bind/xades/XmlCertificateValuesType.java

http://xades4j.googlecode.com/
Java | 117 lines | 41 code | 10 blank | 66 comment | 2 complexity | 232bf2d3953315aac0a6e5eeb1aa09bc MD5 | raw file
Possible License(s): GPL-3.0, LGPL-3.0
  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: 2010.04.09 at 09:56:29 PM BST
  6. //
  7. package xades4j.xml.bind.xades;
  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.XmlID;
  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. /**
  21. * <p>Java class for CertificateValuesType complex type.
  22. *
  23. * <p>The following schema fragment specifies the expected content contained within this class.
  24. *
  25. * <pre>
  26. * &lt;complexType name="CertificateValuesType">
  27. * &lt;complexContent>
  28. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  29. * &lt;choice maxOccurs="unbounded" minOccurs="0">
  30. * &lt;element name="EncapsulatedX509Certificate" type="{http://uri.etsi.org/01903/v1.3.2#}EncapsulatedPKIDataType"/>
  31. * &lt;element name="OtherCertificate" type="{http://uri.etsi.org/01903/v1.3.2#}AnyType"/>
  32. * &lt;/choice>
  33. * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
  34. * &lt;/restriction>
  35. * &lt;/complexContent>
  36. * &lt;/complexType>
  37. * </pre>
  38. *
  39. *
  40. */
  41. @XmlAccessorType(XmlAccessType.FIELD)
  42. @XmlType(name = "CertificateValuesType", propOrder = {
  43. "encapsulatedX509CertificateOrOtherCertificate"
  44. })
  45. public class XmlCertificateValuesType {
  46. @XmlElements({
  47. @XmlElement(name = "OtherCertificate", type = XmlAnyType.class),
  48. @XmlElement(name = "EncapsulatedX509Certificate", type = XmlEncapsulatedPKIDataType.class)
  49. })
  50. protected List<Object> encapsulatedX509CertificateOrOtherCertificate;
  51. @XmlAttribute(name = "Id")
  52. @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
  53. @XmlID
  54. @XmlSchemaType(name = "ID")
  55. protected String id;
  56. /**
  57. * Gets the value of the encapsulatedX509CertificateOrOtherCertificate property.
  58. *
  59. * <p>
  60. * This accessor method returns a reference to the live list,
  61. * not a snapshot. Therefore any modification you make to the
  62. * returned list will be present inside the JAXB object.
  63. * This is why there is not a <CODE>set</CODE> method for the encapsulatedX509CertificateOrOtherCertificate property.
  64. *
  65. * <p>
  66. * For example, to add a new item, do as follows:
  67. * <pre>
  68. * getEncapsulatedX509CertificateOrOtherCertificate().add(newItem);
  69. * </pre>
  70. *
  71. *
  72. * <p>
  73. * Objects of the following type(s) are allowed in the list
  74. * {@link XmlAnyType }
  75. * {@link XmlEncapsulatedPKIDataType }
  76. *
  77. *
  78. */
  79. public List<Object> getEncapsulatedX509CertificateOrOtherCertificate() {
  80. if (encapsulatedX509CertificateOrOtherCertificate == null) {
  81. encapsulatedX509CertificateOrOtherCertificate = new ArrayList<Object>();
  82. }
  83. return this.encapsulatedX509CertificateOrOtherCertificate;
  84. }
  85. /**
  86. * Gets the value of the id property.
  87. *
  88. * @return
  89. * possible object is
  90. * {@link String }
  91. *
  92. */
  93. public String getId() {
  94. return id;
  95. }
  96. /**
  97. * Sets the value of the id property.
  98. *
  99. * @param value
  100. * allowed object is
  101. * {@link String }
  102. *
  103. */
  104. public void setId(String value) {
  105. this.id = value;
  106. }
  107. }