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

com.vmware.vim25.AuthorizationRole Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

package com.vmware.vim25;

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 AuthorizationRole complex type. * *

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

 * <complexType name="AuthorizationRole">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="roleId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="system" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="info" type="{urn:vim25}Description"/>
 *         <element name="privilege" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AuthorizationRole", propOrder = { "roleId", "system", "name", "info", "privilege" }) public class AuthorizationRole extends DynamicData { protected int roleId; protected boolean system; @XmlElement(required = true) protected String name; @XmlElement(required = true) protected Description info; protected List privilege; /** * Gets the value of the roleId property. * */ public int getRoleId() { return roleId; } /** * Sets the value of the roleId property. * */ public void setRoleId(int value) { this.roleId = value; } /** * Gets the value of the system property. * */ public boolean isSystem() { return system; } /** * Sets the value of the system property. * */ public void setSystem(boolean value) { this.system = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the info property. * * @return * possible object is * {@link Description } * */ public Description getInfo() { return info; } /** * Sets the value of the info property. * * @param value * allowed object is * {@link Description } * */ public void setInfo(Description value) { this.info = value; } /** * Gets the value of the privilege 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 privilege property. * *

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

     *    getPrivilege().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getPrivilege() { if (privilege == null) { privilege = new ArrayList(); } return this.privilege; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy