Package com.storedobject.core
Class AbstractComputedValue<T>
java.lang.Object
com.storedobject.core.AbstractComputedValue<T>
- All Implemented Interfaces:
ComputedValue<T>,Displayable,Storable,Cloneable
- Direct Known Subclasses:
AbstractComputedInteger,ComputedDouble,ComputedLong
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AbstractComputedValue<T> clone()final booleanfinal booleanvoidsetComputed(boolean computed) Convert to a displayable string.toString()Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.storedobject.common.ComputedValue
consider, consider, enable, getValueObject, ignore, ignore, isManual, reverseStatus, setManual, setValueMethods inherited from interface com.storedobject.common.Storable
getStorableValue
-
Field Details
-
computed
protected boolean computed
-
-
Constructor Details
-
AbstractComputedValue
public AbstractComputedValue()
-
-
Method Details
-
isComputed
public final boolean isComputed()- Specified by:
isComputedin interfaceComputedValue<T>
-
setComputed
public void setComputed(boolean computed) - Specified by:
setComputedin interfaceComputedValue<T>
-
equals
-
toString
-
toDisplay
Description copied from interface:DisplayableConvert to a displayable string. The default implementation returns theStringUtility.toStringInt(Object)value.- Specified by:
toDisplayin interfaceDisplayable- Returns:
- A displayable string.
-
clone
- Specified by:
clonein interfaceComputedValue<T>- Overrides:
clonein classObject
-