|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.series.Series
wt.series.IntegerSeries
Defines a sequencing model of whole integer values ranging from min to max with an increment of delta between each adjacent value.
Use the newIntegerSeries
static factory method(s), not the
IntegerSeries
constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: true
Field Summary | |
private static String |
CLASSNAME
|
private static Integer |
delta
|
protected static String |
DELTA
Label for the attribute; The increment between adjacent values within the series. |
static long |
EXTERNALIZATION_VERSION_UID
|
private static Integer |
max
|
static String |
MAX
Label for the attribute; The maximum limit of the series. |
private static Integer |
min
|
static String |
MIN
Label for the attribute; The minimum limit of the series. |
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.series.Series |
VALUE |
Constructor Summary | |
IntegerSeries()
|
Method Summary | |
void |
decrement()
Decrements the value of the series to the next adjacent value. |
boolean |
equals(Series object)
Tests if the value of this series is equal to the given one and returns true. |
String |
getConceptualClassname()
Deprecated. |
protected static Integer |
getDelta()
Gets the value of the attribute: DELTA. |
protected Integer |
getIntegerValue()
Gets the integer value of the series. |
static Integer |
getMax()
Gets the value of the attribute: MAX. |
static Integer |
getMin()
Gets the value of the attribute: MIN. |
String |
getValue()
Overrides super class' getter to specifically deal with an integer value stored as a string. |
boolean |
greaterThan(Series object)
Tests if the value of this series is greater than to the given one and returns true. |
void |
increment()
Increments the value of the series to the next adjacent value. |
protected void |
initialize()
Supported API: true |
protected void |
initialize(Integer value)
Supports initialization, following construction of an instance. |
boolean |
lessThan(Series object)
Tests if the value of this series is less than to the given one and returns true. |
static IntegerSeries |
newIntegerSeries()
Makes a new instance. |
static IntegerSeries |
newIntegerSeries(Integer value)
Makes a new instance where the value is set to the given integer. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(IntegerSeries thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
reset()
Resets the value of the series to its min. |
protected static void |
setDelta(Integer a_Delta)
Sets the value of the attribute: DELTA. |
protected void |
setIntegerValue(Integer aValue)
Sets the integer value of the series. |
protected static void |
setMax(Integer a_Max)
Sets the value of the attribute: MAX. |
protected static void |
setMin(Integer a_Min)
Sets the value of the attribute: MIN. |
protected void |
setValue(String aValue)
Overrides super class' setter to specifically deal with an integer value stored as a string. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.series.Series |
clone, getClassInfo, newSeries, newSeries, readVersion, setValueWithoutValidating, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String MIN
private static Integer min
public static final String MAX
private static Integer max
protected static final String DELTA
private static Integer delta
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public IntegerSeries()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Series
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Series
input
-
IOException
ClassNotFoundException
protected boolean readVersion(IntegerSeries thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Series
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Series
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public static Integer getMin()
protected static void setMin(Integer a_Min) throws WTPropertyVetoException
a_Min
-
WTPropertyVetoException
public static Integer getMax()
protected static void setMax(Integer a_Max) throws WTPropertyVetoException
a_Max
-
WTPropertyVetoException
protected static Integer getDelta()
protected static void setDelta(Integer a_Delta) throws WTPropertyVetoException
a_Delta
-
WTPropertyVetoException
public static IntegerSeries newIntegerSeries() throws WTPropertyVetoException
WTPropertyVetoException
public static IntegerSeries newIntegerSeries(Integer value) throws WTPropertyVetoException
value
-
WTPropertyVetoException
protected void initialize(Integer value) throws WTPropertyVetoException
value
-
WTPropertyVetoException
public void reset() throws SeriesException, WTPropertyVetoException
reset
in class Series
SeriesException
WTPropertyVetoException
public void increment() throws SeriesException, WTPropertyVetoException
increment
in class Series
SeriesException
WTPropertyVetoException
public void decrement() throws SeriesException, WTPropertyVetoException
decrement
in class Series
SeriesException
WTPropertyVetoException
public boolean equals(Series object)
equals
in class Series
object
-
public boolean lessThan(Series object)
lessThan
in class Series
object
-
public boolean greaterThan(Series object)
greaterThan
in class Series
object
-
public String getValue()
getValue
in class Series
protected void setValue(String aValue) throws WTPropertyVetoException
setValue
in class Series
aValue
-
WTPropertyVetoException
protected Integer getIntegerValue()
protected void setIntegerValue(Integer aValue) throws WTPropertyVetoException
aValue
-
WTPropertyVetoException
protected void initialize() throws WTPropertyVetoException
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |