All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gs4tr.projectdirector.model.dto.xsd.Role Maven / Gradle / Ivy

Go to download

The newest version!

package org.gs4tr.projectdirector.model.dto.xsd;

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.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for Role complex type. * *

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

 * <complexType name="Role">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="policies" type="{http://dto.model.projectdirector.gs4tr.org/xsd}Policy" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="roleId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="roleType" type="{http://dto.model.projectdirector.gs4tr.org/xsd}RoleTypeEnum"/>
 *         <element name="tasks" type="{http://dto.model.projectdirector.gs4tr.org/xsd}Task" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="ticket" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Role", propOrder = { "policies", "roleId", "roleType", "tasks", "ticket" }) public class Role { @XmlElement(nillable = true) protected List policies; @XmlElement(required = true, nillable = true) protected String roleId; @XmlElement(required = true, nillable = true) protected RoleTypeEnum roleType; @XmlElement(nillable = true) protected List tasks; @XmlElement(required = true, nillable = true) protected String ticket; /** * Gets the value of the policies 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 policies property. * *

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

     *    getPolicies().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Policy } * * */ public List getPolicies() { if (policies == null) { policies = new ArrayList(); } return this.policies; } /** * Gets the value of the roleId property. * * @return * possible object is * {@link String } * */ public String getRoleId() { return roleId; } /** * Sets the value of the roleId property. * * @param value * allowed object is * {@link String } * */ public void setRoleId(String value) { this.roleId = value; } /** * Gets the value of the roleType property. * * @return * possible object is * {@link RoleTypeEnum } * */ public RoleTypeEnum getRoleType() { return roleType; } /** * Sets the value of the roleType property. * * @param value * allowed object is * {@link RoleTypeEnum } * */ public void setRoleType(RoleTypeEnum value) { this.roleType = value; } /** * Gets the value of the tasks 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 tasks property. * *

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

     *    getTasks().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Task } * * */ public List getTasks() { if (tasks == null) { tasks = new ArrayList(); } return this.tasks; } /** * Gets the value of the ticket property. * * @return * possible object is * {@link String } * */ public String getTicket() { return ticket; } /** * Sets the value of the ticket property. * * @param value * allowed object is * {@link String } * */ public void setTicket(String value) { this.ticket = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy