001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022:
023: //
024: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b24-ea3
025: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
026: // Any modifications to this file will be lost upon recompilation of the source schema.
027: // Generated on: 2006.02.03 at 04:10:33 PM IST
028: //
029:
030: package com.sun.xml.security.core.xenc;
031:
032: import java.util.ArrayList;
033: import java.util.List;
034: import javax.xml.bind.annotation.XmlAccessType;
035: import javax.xml.bind.annotation.XmlAccessorType;
036: import javax.xml.bind.annotation.XmlAttribute;
037: import javax.xml.bind.annotation.XmlElement;
038: import javax.xml.bind.annotation.XmlID;
039: import javax.xml.bind.annotation.XmlType;
040: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
041: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
042:
043: /**
044: * <p>Java class for EncryptionPropertiesType complex type.
045: *
046: * <p>The following schema fragment specifies the expected content contained within this class.
047: *
048: * <pre>
049: * <complexType name="EncryptionPropertiesType">
050: * <complexContent>
051: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
052: * <sequence>
053: * <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptionProperty" maxOccurs="unbounded"/>
054: * </sequence>
055: * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
056: * </restriction>
057: * </complexContent>
058: * </complexType>
059: * </pre>
060: *
061: *
062: */
063: @XmlAccessorType(XmlAccessType.FIELD)
064: @XmlType(name="EncryptionPropertiesType",propOrder={"encryptionProperty"})
065: public class EncryptionPropertiesType {
066:
067: @XmlElement(name="EncryptionProperty",namespace="http://www.w3.org/2001/04/xmlenc#")
068: protected List<EncryptionPropertyType> encryptionProperty;
069: @XmlAttribute(name="Id")
070: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
071: @XmlID
072: protected String id;
073:
074: /**
075: * Gets the value of the encryptionProperty property.
076: *
077: * <p>
078: * This accessor method returns a reference to the live list,
079: * not a snapshot. Therefore any modification you make to the
080: * returned list will be present inside the JAXB object.
081: * This is why there is not a <CODE>set</CODE> method for the encryptionProperty property.
082: *
083: * <p>
084: * For example, to add a new item, do as follows:
085: * <pre>
086: * getEncryptionProperty().add(newItem);
087: * </pre>
088: *
089: *
090: * <p>
091: * Objects of the following type(s) are allowed in the list
092: * {@link EncryptionPropertyType }
093: *
094: *
095: */
096: public List<EncryptionPropertyType> getEncryptionProperty() {
097: if (encryptionProperty == null) {
098: encryptionProperty = new ArrayList<EncryptionPropertyType>();
099: }
100: return this .encryptionProperty;
101: }
102:
103: public void setEncryptionProperty(
104: List<EncryptionPropertyType> encryptionProperty) {
105: this .encryptionProperty = encryptionProperty;
106: }
107:
108: /**
109: * Gets the value of the id property.
110: *
111: * @return
112: * possible object is
113: * {@link String }
114: *
115: */
116: public String getId() {
117: return id;
118: }
119:
120: /**
121: * Sets the value of the id property.
122: *
123: * @param value
124: * allowed object is
125: * {@link String }
126: *
127: */
128: public void setId(String value) {
129: this.id = value;
130: }
131:
132: }
|