Advice.java revision 73308f54e60e4cdb893e8b02955497e8f45b5893
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * Copyright (c) 2011-2013 ForgeRock AS. All Rights Reserved
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * The contents of this file are subject to the terms
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * of the Common Development and Distribution License
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * (the License). You may not use this file except in
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * compliance with the License.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * You can obtain a copy of the License at
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * See the License for the specific language governing
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * permission and limitations under the License.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * When distributing Covered Code, include this CDDL
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * Header Notice in each file and include the License file
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * at http://forgerock.org/license/CDDLv1.0.html
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * If applicable, add the following below the CDDL Header,
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * with the fields enclosed by brackets [] replaced by
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * your own identifying information:
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * "Portions Copyrighted [year] [name of copyright owner]"
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper// Any modifications to this file will be lost upon recompilation of the source schema.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster// Generated on: 2013.01.21 at 10:40:04 AM PST
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterpackage com.sun.identity.entitlement.xacml3.core;
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterimport javax.xml.bind.annotation.XmlAccessorType;
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * <p>Java class for AdviceType complex type.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * <p>The following schema fragment specifies the expected content contained within this class.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * <complexType name="AdviceType">
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * <complexContent>
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * <sequence>
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AttributeAssignment" maxOccurs="unbounded" minOccurs="0"/>
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * </sequence>
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * <attribute name="AdviceId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * </restriction>
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * </complexContent>
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * </complexType>
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster "attributeAssignment"
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Fosterpublic class Advice implements XACMLRootElement {
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster protected List<AttributeAssignment> attributeAssignment;
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster @XmlAttribute(name = "AdviceId", required = true)
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * Gets the value of the attributeAssignment property.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * This accessor method returns a reference to the live list,
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * not a snapshot. Therefore any modification you make to the
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * returned list will be present inside the JAXB object.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * This is why there is not a <CODE>set</CODE> method for the attributeAssignment property.
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * For example, to add a new item, do as follows:
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper * getAttributeAssignment().add(newItem);
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * Objects of the following type(s) are allowed in the list
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster * {@link AttributeAssignment }
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster public List<AttributeAssignment> getAttributeAssignment() {
4a2f0f0be43dfd4c1b490cbf3cc48b6ba6084b1cAllan Foster attributeAssignment = new ArrayList<AttributeAssignment>();
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper * Gets the value of the adviceId property.
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper * possible object is
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper * {@link String }
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper * Sets the value of the adviceId property.
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper * @param value
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper * allowed object is
c067200d753b3e9fba1a4a217a35b6c5aaaebbfaMark de Reeper * {@link String }