package com.cordys.entity.bean; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Role" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="dn" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="detail" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "role" }) @XmlRootElement(name = "GetTasksForRoles", namespace = "http://schemas.cordys.com/task/1.0/runtime/") public class GetTasksForRoles { @XmlElement(name = "Role", namespace = "http://schemas.cordys.com/task/1.0/runtime/") protected List role; /** * Gets the value of the role property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the role property. * *

* For example, to add a new item, do as follows: *

     *    getRole().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link GetTasksForRoles.Role } * * */ public List getRole() { if (role == null) { role = new ArrayList(); } return this.role; } public void setRole(List role) { if(this.role==null)this.role=new ArrayList(); this.role.addAll(role); } public void setRole(GetTasksForRoles.Role role) { if(this.role==null)this.role=new ArrayList(); this.role.add(role); } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <attribute name="dn" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="detail" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Role { @XmlAttribute(name = "dn", required = true) protected String dn; @XmlAttribute(name = "detail") protected String detail; /** * Gets the value of the dn property. * * @return * possible object is * {@link String } * */ public String getDn() { return dn; } /** * Sets the value of the dn property. * * @param value * allowed object is * {@link String } * */ public void setDn(String value) { this.dn = value; } /** * Gets the value of the detail property. * * @return * possible object is * {@link String } * */ public String getDetail() { return detail; } /** * Sets the value of the detail property. * * @param value * allowed object is * {@link String } * */ public void setDetail(String value) { this.detail = value; } } }