package com.coverity.ws.v9; 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; /** * <p>Java class for roleDataObj complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="roleDataObj"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="deletable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="editable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="permissionDataObjs" type="{http://ws.coverity.com/v9}permissionDataObj" maxOccurs="unbounded" minOccurs="0"/> * <element name="roleId" type="{http://ws.coverity.com/v9}roleIdDataObj" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "roleDataObj", propOrder = { "deletable", "description", "editable", "permissionDataObjs", "roleId" }) public class RoleDataObj { protected Boolean deletable; protected String description; protected Boolean editable; @XmlElement(nillable = true) protected List<PermissionDataObj> permissionDataObjs; protected RoleIdDataObj roleId; /** * Gets the value of the deletable property. * * @return * possible object is * {@link Boolean } * */ public Boolean isDeletable() { return deletable; } /** * Sets the value of the deletable property. * * @param value * allowed object is * {@link Boolean } * */ public void setDeletable(Boolean value) { this.deletable = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the editable property. * * @return * possible object is * {@link Boolean } * */ public Boolean isEditable() { return editable; } /** * Sets the value of the editable property. * * @param value * allowed object is * {@link Boolean } * */ public void setEditable(Boolean value) { this.editable = value; } /** * Gets the value of the permissionDataObjs property. * * <p> * 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 <CODE>set</CODE> method for the permissionDataObjs property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPermissionDataObjs().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link PermissionDataObj } * * */ public List<PermissionDataObj> getPermissionDataObjs() { if (permissionDataObjs == null) { permissionDataObjs = new ArrayList<PermissionDataObj>(); } return this.permissionDataObjs; } /** * Gets the value of the roleId property. * * @return * possible object is * {@link RoleIdDataObj } * */ public RoleIdDataObj getRoleId() { return roleId; } /** * Sets the value of the roleId property. * * @param value * allowed object is * {@link RoleIdDataObj } * */ public void setRoleId(RoleIdDataObj value) { this.roleId = value; } }