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

com.cloudseal.rest.jaxb.CloudsealUser Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2012.10.07 at 03:16:01 PM BST 
//


package com.cloudseal.rest.jaxb;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.*;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for user complex type. * *

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

 * <complexType name="user">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="username" type="{http://www.cloudseal.com/schema/rest}id" minOccurs="0"/>
 *         <element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="first_name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="middle_initial" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="last_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="company" 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="job_title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="phone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="post_code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="sex" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="account_suspended" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="account_locked" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="last_login" type="{http://www.w3.org/2001/XMLSchema}dateTime" 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.cloudseal.com/schema/rest}id" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="applications" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="application" type="{http://www.cloudseal.com/schema/rest}application" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "user", propOrder = { "username", "password", "firstName", "middleInitial", "lastName", "email", "company", "department", "jobTitle", "phone", "country", "language", "timezone", "postCode", "sex", "address", "accountSuspended", "accountLocked", "lastLogin", "groups", "applications" }) @XmlRootElement(name = "user") public class CloudsealUser implements Serializable { private final static long serialVersionUID = 1L; protected String username; protected String password; @XmlElement(name = "first_name") protected String firstName; @XmlElement(name = "middle_initial") protected String middleInitial; @XmlElement(name = "last_name") protected String lastName; protected String email; protected String company; protected String department; @XmlElement(name = "job_title") protected String jobTitle; protected String phone; protected String country; protected String language; protected String timezone; @XmlElement(name = "post_code") protected String postCode; protected String sex; protected String address; @XmlElement(name = "account_suspended") protected Boolean accountSuspended; @XmlElement(name = "account_locked") protected Boolean accountLocked; @XmlElement(name = "last_login") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar lastLogin; @XmlElementWrapper(name = "groups") @XmlElement(name = "group") protected List groups; @XmlElementWrapper(name = "applications") @XmlElement(name = "application") protected List applications; /** * 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; } /** * Gets the value of the password property. * * @return * possible object is * {@link String } * */ public String getPassword() { return password; } /** * Sets the value of the password property. * * @param value * allowed object is * {@link String } * */ public void setPassword(String value) { this.password = value; } /** * Gets the value of the firstName property. * * @return * possible object is * {@link String } * */ public String getFirstName() { return firstName; } /** * Sets the value of the firstName property. * * @param value * allowed object is * {@link String } * */ public void setFirstName(String value) { this.firstName = value; } /** * Gets the value of the middleInitial property. * * @return * possible object is * {@link String } * */ public String getMiddleInitial() { return middleInitial; } /** * Sets the value of the middleInitial property. * * @param value * allowed object is * {@link String } * */ public void setMiddleInitial(String value) { this.middleInitial = value; } /** * 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; } /** * 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; } /** * Gets the value of the company property. * * @return * possible object is * {@link String } * */ public String getCompany() { return company; } /** * Sets the value of the company property. * * @param value * allowed object is * {@link String } * */ public void setCompany(String value) { this.company = value; } /** * 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; } /** * Gets the value of the jobTitle property. * * @return * possible object is * {@link String } * */ public String getJobTitle() { return jobTitle; } /** * Sets the value of the jobTitle property. * * @param value * allowed object is * {@link String } * */ public void setJobTitle(String value) { this.jobTitle = value; } /** * Gets the value of the phone property. * * @return * possible object is * {@link String } * */ public String getPhone() { return phone; } /** * Sets the value of the phone property. * * @param value * allowed object is * {@link String } * */ public void setPhone(String value) { this.phone = value; } /** * Gets the value of the country property. * * @return * possible object is * {@link String } * */ public String getCountry() { return country; } /** * Sets the value of the country property. * * @param value * allowed object is * {@link String } * */ public void setCountry(String value) { this.country = value; } /** * Gets the value of the language property. * * @return * possible object is * {@link String } * */ public String getLanguage() { return language; } /** * Sets the value of the language property. * * @param value * allowed object is * {@link String } * */ public void setLanguage(String value) { this.language = value; } /** * Gets the value of the timezone property. * * @return * possible object is * {@link String } * */ public String getTimezone() { return timezone; } /** * Sets the value of the timezone property. * * @param value * allowed object is * {@link String } * */ public void setTimezone(String value) { this.timezone = value; } /** * Gets the value of the postCode property. * * @return * possible object is * {@link String } * */ public String getPostCode() { return postCode; } /** * Sets the value of the postCode property. * * @param value * allowed object is * {@link String } * */ public void setPostCode(String value) { this.postCode = value; } /** * Gets the value of the sex property. * * @return * possible object is * {@link String } * */ public String getSex() { return sex; } /** * Sets the value of the sex property. * * @param value * allowed object is * {@link String } * */ public void setSex(String value) { this.sex = value; } /** * Gets the value of the address property. * * @return * possible object is * {@link String } * */ public String getAddress() { return address; } /** * Sets the value of the address property. * * @param value * allowed object is * {@link String } * */ public void setAddress(String value) { this.address = value; } /** * Gets the value of the accountSuspended property. * * @return * possible object is * {@link Boolean } * */ public Boolean getAccountSuspended() { return accountSuspended; } /** * Sets the value of the accountSuspended property. * * @param value * allowed object is * {@link Boolean } * */ public void setAccountSuspended(Boolean value) { this.accountSuspended = value; } /** * Gets the value of the accountLocked property. * * @return * possible object is * {@link Boolean } * */ public Boolean getAccountLocked() { return accountLocked; } /** * Sets the value of the accountLocked property. * * @param value * allowed object is * {@link Boolean } * */ public void setAccountLocked(Boolean value) { this.accountLocked = value; } /** * Gets the value of the lastLogin property. * * @return * possible object is * {@link javax.xml.datatype.XMLGregorianCalendar } * */ public XMLGregorianCalendar getLastLogin() { return lastLogin; } /** * Sets the value of the lastLogin property. * * @param value * allowed object is * {@link javax.xml.datatype.XMLGregorianCalendar } * */ public void setLastLogin(XMLGregorianCalendar value) { this.lastLogin = value; } public List getGroups() { if (groups == null) { groups = new ArrayList(); } return groups; } public void setGroups(List groups) { this.groups = groups; } public List getApplications() { if (applications == null) { applications = new ArrayList(); } return applications; } public void setApplications(List applications) { this.applications = applications; } /** *

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="application" type="{http://www.cloudseal.com/schema/rest}application" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "applications" }) public static class Applications implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "application") protected List applications; /** * Gets the value of the applications 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 applications property. * *

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

         *    getApplications().add(newItem);
         * 
* * *

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

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.cloudseal.com/schema/rest}id" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "groups" }) public static class Groups implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "group") 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; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy