com.gliffy.api.client.jaxb
Class User

java.lang.Object
  extended by com.gliffy.api.client.jaxb.User

public class User
extends java.lang.Object

A user known to Gliffy.

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.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="is-admin" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String email
           
protected  long id
           
protected  java.lang.Boolean isAdmin
           
protected  java.lang.String username
           
 
Constructor Summary
User()
           
 
Method Summary
 java.lang.String getEmail()
          Gets the value of the email property.
 long getId()
          Gets the value of the id property.
 java.lang.String getUsername()
          Gets the value of the username property.
 java.lang.Boolean isIsAdmin()
          Gets the value of the isAdmin property.
 void setEmail(java.lang.String value)
          Sets the value of the email property.
 void setId(long value)
          Sets the value of the id property.
 void setIsAdmin(java.lang.Boolean value)
          Sets the value of the isAdmin property.
 void setUsername(java.lang.String value)
          Sets the value of the username property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

username

protected java.lang.String username

email

protected java.lang.String email

id

protected long id

isAdmin

protected java.lang.Boolean isAdmin
Constructor Detail

User

public User()
Method Detail

getUsername

public java.lang.String getUsername()
Gets the value of the username property.

Returns:
possible object is String

setUsername

public void setUsername(java.lang.String value)
Sets the value of the username property.

Parameters:
value - allowed object is String

getEmail

public java.lang.String getEmail()
Gets the value of the email property.

Returns:
possible object is String

setEmail

public void setEmail(java.lang.String value)
Sets the value of the email property.

Parameters:
value - allowed object is String

getId

public long getId()
Gets the value of the id property.


setId

public void setId(long value)
Sets the value of the id property.


isIsAdmin

public java.lang.Boolean isIsAdmin()
Gets the value of the isAdmin property.

Returns:
possible object is Boolean

setIsAdmin

public void setIsAdmin(java.lang.Boolean value)
Sets the value of the isAdmin property.

Parameters:
value - allowed object is Boolean