org.hardtokenmgmt.admin.common
Class PartitionInfoVO

java.lang.Object
  extended by org.hardtokenmgmt.admin.common.PartitionInfoVO

public class PartitionInfoVO
extends java.lang.Object

Value Object containing information related to disk usage

Version:
$Id$
Author:
Philip Vendil 18 feb 2009

Constructor Summary
PartitionInfoVO()
          Empty Constructor
PartitionInfoVO(java.lang.String partitionName, long totalSpaceInBytes, long freeSpaceInBytes)
          Default Constructor of VO
 
Method Summary
 long getFreeSpaceInBytes()
           
 java.lang.String getPartitionName()
           
 long getTotalSpaceInBytes()
           
 void setFreeSpaceInBytes(long freeSpaceInBytes)
           
 void setPartitionName(java.lang.String partitionName)
           
 void setTotalSpaceInBytes(long totalSpaceInBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartitionInfoVO

public PartitionInfoVO()
Empty Constructor


PartitionInfoVO

public PartitionInfoVO(java.lang.String partitionName,
                       long totalSpaceInBytes,
                       long freeSpaceInBytes)
Default Constructor of VO

Parameters:
partitionName - name of partition on host
totalSpaceInBytes - total space of partition in bytes
freeSpaceInBytes - free space of partition in bytes
Method Detail

getPartitionName

public java.lang.String getPartitionName()
Returns:
the name of partition on host

setPartitionName

public void setPartitionName(java.lang.String partitionName)
Parameters:
partitionName - name of partition on host

getTotalSpaceInBytes

public long getTotalSpaceInBytes()
Returns:
total space of partition in bytes

setTotalSpaceInBytes

public void setTotalSpaceInBytes(long totalSpaceInBytes)
Parameters:
totalSpaceInBytes - total space of partition in bytes

getFreeSpaceInBytes

public long getFreeSpaceInBytes()
Returns:
the freeSpaceInBytes free space of partition in bytes

setFreeSpaceInBytes

public void setFreeSpaceInBytes(long freeSpaceInBytes)
Parameters:
freeSpaceInBytes - free space of partition in bytes