fr.cnes.sitools.userstorage.model
Class DiskStorage

java.lang.Object
  extended by fr.cnes.sitools.userstorage.model.DiskStorage

public final class DiskStorage
extends java.lang.Object

Class for information about disk space allowed to a user

Author:
AKKA

Constructor Summary
DiskStorage()
          Default constructor
 
Method Summary
 java.lang.Long getBusyUserSpace()
          Gets the busyUserSpace value
 java.lang.Long getFreeUserSpace()
          Gets the freeUserSpace value
 java.util.Date getLastUpdate()
          Gets the lastUpdate value
 java.lang.Long getQuota()
          Gets the quota value
 java.lang.String getUserStoragePath()
          Gets the userStoragePath value
 void setBusyUserSpace(java.lang.Long busyUserSpace)
          Sets the value of busyUserSpace
 void setFreeUserSpace(java.lang.Long freeUserSpace)
          Sets the value of freeUserSpace
 void setLastUpdate(java.util.Date lastUpdate)
          Sets the value of lastUpdate
 void setQuota(java.lang.Long quota)
          Sets the value of quota
 void setUserStoragePath(java.lang.String userStoragePath)
          Sets the value of userStoragePath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskStorage

public DiskStorage()
Default constructor

Method Detail

getFreeUserSpace

public java.lang.Long getFreeUserSpace()
Gets the freeUserSpace value

Returns:
the freeUserSpace

setFreeUserSpace

public void setFreeUserSpace(java.lang.Long freeUserSpace)
Sets the value of freeUserSpace

Parameters:
freeUserSpace - the freeUserSpace to set

getBusyUserSpace

public java.lang.Long getBusyUserSpace()
Gets the busyUserSpace value

Returns:
the busyUserSpace

setBusyUserSpace

public void setBusyUserSpace(java.lang.Long busyUserSpace)
Sets the value of busyUserSpace

Parameters:
busyUserSpace - the busyUserSpace to set

getQuota

public java.lang.Long getQuota()
Gets the quota value

Returns:
the quota

setQuota

public void setQuota(java.lang.Long quota)
Sets the value of quota

Parameters:
quota - the quota to set

getUserStoragePath

public java.lang.String getUserStoragePath()
Gets the userStoragePath value

Returns:
the userStoragePath

setUserStoragePath

public void setUserStoragePath(java.lang.String userStoragePath)
Sets the value of userStoragePath

Parameters:
userStoragePath - the userStoragePath to set

getLastUpdate

public java.util.Date getLastUpdate()
Gets the lastUpdate value

Returns:
the lastUpdate

setLastUpdate

public void setLastUpdate(java.util.Date lastUpdate)
Sets the value of lastUpdate

Parameters:
lastUpdate - the lastUpdate to set


Copyright © 2010-2013 CNES. All Rights Reserved.