001: package org.w3._2000._09.xmldsig_;
002:
003: import java.util.ArrayList;
004: import java.util.List;
005: import javax.xml.bind.annotation.XmlAccessType;
006: import javax.xml.bind.annotation.XmlAccessorType;
007: import javax.xml.bind.annotation.XmlAttribute;
008: import javax.xml.bind.annotation.XmlElement;
009: import javax.xml.bind.annotation.XmlID;
010: import javax.xml.bind.annotation.XmlSchemaType;
011: import javax.xml.bind.annotation.XmlType;
012: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
013: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
014:
015: /**
016: * <p>Java class for SignaturePropertiesType complex type.
017: *
018: * <p>The following schema fragment specifies the expected content contained within this class.
019: *
020: * <pre>
021: * <complexType name="SignaturePropertiesType">
022: * <complexContent>
023: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
024: * <sequence>
025: * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureProperty" maxOccurs="unbounded"/>
026: * </sequence>
027: * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
028: * </restriction>
029: * </complexContent>
030: * </complexType>
031: * </pre>
032: *
033: *
034: */
035: @XmlAccessorType(XmlAccessType.FIELD)
036: @XmlType(name="SignaturePropertiesType",propOrder={"signatureProperty"})
037: public class SignaturePropertiesType {
038:
039: @XmlElement(name="SignatureProperty",required=true)
040: protected List<SignaturePropertyType> signatureProperty;
041: @XmlAttribute(name="Id")
042: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
043: @XmlID
044: @XmlSchemaType(name="ID")
045: protected String id;
046:
047: /**
048: * Gets the value of the signatureProperty property.
049: *
050: * <p>
051: * This accessor method returns a reference to the live list,
052: * not a snapshot. Therefore any modification you make to the
053: * returned list will be present inside the JAXB object.
054: * This is why there is not a <CODE>set</CODE> method for the signatureProperty property.
055: *
056: * <p>
057: * For example, to add a new item, do as follows:
058: * <pre>
059: * getSignatureProperty().add(newItem);
060: * </pre>
061: *
062: *
063: * <p>
064: * Objects of the following type(s) are allowed in the list
065: * {@link SignaturePropertyType }
066: *
067: *
068: */
069: public List<SignaturePropertyType> getSignatureProperty() {
070: if (signatureProperty == null) {
071: signatureProperty = new ArrayList<SignaturePropertyType>();
072: }
073: return this .signatureProperty;
074: }
075:
076: /**
077: * Gets the value of the id property.
078: *
079: * @return
080: * possible object is
081: * {@link String }
082: *
083: */
084: public String getId() {
085: return id;
086: }
087:
088: /**
089: * Sets the value of the id property.
090: *
091: * @param value
092: * allowed object is
093: * {@link String }
094: *
095: */
096: public void setId(String value) {
097: this.id = value;
098: }
099:
100: }
|