
org.xlcloud.service.User Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2012 AMG.lab, a Bull Group Company
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// 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: 2012.10.12 at 12:10:10 PM CEST
//
package org.xlcloud.service;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
*
*
*
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://bull.com/xlcloud/vcms}Referenceable">
* <sequence>
* <element ref="{http://bull.com/xlcloud/vcms}entitlements" minOccurs="0"/>
* <element ref="{http://bull.com/xlcloud/vcms}accessTokens" minOccurs="0"/>
* </sequence>
* <attribute name="username" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="accountId" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"entitlements",
"accessTokens"
})
@XmlRootElement(name = "user")
public class User extends Referenceable {
/**
* TODO Documentation serialVersionUID
*/
private static final long serialVersionUID = 4766640183051856028L;
private static final String RESOURCE_PREFIX = "users";
protected Entitlements entitlements;
protected AccessTokens accessTokens;
@XmlAttribute
protected String username;
@XmlAttribute
protected String password;
@XmlAttribute
protected Long accountId;
@XmlAttribute
protected String osUserId;
/**
* Gets the value of the entitlements property.
*
* @return
* possible object is
* {@link Entitlements }
*
*/
public Entitlements getEntitlements() {
return entitlements;
}
/**
* Sets the value of the entitlements property.
*
* @param value
* allowed object is
* {@link Entitlements }
*
*/
public void setEntitlements(Entitlements value) {
this.entitlements = value;
}
/**
* Gets the value of the accessTokens property.
*
* @return
* possible object is
* {@link AccessTokens }
*
*/
public AccessTokens getAccessTokens() {
return accessTokens;
}
/**
* Sets the value of the accessTokens property.
*
* @param value
* allowed object is
* {@link AccessTokens }
*
*/
public void setAccessTokens(AccessTokens value) {
this.accessTokens = value;
}
/**
* 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 accountId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getAccountId() {
return accountId;
}
/**
* Sets the value of the accountId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAccountId(Long value) {
this.accountId = value;
}
/**
* Gets the value of {@link #osUserId}.
* @return value of {@link #osUserId}
*/
public String getOsUserId() {
return osUserId;
}
/**
* Sets the value of {@link #osUserId}.
* @param osUserId - value
*/
public void setUserId(String osUserId) {
this.osUserId = osUserId;
}
/** {@inheritDoc} */
@Override
protected String getResourcePrefix() {
return RESOURCE_PREFIX;
}
/** {@inheritDoc} */
@Override
public String toString() {
return new ToStringBuilder(this).append("id", id).append("name", username).append("accountId", accountId).toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy