com.cloudcontrolled.api.model
Class User

java.lang.Object
  extended by com.cloudcontrolled.api.model.AbstractModel
      extended by com.cloudcontrolled.api.model.User

public class User
extends AbstractModel

The user object contains informations about requested users. For example users which have access to your application / deployment or user accounts you own.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
User()
           Constructor for User.
 
Method Summary
 String getEmail()
           Getter for the field email.
 String getFirstName()
           getFirstName.
 String getLastName()
           getLastName.
 String getUsername()
           Getter for the field username.
 boolean isActive()
           isActive.
 void setActive(boolean is_active)
           setActive.
 void setEmail(String email)
           Setter for the field email.
 void setFirstName(String first_name)
           setFirstName.
 void setLastName(String last_name)
           setLastName.
 void setUsername(String username)
           Setter for the field username.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()

Constructor for User.

Method Detail

getFirstName

public String getFirstName()

getFirstName.

Returns:
preName the prename of the concerning user

setFirstName

public void setFirstName(String first_name)

setFirstName.

Parameters:
first_name - the prename to set

getUsername

public String getUsername()

Getter for the field username.

Returns:
username the username of the concerning user

setUsername

public void setUsername(String username)

Setter for the field username.

Parameters:
username - the username to set

isActive

public boolean isActive()

isActive.

Returns:
active the boolean value which specifies whether the user is active

setActive

public void setActive(boolean is_active)

setActive.

Parameters:
is_active - the boolean value to set

getEmail

public String getEmail()

Getter for the field email.

Returns:
emailAddress the eamil address of the user

setEmail

public void setEmail(String email)

Setter for the field email.

Parameters:
email - the email address to set

getLastName

public String getLastName()

getLastName.

Returns:
surName the surname of the concerning user

setLastName

public void setLastName(String last_name)

setLastName.

Parameters:
last_name - the surname to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.