Package eu.bandm.tscore.model
Class TDivision
java.lang.Object
eu.bandm.tscore.model.TDivision
- All Implemented Interfaces:
- Formattable,- Cloneable
@Generated(generator="eu.bandm.tools.umod",
           version="",
           timestamp="2025-08-02_12h46m54")
public class TDivision
extends Object
implements Cloneable, Formattable
Represents a sequence of time points constructed by 
 dividing the
 interval between two time points.
 
(This definition has been created by UMod from
 the source at SYSTEM "tscore.umod":115.3-137.5, see this pretty 
 print.)- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanWhether this division was created by events, not by explicit subdivisions on the "T" time line.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":124.5-125.5, see this pretty print.)
 The type of this field is boolean(nevernull)
 It is set by every possible constructor.protected TpThe earlier of the limiting time points.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":118.5-119.5, see this pretty print.)
 The type of this field isTp(nevernull)
 It is set by every possible constructor.protected CheckedList<TpSub> The sequence of time points between the limits.protected TpThe later of the limiting time points.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":121.5-122.5, see this pretty print.)
 The type of this field isTp(nevernull)
 It is set by every possible constructor.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddescend_points(MATCH_ONLY_00 visitor) Deprecated.doclone()Clones this object.format()Delivers a format object for pretty-printing by inheritance from some ancestor class.intbooleanWhether this division was created by events, not by explicit subdivisions on the "T" time line.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":124.5-125.5, see this pretty print.)
 Generated getter method.intget_from()The earlier of the limiting time points.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":118.5-119.5, see this pretty print.)
 Generated getter method.The sequence of time points between the limits.get_upto()The later of the limiting time points.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":121.5-122.5, see this pretty print.)
 Generated getter method.getTp(int num) Copies values of all common fields from the argument.booleanset_defByEvent(boolean val) Whether this division was created by events, not by explicit subdivisions on the "T" time line.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":124.5-125.5, see this pretty print.)
 Updates the (mutable) instance destructively.booleanThe earlier of the limiting time points.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":118.5-119.5, see this pretty print.)
 Updates the (mutable) instance destructively.booleanset_points(CheckedList<TpSub> val) The sequence of time points between the limits.booleanThe later of the limiting time points.
 (This definition has been created by UMod from the source at SYSTEM "tscore.umod":121.5-122.5, see this pretty print.)
 Updates the (mutable) instance destructively.toString()
- 
Field Details- 
fromThe earlier of the limiting time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":118.5-119.5, see this pretty print.)
 
 The type of this field isTp(nevernull)
 It is set by every possible constructor.- See Also:
 
- 
uptoThe later of the limiting time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":121.5-122.5, see this pretty print.)
 
 The type of this field isTp(nevernull)
 It is set by every possible constructor.- See Also:
 
- 
defByEventprotected boolean defByEventWhether this division was created by events, not by explicit subdivisions on the "T" time line.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":124.5-125.5, see this pretty print.)
 
 The type of this field is boolean(nevernull)
 It is set by every possible constructor.- See Also:
 
- 
pointsThe sequence of time points between the limits. When equidistant division is meant, then the duration factor is 1 / count_points(). The very first points[0] is built and represents the very same time point as(This definition has been created by UMod from the source at SYSTEM "tscore.umod":128.5-129.5, see this pretty print.)from. It is never used, ie. never returned bygetTp(int).
 
 The type of this field isCheckedList<TpSub(nevernull)>(nevernull)
 Its value defaults to an empty collection.- See Also:
 
 
- 
- 
Constructor Details- 
TDivisionConstructor generated according to specification #0
 Constructor defined according to directive "C 0/..".- Parameters:
- from- is copied to field- from
- upto- is copied to field- upto
- defByEvent- is copied to field- defByEvent
 
- 
TDivisionTDivision()
 
- 
- 
Method Details- 
docloneClones this object. Method never fails, sinceCloneableis known to be implemented.- Returns:
- a fresh copy.  
 
 
- 
formatDelivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
- formatin interface- Formattable
- Returns:
- a format that represents this object in a pretty-printable way
 
- 
toString
- 
getTp
- 
get_depthpublic int get_depth()
- 
get_countpublic int get_count()
- 
initFromCopies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
- 
get_fromThe earlier of the limiting time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":118.5-119.5, see this pretty print.)
 
 Generated getter method.- Returns:
- The current field value of type Tp(nevernull)
- See Also:
 
- 
set_fromThe earlier of the limiting time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":118.5-119.5, see this pretty print.)
 
 Updates the (mutable) instance destructively.- Parameters:
- val- the new value of type- Tp(never- null)
- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
 
- 
get_uptoThe later of the limiting time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":121.5-122.5, see this pretty print.)
 
 Generated getter method.- Returns:
- The current field value of type Tp(nevernull)
- See Also:
 
- 
set_uptoThe later of the limiting time points.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":121.5-122.5, see this pretty print.)
 
 Updates the (mutable) instance destructively.- Parameters:
- val- the new value of type- Tp(never- null)
- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
 
- 
get_defByEventpublic boolean get_defByEvent()Whether this division was created by events, not by explicit subdivisions on the "T" time line.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":124.5-125.5, see this pretty print.)
 
 Generated getter method.- Returns:
- The current field value of type boolean(never null)
- See Also:
 
- 
set_defByEventpublic boolean set_defByEvent(boolean val) Whether this division was created by events, not by explicit subdivisions on the "T" time line.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":124.5-125.5, see this pretty print.)
 
 Updates the (mutable) instance destructively.- Parameters:
- val- the new value of type boolean(never- null)
- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
 
- 
get_pointsThe sequence of time points between the limits. When equidistant division is meant, then the duration factor is 1 / count_points(). The very first points[0] is built and represents the very same time point as(This definition has been created by UMod from the source at SYSTEM "tscore.umod":128.5-129.5, see this pretty print.)from. It is never used, ie. never returned bygetTp(int).
 
 Generated getter method.- Returns:
- The current field value of type CheckedList<TpSub(nevernull)>(nevernull)
- See Also:
 
- 
set_pointsThe sequence of time points between the limits. When equidistant division is meant, then the duration factor is 1 / count_points(). The very first points[0] is built and represents the very same time point as(This definition has been created by UMod from the source at SYSTEM "tscore.umod":128.5-129.5, see this pretty print.)from. It is never used, ie. never returned bygetTp(int).
 
 Updates the (mutable) instance destructively.- Parameters:
- val- the new value of type- CheckedList<- TpSub(never- null)>(never- null)
- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
 
- 
descend_pointsDeprecated.
 
-