|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.series.Series
wt.series.IntegerSeries
public class 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 | |
|---|---|
protected static String |
DELTA
Label for the attribute; The increment between adjacent values within the series. |
static String |
MAX
Label for the attribute; The maximum limit of the series. |
static String |
MIN
Label for the attribute; The minimum limit of the series. |
| Fields inherited from class wt.series.Series |
|---|
VALUE |
| 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. |
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 |
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. |
| Methods inherited from class wt.series.Series |
|---|
getUniqueSeriesName, newSeries, newSeries |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String MIN
public static final String MAX
protected static final String DELTA
| Method Detail |
|---|
public static Integer getMin()
protected static void setMin(Integer a_Min)
throws WTPropertyVetoException
a_Min -
WTPropertyVetoExceptionpublic static Integer getMax()
protected static void setMax(Integer a_Max)
throws WTPropertyVetoException
a_Max -
WTPropertyVetoExceptionprotected 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 SeriesSeriesException
WTPropertyVetoException
public void increment()
throws SeriesException,
WTPropertyVetoException
increment in class SeriesSeriesException
WTPropertyVetoException
public void decrement()
throws SeriesException,
WTPropertyVetoException
decrement in class SeriesSeriesException
WTPropertyVetoExceptionpublic boolean equals(Series object)
equals in class Seriesobject -
public boolean lessThan(Series object)
lessThan in class Seriesobject -
public boolean greaterThan(Series object)
greaterThan in class Seriesobject -
public String getValue()
getValue in class Series
protected void setValue(String aValue)
throws WTPropertyVetoException
setValue in class SeriesaValue -
WTPropertyVetoExceptionprotected 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 | ||||||||