Package com.storedobject.core
Class ComputedInteger
java.lang.Object
com.storedobject.core.AbstractComputedValue<Integer>
com.storedobject.core.AbstractComputedInteger
com.storedobject.core.ComputedInteger
- All Implemented Interfaces:
ComputedValue<Integer>,Displayable,Storable,Cloneable,Comparable<ComputedInteger>
-
Field Summary
Fields inherited from class com.storedobject.core.AbstractComputedValue
computed -
Constructor Summary
ConstructorsConstructorDescriptionComputedInteger(int value) ComputedInteger(int value, boolean computed) ComputedInteger(ComputedInteger value) -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of thisComputedValueinstance.intstatic ComputedIntegerprotected Stringvoidset(ComputedInteger value) Methods inherited from class com.storedobject.core.AbstractComputedInteger
compareTo, getStorableValue, getValue, getValueObject, set, setValue, setValueMethods inherited from class com.storedobject.core.AbstractComputedValue
equals, isComputed, setComputed, toDisplay, toStringMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.storedobject.common.ComputedValue
consider, consider, enable, ignore, ignore, isManual, reverseStatus, setManual
-
Constructor Details
-
ComputedInteger
public ComputedInteger() -
ComputedInteger
public ComputedInteger(int value) -
ComputedInteger
public ComputedInteger(int value, boolean computed) -
ComputedInteger
-
-
Method Details
-
create
-
set
-
clone
Description copied from interface:ComputedValueCreates and returns a copy of thisComputedValueinstance. The cloned object is a new instance identical to the original, maintaining the same state and value.- Specified by:
clonein interfaceComputedValue<Integer>- Specified by:
clonein classAbstractComputedValue<Integer>- Returns:
- a new
ComputedValue<T>instance that is a copy of the current object
-
compareTo
- Specified by:
compareToin interfaceComparable<ComputedInteger>
-
getDBType
- Specified by:
getDBTypein classAbstractComputedInteger
-