IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bc.counter
Class CounterElement

java.lang.Object
  extended by com.ibm.btt.bc.counter.CounterElement

public class CounterElement
extends java.lang.Object


Constructor Summary
CounterElement()
           
CounterElement(java.lang.String name)
           
 
Method Summary
 float getMaxLimit()
           
 float getMinLimit()
           
 java.lang.String getName()
           
 float getValue()
           
 void setMaxLimit(float maxLimit)
           
 void setMinLimit(float minLimit)
           
 void setName(java.lang.String name)
           
 void setValue(float value)
           
 void tryMaxLimit(float maxLimit)
           
 void tryMinLimit(float minLimit)
           
 void tryValue(float aValue)
          Tests if the value aValue is a correct value for the CounterElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterElement

public CounterElement()

CounterElement

public CounterElement(java.lang.String name)
Method Detail

getMaxLimit

public float getMaxLimit()

setMaxLimit

public void setMaxLimit(float maxLimit)

getMinLimit

public float getMinLimit()

setMinLimit

public void setMinLimit(float minLimit)

tryValue

public void tryValue(float aValue)
              throws CounterException
Tests if the value aValue is a correct value for the CounterElement.

If it is not a correct value for the CounterElement, it throws a DSECounterException with "ValueOverMax" or "ValueUnderMin" code, depending on which limit was passed.

Throws:
CounterException

tryMaxLimit

public void tryMaxLimit(float maxLimit)
                 throws CounterException
Throws:
CounterException

tryMinLimit

public void tryMinLimit(float minLimit)
                 throws CounterException
Throws:
CounterException

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getValue

public float getValue()

setValue

public void setValue(float value)

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011