com.liferay.counter.model
Class CounterRegister

java.lang.Object
  extended by com.liferay.counter.model.CounterRegister

public class CounterRegister
extends java.lang.Object

View Source

Author:
Harry Mark

Constructor Summary
CounterRegister(java.lang.String name, long rangeMin, long rangeMax, int rangeSize)
           
 
Method Summary
 long getCurrentValue()
           
 java.lang.String getName()
           
 long getRangeMax()
           
 int getRangeSize()
           
 void setCurrentValue(long currentValue)
           
 void setName(java.lang.String name)
           
 void setRangeMax(long rangeMax)
           
 void setRangeSize(int rangeSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterRegister

public CounterRegister(java.lang.String name,
                       long rangeMin,
                       long rangeMax,
                       int rangeSize)
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getRangeMax

public long getRangeMax()

setRangeMax

public void setRangeMax(long rangeMax)

getRangeSize

public int getRangeSize()

setRangeSize

public void setRangeSize(int rangeSize)

getCurrentValue

public long getCurrentValue()

setCurrentValue

public void setCurrentValue(long currentValue)