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

com.redhat.rhevm.api.model.User Maven / Gradle / Ivy

There is a newer version: 1.0-rc1.21
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2010.09.27 at 07:29:49 PM IST 
//


package com.redhat.rhevm.api.model;

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

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

 * <complexType name="User">
 *   <complexContent>
 *     <extension base="{}BaseResource">
 *       <sequence>
 *         <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="department" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="logged_in" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="last_name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="user_name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="roles" type="{}Roles" minOccurs="0"/>
 *         <element name="groups" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "User", propOrder = { "domain", "department", "loggedIn", "lastName", "userName", "email", "roles", "groups" }) public class User extends BaseResource { protected String domain; protected String department; @XmlElement(name = "logged_in") protected Boolean loggedIn; @XmlElement(name = "last_name") protected String lastName; @XmlElement(name = "user_name") protected String userName; protected String email; protected Roles roles; protected User.Groups groups; /** * Gets the value of the domain property. * * @return * possible object is * {@link String } * */ public String getDomain() { return domain; } /** * Sets the value of the domain property. * * @param value * allowed object is * {@link String } * */ public void setDomain(String value) { this.domain = value; } public boolean isSetDomain() { return (this.domain!= null); } /** * Gets the value of the department property. * * @return * possible object is * {@link String } * */ public String getDepartment() { return department; } /** * Sets the value of the department property. * * @param value * allowed object is * {@link String } * */ public void setDepartment(String value) { this.department = value; } public boolean isSetDepartment() { return (this.department!= null); } /** * Gets the value of the loggedIn property. * * @return * possible object is * {@link Boolean } * */ public Boolean isLoggedIn() { return loggedIn; } /** * Sets the value of the loggedIn property. * * @param value * allowed object is * {@link Boolean } * */ public void setLoggedIn(Boolean value) { this.loggedIn = value; } public boolean isSetLoggedIn() { return (this.loggedIn!= null); } /** * Gets the value of the lastName property. * * @return * possible object is * {@link String } * */ public String getLastName() { return lastName; } /** * Sets the value of the lastName property. * * @param value * allowed object is * {@link String } * */ public void setLastName(String value) { this.lastName = value; } public boolean isSetLastName() { return (this.lastName!= null); } /** * Gets the value of the userName property. * * @return * possible object is * {@link String } * */ public String getUserName() { return userName; } /** * Sets the value of the userName property. * * @param value * allowed object is * {@link String } * */ public void setUserName(String value) { this.userName = value; } public boolean isSetUserName() { return (this.userName!= null); } /** * Gets the value of the email property. * * @return * possible object is * {@link String } * */ public String getEmail() { return email; } /** * Sets the value of the email property. * * @param value * allowed object is * {@link String } * */ public void setEmail(String value) { this.email = value; } public boolean isSetEmail() { return (this.email!= null); } /** * Gets the value of the roles property. * * @return * possible object is * {@link Roles } * */ public Roles getRoles() { return roles; } /** * Sets the value of the roles property. * * @param value * allowed object is * {@link Roles } * */ public void setRoles(Roles value) { this.roles = value; } public boolean isSetRoles() { return (this.roles!= null); } /** * Gets the value of the groups property. * * @return * possible object is * {@link User.Groups } * */ public User.Groups getGroups() { return groups; } /** * Sets the value of the groups property. * * @param value * allowed object is * {@link User.Groups } * */ public void setGroups(User.Groups value) { this.groups = value; } public boolean isSetGroups() { return (this.groups!= null); } /** *

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="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "groups" }) public static class Groups { @XmlElement(name = "group", required = true) protected List groups; /** * Gets the value of the groups 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 groups property. * *

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

         *    getGroups().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getGroups() { if (groups == null) { groups = new ArrayList(); } return this.groups; } public boolean isSetGroups() { return ((this.groups!= null)&&(!this.groups.isEmpty())); } public void unsetGroups() { this.groups = null; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy