public abstract class AbstractLevelMeterABO extends AbstractSingletonABO<ClientContext,ServerContext,AbstractLevelMeterABO>
updateCount
Constructor and Description |
---|
AbstractLevelMeterABO(ClientContext clientCtx) |
AbstractLevelMeterABO(ServerContext serverCtx) |
AbstractLevelMeterABO(ServerContext serverCtx,
int initialMax) |
AbstractLevelMeterABO(ServerContext serverCtx,
int initialMax,
int initialMin) |
Modifier and Type | Method and Description |
---|---|
void |
clearBounds() |
void |
clearCurrentValue() |
void |
clearLowerBound() |
void |
clearUpperBound() |
void |
fitRangeToBounds() |
int |
getCurrentValue() |
int |
getLowerBound() |
int |
getMaxValue() |
int |
getMinValue() |
int |
getUpperBound() |
protected void |
initForValue(int initialValue) |
protected void |
overtakeABOValues(AbstractLevelMeterABO inst)
Must be implemented by subclasses to copy their instance values
|
void |
resetRangeToInitial() |
protected int |
roundBoundaryValue(java.math.RoundingMode mode,
int value) |
void |
setCurrentValue(int value) |
void |
setMaxValue(int max) |
void |
setMinValue(int min) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
protected void |
updateOnServer()
Needs only be overridden to ensure persistence before ABO is replaced in the cache.
|
createEditDialog, createPrimaryKey, fetch, getRenderIcon, instantiateOnServer, isCacheResident
addChangeListener, clone, compareTo, copy, copyABOValues, create, createChangeGate, createOnServer, delete, deleteOnServer, drop, dropOnServer, equals, fetch, findCachedABOs, fireABOInitialized, getPrimaryKey, getRenderColor, getRenderText, getResourceName, getResourceType, getUpdateCount, hashCode, isbeingAccessed, isLockedByMe, isNumb, isOnline, isVisibleInClientMonitor, receivedUpdateEvent, refetch, removeChangeListener, setLocked, setNumb, update, update
getLastAccessedTs, getLastAccessorId, setLastAccessorId
checkOnClient, checkOnServer, getClientContext, getLogChannel, getServerContext, isLogDebug, isLogVerbose, isOnClient, isOnServer, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setClientContext, setLogChannel, setServerContext
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
isOnClient, isOnServer, setClientContext, setServerContext
getClientContext
getServerContext
toDumpString, toString
getLastAccessedTs, getLastAccessorId, setLastAccessorId
public AbstractLevelMeterABO(ClientContext clientCtx)
public AbstractLevelMeterABO(ServerContext serverCtx)
public AbstractLevelMeterABO(ServerContext serverCtx, int initialMax)
public AbstractLevelMeterABO(ServerContext serverCtx, int initialMax, int initialMin)
protected void initForValue(int initialValue)
public int getMaxValue()
public int getUpperBound()
public int getCurrentValue()
public int getLowerBound()
public int getMinValue()
public void setCurrentValue(int value)
public void setMaxValue(int max)
public void setMinValue(int min)
public void clearCurrentValue()
public void clearBounds()
public void clearUpperBound()
public void clearLowerBound()
public void fitRangeToBounds()
public void resetRangeToInitial()
protected void updateOnServer() throws java.lang.Exception
AbstractABO
updateOnServer
in class AbstractABO<ClientContext,ServerContext,AbstractLevelMeterABO>
java.lang.Exception
protected void overtakeABOValues(AbstractLevelMeterABO inst)
AbstractABO
overtakeABOValues
in class AbstractABO<ClientContext,ServerContext,AbstractLevelMeterABO>
protected int roundBoundaryValue(java.math.RoundingMode mode, int value)
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class AbstractABO<ClientContext,ServerContext,AbstractLevelMeterABO>
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class AbstractABO<ClientContext,ServerContext,AbstractLevelMeterABO>
Copyright © 2011 EsprIT-Systems. All Rights Reserved.