com.openexchange.admin.soap.dataobjects
Class Filestore

java.lang.Object
  extended by com.openexchange.admin.soap.dataobjects.Filestore

public class Filestore
extends java.lang.Object

This class represents a filestore.


Constructor Summary
Filestore()
          Initiates an empty filestore object
Filestore(com.openexchange.admin.rmi.dataobjects.Filestore fs)
           
Filestore(java.lang.Integer id)
          Initiates a filestore object with given id set
 
Method Summary
 java.lang.Integer getCurrentContexts()
          Returns the current amount of contexts of this filestore object
 java.lang.Integer getId()
          Returns the id of this filestore object
 java.lang.Integer getMaxContexts()
          Returns the maximum amount of contexts of this filestore object
 java.lang.Long getReserved()
           
 java.lang.Long getSize()
          Returns the size of this filestore object (in MB)
 java.lang.String getUrl()
          Returns the url of this filestore object
 java.lang.Long getUsed()
          Returns the currently used size of this filestore object (in MB)
 void setCurrentContexts(java.lang.Integer currentContexts)
          Sets the current amount of contexts for this filestore object
 void setId(java.lang.Integer id)
          Sets the id for this filestore object
 void setMaxContexts(java.lang.Integer maxContexts)
          Sets the maximum amount of contexts for this filestore object
 void setReserved(java.lang.Long reserved)
           
 void setSize(java.lang.Long size)
          Sets the size for this filestore object (in MB)
 void setUrl(java.lang.String url)
          Sets the url for this filestore object
 void setUsed(java.lang.Long quota_used)
          Sets the currently used size for this filestore object (in MB)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filestore

public Filestore()
Initiates an empty filestore object


Filestore

public Filestore(java.lang.Integer id)
Initiates a filestore object with given id set

Parameters:
id - An Integer containing the id

Filestore

public Filestore(com.openexchange.admin.rmi.dataobjects.Filestore fs)
Method Detail

getId

public java.lang.Integer getId()
Returns the id of this filestore object

Returns:
An Integer containing the id

setId

public void setId(java.lang.Integer id)
Sets the id for this filestore object

Parameters:
id - An Integer containing the id

getUrl

public java.lang.String getUrl()
Returns the url of this filestore object

Returns:
A String containing the url

setUrl

public void setUrl(java.lang.String url)
Sets the url for this filestore object

Parameters:
url - A String containing the url

getSize

public java.lang.Long getSize()
Returns the size of this filestore object (in MB)

Returns:
A Long containing the size (in MB)

setSize

public void setSize(java.lang.Long size)
Sets the size for this filestore object (in MB)

Parameters:
size - A Long containing the size (in MB)

getMaxContexts

public java.lang.Integer getMaxContexts()
Returns the maximum amount of contexts of this filestore object

Returns:
An Integer containing the maximum amoung of contexts

setMaxContexts

public void setMaxContexts(java.lang.Integer maxContexts)
Sets the maximum amount of contexts for this filestore object

Parameters:
maxContexts - A String containing the maximum amount of contexts

getCurrentContexts

public java.lang.Integer getCurrentContexts()
Returns the current amount of contexts of this filestore object

Returns:
An Integer containing the current

setCurrentContexts

public void setCurrentContexts(java.lang.Integer currentContexts)
Sets the current amount of contexts for this filestore object

Parameters:
currentContexts - An Integer containing the current amount of contexts

getUsed

public java.lang.Long getUsed()
Returns the currently used size of this filestore object (in MB)

Returns:
A Long containing the currently used size (in MB)

setUsed

public void setUsed(java.lang.Long quota_used)
Sets the currently used size for this filestore object (in MB)

Parameters:
quota_used - A Long containing the currently used size

getReserved

public final java.lang.Long getReserved()
Returns:
the reserved

setReserved

public final void setReserved(java.lang.Long reserved)
Parameters:
reserved - the reserved to set