Package com.storedobject.core
Class ComputedLong
- All Implemented Interfaces:
ComputedValue<Long>
,Displayable
,Storable
,Cloneable
,Comparable<ComputedLong>
-
Field Summary
Fields inherited from class com.storedobject.core.AbstractComputedValue
computed
-
Constructor Summary
ConstructorsConstructorDescriptionComputedLong
(long value) ComputedLong
(long value, boolean computed) ComputedLong
(ComputedLong value) -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
static ComputedLong
Get the storable value.long
getValue()
void
set
(ComputedLong value) void
setValue
(long value) void
Methods inherited from class com.storedobject.core.AbstractComputedValue
equals, isComputed, setComputed, toDisplay, toString
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.storedobject.common.ComputedValue
consider, consider, enable, ignore, ignore, isManual, reverseStatus, setManual
-
Constructor Details
-
ComputedLong
public ComputedLong() -
ComputedLong
public ComputedLong(long value) -
ComputedLong
public ComputedLong(long value, boolean computed) -
ComputedLong
-
-
Method Details
-
create
-
set
-
getStorableValue
Description copied from interface:Storable
Get the storable value. By default,Object.toString()
is returned.- Specified by:
getStorableValue
in interfaceStorable
- Returns:
- Storable value as a string.
-
getValue
public long getValue() -
setValue
public void setValue(long value) -
compareTo
- Specified by:
compareTo
in interfaceComparable<ComputedLong>
-
clone
- Specified by:
clone
in interfaceComputedValue<Long>
- Specified by:
clone
in classAbstractComputedValue<Long>
-
setValue
- Specified by:
setValue
in interfaceComputedValue<Long>
-
getValueObject
- Specified by:
getValueObject
in interfaceComputedValue<Long>
-