org.hardtokenmgmt.admin.common
Class HostInfoVO

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

public class HostInfoVO
extends java.lang.Object

Value object containing host information such as overall status, disk usage, memory usage etc

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

Constructor Summary
HostInfoVO()
          Empty Constructor
HostInfoVO(java.lang.String hostName)
          Default Constructor
HostInfoVO(java.lang.String hostName, java.lang.String connectionErrorMsg)
          Default Constructor
 
Method Summary
 java.util.List<CAInfoVO> getCAInfo()
           
 java.lang.String getConnectionErrorMsg()
           
 java.util.List<PartitionInfoVO> getDiskInfo()
           
 java.util.List<GeneralInfoVO> getGeneralInfo()
           
 java.lang.String getHostName()
           
 java.util.List<MemInfoVO> getMemInfo()
           
 java.util.List<SysCheckInfoVO> getSysCheckInfoVO()
           
 void setCAInfo(java.util.List<CAInfoVO> info)
           
 void setConnectionErrorMsg(java.lang.String connectionErrorMsg)
           
 void setDiskInfo(java.util.List<PartitionInfoVO> diskInfo)
           
 void setGeneralInfo(java.util.List<GeneralInfoVO> generalInfo)
           
 void setHostName(java.lang.String hostName)
           
 void setMemInfo(java.util.List<MemInfoVO> memInfo)
           
 void setSysCheckInfoVO(java.util.List<SysCheckInfoVO> sysCheckInfoVO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostInfoVO

public HostInfoVO()
Empty Constructor


HostInfoVO

public HostInfoVO(java.lang.String hostName)
Default Constructor

Parameters:
hostName - the current host.

HostInfoVO

public HostInfoVO(java.lang.String hostName,
                  java.lang.String connectionErrorMsg)
Default Constructor

Parameters:
hostName - the current host
connectionErrorMsg - error message that happened during connection.
Method Detail

getDiskInfo

public java.util.List<PartitionInfoVO> getDiskInfo()
Returns:
information about all partitions on the host.

getCAInfo

public java.util.List<CAInfoVO> getCAInfo()
Returns:
information about all cas on the host.

getHostName

public java.lang.String getHostName()
Returns:
the hostName of the host

setHostName

public void setHostName(java.lang.String hostName)
Parameters:
hostName - of the host

getGeneralInfo

public java.util.List<GeneralInfoVO> getGeneralInfo()
Returns:
the generalInfo

getMemInfo

public java.util.List<MemInfoVO> getMemInfo()
Returns:
the memInfo

setSysCheckInfoVO

public void setSysCheckInfoVO(java.util.List<SysCheckInfoVO> sysCheckInfoVO)
Parameters:
sysCheckInfoVO - the sysCheckInfoVO to set

getSysCheckInfoVO

public java.util.List<SysCheckInfoVO> getSysCheckInfoVO()
Returns:
the sysCheckInfoVO

setGeneralInfo

public void setGeneralInfo(java.util.List<GeneralInfoVO> generalInfo)
Parameters:
generalInfo - the generalInfo to set

setDiskInfo

public void setDiskInfo(java.util.List<PartitionInfoVO> diskInfo)
Parameters:
diskInfo - the diskInfo to set

setMemInfo

public void setMemInfo(java.util.List<MemInfoVO> memInfo)
Parameters:
memInfo - the memInfo to set

setCAInfo

public void setCAInfo(java.util.List<CAInfoVO> info)
Parameters:
info - the cAInfo to set

setConnectionErrorMsg

public void setConnectionErrorMsg(java.lang.String connectionErrorMsg)
Parameters:
connectionErrorMsg - the connectionErrorMsg to set

getConnectionErrorMsg

public java.lang.String getConnectionErrorMsg()
Returns:
the connectionErrorMsg