com.cloudcontrolled.api.model
Class Application

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

public class Application
extends AbstractModel

The application model contains informations about your application. For example you get an overview over the collaborators which are allowed to manage the application or a list of the currently installed deployments.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
Application()
           Constructor for Application.
 
Method Summary
 String getDateCreated()
           getDateCreated.
 String getDateModified()
           getDateModified.
 Deployment[] getDeployments()
           Getter for the field deployments.
 User[] getInvitations()
           Getter for the field invitations.
 String getName()
           Getter for the field name.
 User getOwner()
           Getter for the field owner.
 String getRepository()
           Getter for the field repository.
 Type getType()
           Getter for the field type.
 User[] getUsers()
           Getter for the field users.
 void setDateCreated(String date_created)
           setDateCreated.
 void setDateModified(String date_modified)
           setDateModified.
 void setDeployments(Deployment[] deployments)
           Setter for the field deployments.
 void setInvitations(User[] invitations)
           Setter for the field invitations.
 void setName(String name)
           Setter for the field name.
 void setOwner(User owner)
           Setter for the field owner.
 void setResository(String repository)
           setResository.
 void setType(Type type)
           Setter for the field type.
 void setUsers(User[] users)
           Setter for the field users.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Application

public Application()

Constructor for Application.

Method Detail

getName

public String getName()

Getter for the field name.

Returns:
name the name of the application

setName

public void setName(String name)

Setter for the field name.

Parameters:
name - the name of the application to set

getType

public Type getType()

Getter for the field type.

Returns:
type the type of the application

setType

public void setType(Type type)

Setter for the field type.

Parameters:
type - the type of the application to set

getRepository

public String getRepository()

Getter for the field repository.

Returns:
repository the repository which contains the applications code

setResository

public void setResository(String repository)

setResository.

Parameters:
repository - the repository to set

getInvitations

public User[] getInvitations()

Getter for the field invitations.

Returns:
users the users which are invited to this application

setInvitations

public void setInvitations(User[] invitations)

Setter for the field invitations.

Parameters:
invitations - the invotations to set

getOwner

public User getOwner()

Getter for the field owner.

Returns:
user the owner of the application

setOwner

public void setOwner(User owner)

Setter for the field owner.

Parameters:
owner - the user to set

getDateCreated

public String getDateCreated()

getDateCreated.

Returns:
date the date of creation

setDateCreated

public void setDateCreated(String date_created)

setDateCreated.

Parameters:
date_created - the date_created to set

getDateModified

public String getDateModified()

getDateModified.

Returns:
modified the date when the application was modified at least

setDateModified

public void setDateModified(String date_modified)

setDateModified.

Parameters:
date_modified - the date_modified to set

getUsers

public User[] getUsers()

Getter for the field users.

Returns:
users the users which are currently involved to that application

setUsers

public void setUsers(User[] users)

Setter for the field users.

Parameters:
users - the users to set

getDeployments

public Deployment[] getDeployments()

Getter for the field deployments.

Returns:
deployments the deployments of the application

setDeployments

public void setDeployments(Deployment[] deployments)

Setter for the field deployments.

Parameters:
deployments - the deployments to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.