com.gliffy.api.client.jaxb
Class TestAccount

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

public class TestAccount
extends java.lang.Object

An account is the payment unit of Gliffy that aggregates all other data.

Java class for testAccount complex type.

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

 <complexType name="testAccount">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="expiration-date" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="users" type="{http://www.gliffy.com}users" minOccurs="0"/>
         <element name="oauth-consumer-key" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="oauth-consumer-secret" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="terms" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="account-type" use="required" type="{http://www.gliffy.com}account-type" />
       <attribute name="max-users" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AccountType accountType
           
protected  long expirationDate
           
protected  long id
           
protected  java.lang.Integer maxUsers
           
protected  java.lang.String name
           
protected  java.lang.String oauthConsumerKey
           
protected  java.lang.String oauthConsumerSecret
           
protected  boolean terms
           
protected  Users users
           
 
Constructor Summary
TestAccount()
           
 
Method Summary
 AccountType getAccountType()
          Gets the value of the accountType property.
 long getExpirationDate()
          Gets the value of the expirationDate property.
 long getId()
          Gets the value of the id property.
 java.lang.Integer getMaxUsers()
          Gets the value of the maxUsers property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getOauthConsumerKey()
          Gets the value of the oauthConsumerKey property.
 java.lang.String getOauthConsumerSecret()
          Gets the value of the oauthConsumerSecret property.
 Users getUsers()
          Gets the value of the users property.
 boolean isTerms()
          Gets the value of the terms property.
 void setAccountType(AccountType value)
          Sets the value of the accountType property.
 void setExpirationDate(long value)
          Sets the value of the expirationDate property.
 void setId(long value)
          Sets the value of the id property.
 void setMaxUsers(java.lang.Integer value)
          Sets the value of the maxUsers property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setOauthConsumerKey(java.lang.String value)
          Sets the value of the oauthConsumerKey property.
 void setOauthConsumerSecret(java.lang.String value)
          Sets the value of the oauthConsumerSecret property.
 void setTerms(boolean value)
          Sets the value of the terms property.
 void setUsers(Users value)
          Sets the value of the users property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

expirationDate

protected long expirationDate

users

protected Users users

oauthConsumerKey

protected java.lang.String oauthConsumerKey

oauthConsumerSecret

protected java.lang.String oauthConsumerSecret

id

protected long id

terms

protected boolean terms

accountType

protected AccountType accountType

maxUsers

protected java.lang.Integer maxUsers
Constructor Detail

TestAccount

public TestAccount()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getExpirationDate

public long getExpirationDate()
Gets the value of the expirationDate property.


setExpirationDate

public void setExpirationDate(long value)
Sets the value of the expirationDate property.


getUsers

public Users getUsers()
Gets the value of the users property.

Returns:
possible object is Users

setUsers

public void setUsers(Users value)
Sets the value of the users property.

Parameters:
value - allowed object is Users

getOauthConsumerKey

public java.lang.String getOauthConsumerKey()
Gets the value of the oauthConsumerKey property.

Returns:
possible object is String

setOauthConsumerKey

public void setOauthConsumerKey(java.lang.String value)
Sets the value of the oauthConsumerKey property.

Parameters:
value - allowed object is String

getOauthConsumerSecret

public java.lang.String getOauthConsumerSecret()
Gets the value of the oauthConsumerSecret property.

Returns:
possible object is String

setOauthConsumerSecret

public void setOauthConsumerSecret(java.lang.String value)
Sets the value of the oauthConsumerSecret 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.


isTerms

public boolean isTerms()
Gets the value of the terms property.


setTerms

public void setTerms(boolean value)
Sets the value of the terms property.


getAccountType

public AccountType getAccountType()
Gets the value of the accountType property.

Returns:
possible object is AccountType

setAccountType

public void setAccountType(AccountType value)
Sets the value of the accountType property.

Parameters:
value - allowed object is AccountType

getMaxUsers

public java.lang.Integer getMaxUsers()
Gets the value of the maxUsers property.

Returns:
possible object is Integer

setMaxUsers

public void setMaxUsers(java.lang.Integer value)
Sets the value of the maxUsers property.

Parameters:
value - allowed object is Integer