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()intstatic ComputedLongGet the storable value.longgetValue()voidset(ComputedLong value) voidsetValue(long value) voidMethods 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
-
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:StorableGet the storable value. By default,Object.toString()is returned.- Specified by:
getStorableValuein interfaceStorable- Returns:
- Storable value as a string.
-
getValue
public long getValue() -
setValue
public void setValue(long value) -
compareTo
- Specified by:
compareToin interfaceComparable<ComputedLong>
-
clone
- Specified by:
clonein interfaceComputedValue<Long>- Specified by:
clonein classAbstractComputedValue<Long>
-
setValue
- Specified by:
setValuein interfaceComputedValue<Long>
-
getValueObject
- Specified by:
getValueObjectin interfaceComputedValue<Long>
-