public class TDivision extends Object implements Cloneable, Formattable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
defByEvent
Whether this division was created by events, not by
explicit subdivisions
on the "T" time line.
|
protected Tp |
from
The earlier of the limiting time points.
|
protected CheckedList<TpSub> |
points
The sequence of time points between the limits.
|
protected Tp |
upto
The later of the limiting time points.
|
format| Constructor and Description |
|---|
TDivision() |
TDivision(Tp from,
Tp upto,
boolean defByEvent)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
| Modifier and Type | Method and Description |
|---|---|
void |
descend_points(MATCH_ONLY_00 visitor) |
TDivision |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.
|
int |
get_count() |
boolean |
get_defByEvent()
Whether this division was created by events, not by
explicit subdivisions
on the "T" time line.
|
int |
get_depth() |
Tp |
get_from()
The earlier of the limiting time points.
|
CheckedList<TpSub> |
get_points()
The sequence of time points between the limits.
|
Tp |
get_upto()
The later of the limiting time points.
|
Tp |
getTp(int num) |
TDivision |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_defByEvent(boolean val)
Whether this division was created by events, not by
explicit subdivisions
on the "T" time line.
|
boolean |
set_from(Tp val)
The earlier of the limiting time points.
|
boolean |
set_points(CheckedList<TpSub> val)
The sequence of time points between the limits.
|
boolean |
set_upto(Tp val)
The later of the limiting time points.
|
String |
toString() |
protected Tp from
Tp(never null)get_from(),
set_from(eu.bandm.tscore.model.Tp)protected Tp upto
Tp(never null)get_upto(),
set_upto(eu.bandm.tscore.model.Tp)protected boolean defByEvent
get_defByEvent(),
set_defByEvent(boolean)protected CheckedList<TpSub> points
from. It is never used, ie. never returned by getTp(int). CheckedList<TpSub(never
null)>(never null)public TDivision(Tp from, Tp upto, boolean defByEvent)
from - is copied to field fromupto - is copied to field uptodefByEvent - is copied to field defByEventTDivision()
public TDivision doclone()
Cloneable is known to
be implemented.public Format format()
format in interface Formattablepublic Tp getTp(int num)
public int get_depth()
public int get_count()
public TDivision initFrom(Object o0)
public Tp get_from()
Tp(never null)public boolean set_from(Tp val)
public Tp get_upto()
Tp(never null)public boolean set_upto(Tp val)
public boolean get_defByEvent()
public boolean set_defByEvent(boolean val)
val - the new value of type boolean(never null)defByEventpublic CheckedList<TpSub> get_points()
from. It is never used, ie. never returned by getTp(int). CheckedList<TpSub(never
null)>(never null)public boolean set_points(CheckedList<TpSub> val)
from. It is never used, ie. never returned by getTp(int). val - the new value of type CheckedList<TpSub(never
null)>(never null)pointspublic void descend_points(MATCH_ONLY_00 visitor)