|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.series.Series
wt.series.MultilevelSeries
public abstract class MultilevelSeries
Defines a sequencing model of a multilevel series where each level is of another subclassed simple (non-multilevel) series.
For example, this series could be 3 levels deep where the first level may be an integer series, and the second and third a character series. Thus, level one would produce increments like 1, 2, 3, etc. Levels two and three would produce increments like A, B, C, etc.
| Field Summary | |
|---|---|
static String |
DEPTH
Label for the attribute; The maximum depth of levels the series can nest. |
static String |
LEVEL
Label for the attribute; The current level within a series that marks the depth. |
static String |
SUBSERIES
Label for the attribute; The one or more subseries that constitute each level of the series. |
| 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 Integer |
getDepth()
Gets the value of the attribute: DEPTH. |
Integer |
getLevel()
Gets the value of the attribute: LEVEL. |
static String[] |
getSubseries()
Gets the value of the attribute: SUBSERIES. |
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. |
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 MultilevelSeries |
newMultilevelSeries(String userClassName)
Makes a new instance where the value is set to the given array of series. |
static MultilevelSeries |
newMultilevelSeries(String userClassName,
String value)
Makes a new instance where the value is set to the given value. |
static MultilevelSeries |
newMultilevelSeries(String userClassName,
String value,
Integer level)
Makes a new instance where the value is set to the given value and level. |
void |
reset()
Resets the subvalue at the current level within the series to its min. |
protected static void |
setDepth(Integer a_Depth)
Sets the value of the attribute: DEPTH. |
protected void |
setLevel(Integer a_Level)
Sets the value of the attribute: LEVEL. |
protected static void |
setSubseries(String[] a_Subseries)
Sets the value of the attribute: SUBSERIES. |
protected void |
setSubvalue(Series aValue)
Sets the subvalue at the current level within the series. |
void |
setValueWithValidation(String a_Value,
Integer a_Level)
Sets the series value and level with validation. |
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.Series |
|---|
getUniqueSeriesName, getValue, newSeries, newSeries |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DEPTH
public static final String SUBSERIES
public static final String LEVEL
| Method Detail |
|---|
public static Integer getDepth()
protected static void setDepth(Integer a_Depth)
throws WTPropertyVetoException
a_Depth -
WTPropertyVetoExceptionpublic static String[] getSubseries()
protected static void setSubseries(String[] a_Subseries)
throws WTPropertyVetoException
a_Subseries -
WTPropertyVetoExceptionpublic Integer getLevel()
protected void setLevel(Integer a_Level)
a_Level -
public static final MultilevelSeries newMultilevelSeries(String userClassName)
throws SeriesException
userClassName -
SeriesException
public static final MultilevelSeries newMultilevelSeries(String userClassName,
String value)
throws SeriesException
userClassName - value -
SeriesException
public static final MultilevelSeries newMultilevelSeries(String userClassName,
String value,
Integer level)
throws SeriesException
userClassName - value - level -
SeriesException
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 void toLeft()
throws SeriesException,
WTPropertyVetoException
SeriesException
WTPropertyVetoException
public void toRight()
throws SeriesException,
WTPropertyVetoException
SeriesException
WTPropertyVetoException
public Series getSubvalue()
throws SeriesException,
WTPropertyVetoException
SeriesException
WTPropertyVetoException
protected void setSubvalue(Series aValue)
throws WTPropertyVetoException
aValue -
WTPropertyVetoException
public void setValueWithValidation(String a_Value,
Integer a_Level)
throws wt.series.SeriesVersionSchemeMismatchException,
WTPropertyVetoException
a_Value - a_Level -
wt.series.SeriesVersionSchemeMismatchException
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||