com.esf.sbc.catalyst.system.management.service
Class CatalystTemperatures

java.lang.Object
  extended bycom.esf.sbc.catalyst.system.management.service.CatalystTemperatures

public class CatalystTemperatures
extends java.lang.Object

Constructor to hold Catalyst system temperature values

Author:
wes.johnson

Constructor Summary
CatalystTemperatures()
          constructor to create an empty CatalystTemperatures class
CatalystTemperatures(CatalystTemperatures catalystTemperatures)
          copy constructor
CatalystTemperatures(short cpuTemp, short topMemoryTemp, short bottomMemoryTemp, short carrierTemp1, short carrierTemp2, short carrierTemp3)
          constructor to create a fully initialized CatalystTemperature class
 
Method Summary
 short getBottomMemoryTemp()
          gets the bottom memory temperature held in this class
 short getCarrierTemp1()
          gets the carrier1 temperature held in this class
 short getCarrierTemp2()
          gets the carrier2 temperature held in this class
 short getCarrierTemp3()
          gets the carrier3 temperature held in this class
 short getCpuTemp()
          gets the CPU temperature held in this class
 short getTopMemoryTemp()
          gets the top memory temperature held in this class
 void setBottomMemoryTemp(short bottomMemoryTemp)
          sets the bottom memory temperature
 void setCarrierTemp1(short carrierTemp1)
          sets the carrier1 temperature
 void setCarrierTemp2(short carrierTemp2)
          sets the carrier2 temperature
 void setCarrierTemp3(short carrierTemp3)
          sets the carrier3 temperature
 void setCpuTemp(short cpuTemp)
          sets the CPU temperature
 void setTopMemoryTemp(short topMemoryTemp)
          sets the top memory temperature
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalystTemperatures

public CatalystTemperatures()
constructor to create an empty CatalystTemperatures class


CatalystTemperatures

public CatalystTemperatures(short cpuTemp,
                            short topMemoryTemp,
                            short bottomMemoryTemp,
                            short carrierTemp1,
                            short carrierTemp2,
                            short carrierTemp3)
constructor to create a fully initialized CatalystTemperature class

Parameters:
cpuTemp - CPU temperature
topMemoryTemp - top memory temperature
bottomMemoryTemp - bottom memory temperature
carrierTemp1 - carrier1 temperature
carrierTemp2 - carrier2 temperature
carrierTemp3 - carrier3 temperature

CatalystTemperatures

public CatalystTemperatures(CatalystTemperatures catalystTemperatures)
copy constructor

Parameters:
catalystTemperatures - CatalystTemperatures instance to copy
Method Detail

getCpuTemp

public short getCpuTemp()
gets the CPU temperature held in this class

Returns:
the CPU temperature

setCpuTemp

public void setCpuTemp(short cpuTemp)
sets the CPU temperature

Parameters:
cpuTemp - the CPU temperature to store in this class

getTopMemoryTemp

public short getTopMemoryTemp()
gets the top memory temperature held in this class

Returns:
the top memeory temperature

setTopMemoryTemp

public void setTopMemoryTemp(short topMemoryTemp)
sets the top memory temperature

Parameters:
topMemoryTemp - the top memory temperature to store in this class

getBottomMemoryTemp

public short getBottomMemoryTemp()
gets the bottom memory temperature held in this class

Returns:
the bottom memory temperature

setBottomMemoryTemp

public void setBottomMemoryTemp(short bottomMemoryTemp)
sets the bottom memory temperature

Parameters:
bottomMemoryTemp - the top bottom temperature to store in this class

getCarrierTemp1

public short getCarrierTemp1()
gets the carrier1 temperature held in this class

Returns:
the carrier1 temperature

setCarrierTemp1

public void setCarrierTemp1(short carrierTemp1)
sets the carrier1 temperature

Parameters:
carrierTemp1 - the carrier1 temperature to store in this class

getCarrierTemp2

public short getCarrierTemp2()
gets the carrier2 temperature held in this class

Returns:
the carrier2 temperature

setCarrierTemp2

public void setCarrierTemp2(short carrierTemp2)
sets the carrier2 temperature

Parameters:
carrierTemp2 - the carrier2 temperature to store in this class

getCarrierTemp3

public short getCarrierTemp3()
gets the carrier3 temperature held in this class

Returns:
the carrier3 temperature

setCarrierTemp3

public void setCarrierTemp3(short carrierTemp3)
sets the carrier3 temperature

Parameters:
carrierTemp3 - the carrier3 temperature to store in this class


Copyright © 2009 Eurotech Inc. All rights reserved.