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

org.xlcloud.service.AccessToken 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 java.io.Serializable;

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.xlcloud.logging.LoggingUtils;


/**
 * 
 * 				
 * 
 * 

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"/>
 *       </sequence>
 *       <attribute name="userId" type="{http://www.w3.org/2001/XMLSchema}long" />
 *       <attribute name="token" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="scope" type="{http://bull.com/xlcloud/vcms}scopeType" />
 *       <attribute name="expiryTime" type="{http://www.w3.org/2001/XMLSchema}long" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "entitlements" }) @XmlRootElement(name = "accessToken") public class AccessToken implements Serializable { /** * TODO Documentation serialVersionUID */ private static final long serialVersionUID = 1L; protected Entitlements entitlements; @XmlAttribute protected Long userId; @XmlAttribute protected String token; @XmlAttribute protected ScopeType scope; @XmlAttribute protected Long expiryTime; /** * 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 userId property. * * @return * possible object is * {@link Long } * */ public Long getUserId() { return userId; } /** * Sets the value of the userId property. * * @param value * allowed object is * {@link Long } * */ public void setUserId(Long value) { this.userId = value; } /** * Gets the value of the token property. * * @return * possible object is * {@link String } * */ public String getToken() { return token; } /** * Sets the value of the token property. * * @param value * allowed object is * {@link String } * */ public void setToken(String value) { this.token = value; } /** * Gets the value of the scope property. * * @return * possible object is * {@link ScopeType } * */ public ScopeType getScope() { return scope; } /** * Sets the value of the scope property. * * @param value * allowed object is * {@link ScopeType } * */ public void setScope(ScopeType value) { this.scope = value; } /** * Gets the value of the expiryTime property. * * @return * possible object is * {@link Long } * */ public Long getExpiryTime() { return expiryTime; } /** * Sets the value of the expiryTime property. * * @param value * allowed object is * {@link Long } * */ public void setExpiryTime(Long value) { this.expiryTime = value; } /** {@inheritDoc} */ @Override public String toString() { return "AccessToken [entitlements=" + entitlements + ", userId=" + userId + ", token=" + LoggingUtils.maskPartially(token) + ", scope=" + scope + ", expiryTime=" + expiryTime + "]"; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy