public class TpSub extends Tp
Modifier and Type | Field and Description |
---|---|
protected boolean |
defByEvent
Whether this time points was created by events, not
by explicit subdivisions
on the "T" time line.
|
protected TDivision |
division
The divistion which defines it.
|
protected int |
pos
the position in the containing division, always != 0
and != the maximal index.
|
format
Constructor and Description |
---|
TpSub() |
TpSub(Location<XMLDocumentIdentifier> location,
TDivision division,
int pos,
boolean defByEvent)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
TpSub(TDivision division,
int pos,
boolean defByEvent)
Synthetic minimal constructor provided by the umod compiler.
|
Modifier and Type | Method and Description |
---|---|
TpSub |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.
|
boolean |
get_defByEvent()
Whether this time points was created by events, not
by explicit subdivisions
on the "T" time line.
|
int |
get_depth() |
TDivision |
get_division()
The divistion which defines it.
|
int |
get_pos()
the position in the containing division, always != 0
and != the maximal index.
|
TpSub |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_defByEvent(boolean val)
Whether this time points was created by events, not
by explicit subdivisions
on the "T" time line.
|
boolean |
set_division(TDivision val)
The divistion which defines it.
|
boolean |
set_pos(int val)
the position in the containing division, always != 0
and != the maximal index.
|
String |
toString() |
containsKey_divisions, containsKey_divisions, descend_divisions, get_divisions, get_location, makeDivision, put_divisions, put_divisions, set_divisions, set_location
protected TDivision division
TDivision
(never null)protected int pos
get_pos()
,
set_pos(int)
protected boolean defByEvent
get_defByEvent()
,
set_defByEvent(boolean)
public TpSub(Location<XMLDocumentIdentifier> location, TDivision division, int pos, boolean defByEvent)
location
- is copied to field Tp.location
division
- is copied to field division
pos
- is copied to field pos
defByEvent
- is copied to field defByEvent
public TpSub(TDivision division, int pos, boolean defByEvent)
division
- is copied to field division
pos
- is copied to field pos
defByEvent
- is copied to field defByEvent
TpSub()
public TpSub doclone()
Cloneable
is known to
be implemented.public Format format()
format
in interface Formattable
format
in class Tp
public TpSub initFrom(Object o0)
public TDivision get_division()
TDivision
(never
null)public boolean set_division(TDivision val)
public int get_pos()
public boolean set_pos(int val)
val
- the new value of type int(never null)pos
public boolean get_defByEvent()
get_defByEvent
in class Tp
public boolean set_defByEvent(boolean val)
val
- the new value of type boolean(never null)defByEvent