|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.series.Series
wt.series.MultilevelSeries
wt.series.HarvardSeries
public class HarvardSeries
Defines a sequencing model of another subclassed series separated by a delimiter. In the classic definition a harvard series is like 1, 1.1, 1.1.1, etc.
This harvard series can contain any other predefined subclassed series. For example, a harvard series could be like A, A.A, A.A.A, etc.
Use the newHarvardSeries static factory method(s), not the
HarvardSeries 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 | |
|---|---|
static String |
DELIMITER
Label for the attribute; The delimiter that separates to adjacent subvalues within the series. |
| Fields inherited from class wt.series.MultilevelSeries |
|---|
DEPTH, LEVEL, SUBSERIES |
| Fields inherited from class wt.series.Series |
|---|
VALUE |
| Method Summary | |
|---|---|
void |
decrement()
Decrements the subvalue at the current level within the series to the next adjacent value. |
boolean |
equals(Series object)
Tests if the subvalue at the current level within this series is equal to the subvalue at the current level within given one and returns true. |
static Character |
getDelimiter()
Gets the value of the attribute: DELIMITER. |
Series |
getSubvalue()
Gets the subvalue at the current level within the series. |
boolean |
greaterThan(Series object)
Tests if the subvalue at the current level within this series is greater than to the subvalue at the current level within given one and returns true. |
void |
increment()
Increments the subvalue at the current level within the series to the next adjacent value. |
protected void |
initialize()
Supported API: true |
protected void |
initialize(Series[] values)
Supports initialization, following construction of an instance. |
protected void |
initialize(String seriesName,
Series[] values)
Supports initialization, following construction of an instance. |
boolean |
lessThan(Series object)
Tests if the subvalue at the current level within this series is less than to the subvalue at the current level within given one and returns true. |
static HarvardSeries |
newHarvardSeries()
Makes a new instance. |
static HarvardSeries |
newHarvardSeries(Series[] values)
Makes a new instance where the value is set to the given array of series. |
static HarvardSeries |
newHarvardSeries(String seriesName,
Series[] values)
Makes a new instance where the value is set to the given array of series. |
void |
reset()
Resets the subvalue at the current level within the series to its min. |
protected static void |
setDelimiter(Character a_Delimiter)
Sets the value of the attribute: DELIMITER. |
void |
setSubvalue(Series aValue)
Sets the subvalue at the current level within the series. |
void |
toLeft()
Moves the current level one to the left. |
void |
toRight()
Moves the current level one to the right. |
| Methods inherited from class wt.series.MultilevelSeries |
|---|
getDepth, getLevel, getSubseries, newMultilevelSeries, newMultilevelSeries, newMultilevelSeries, setDepth, setLevel, setSubseries, setValueWithValidation |
| Methods inherited from class wt.series.Series |
|---|
getValue, newSeries, newSeries |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DELIMITER
| Method Detail |
|---|
public static Character getDelimiter()
protected static void setDelimiter(Character a_Delimiter)
throws WTPropertyVetoException
a_Delimiter -
WTPropertyVetoException
public static HarvardSeries newHarvardSeries()
throws SeriesException,
WTPropertyVetoException
SeriesException
WTPropertyVetoException
public static HarvardSeries newHarvardSeries(Series[] values)
throws SeriesException,
WTPropertyVetoException
values -
SeriesException
WTPropertyVetoException
protected void initialize(Series[] values)
throws SeriesException,
WTPropertyVetoException
values -
SeriesException
WTPropertyVetoException
public void reset()
throws SeriesException,
WTPropertyVetoException
reset in class MultilevelSeriesSeriesException
WTPropertyVetoException
public void increment()
throws SeriesException,
WTPropertyVetoException
increment in class MultilevelSeriesSeriesException
WTPropertyVetoException
public void decrement()
throws SeriesException,
WTPropertyVetoException
decrement in class MultilevelSeriesSeriesException
WTPropertyVetoExceptionpublic boolean equals(Series object)
equals in class MultilevelSeriesobject -
public boolean lessThan(Series object)
lessThan in class MultilevelSeriesobject -
public boolean greaterThan(Series object)
greaterThan in class MultilevelSeriesobject -
public void toLeft()
throws SeriesException,
WTPropertyVetoException
toLeft in class MultilevelSeriesSeriesException
WTPropertyVetoException
public void toRight()
throws SeriesException,
WTPropertyVetoException
toRight in class MultilevelSeriesSeriesException
WTPropertyVetoException
public Series getSubvalue()
throws SeriesException,
WTPropertyVetoException
getSubvalue in class MultilevelSeriesSeriesException
WTPropertyVetoException
public void setSubvalue(Series aValue)
throws WTPropertyVetoException
setSubvalue in class MultilevelSeriesaValue -
WTPropertyVetoException
protected void initialize()
throws WTPropertyVetoException
WTPropertyVetoException
public static HarvardSeries newHarvardSeries(String seriesName,
Series[] values)
throws SeriesException,
WTPropertyVetoException
seriesName - values -
SeriesException
WTPropertyVetoException
protected void initialize(String seriesName,
Series[] values)
throws SeriesException,
WTPropertyVetoException
seriesName - values -
SeriesException
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||