Package eu.bandm.tscore.model
Class Tp
java.lang.Object
eu.bandm.tscore.model.Tp
- All Implemented Interfaces:
Formattable
,Cloneable
Abstract super class of possible time points.
(This definition has been created by UMod from
the source at SYSTEM "tscore.umod":139.3-154.5, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected CheckedMap_RD<Tp,
CheckedMap_RD<Integer, TDivision>> All divisions starting at this point, accessible by their end point and their division count.protected CheckedSet<TDivision>
All divisions ending at this point.protected eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
The text position of its external representations. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey_divisions
(Tp key0) Convenience un-Currying method.boolean
containsKey_divisions
(Tp key0, int key1) Convenience un-Currying method.void
descend_divisions
(MATCH_ONLY_00 visitor) Deprecated.void
descend_endingDivisions
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.boolean
(package private) abstract int
All divisions starting at this point, accessible by their end point and their division count.All divisions ending at this point.eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
The text position of its external representations.Copies values of all common fields from the argument.makeDivision
(Tp tp, int cnt, boolean defByEvent) void
put_divisions
(Tp key0, int key1, TDivision value) Convenience un-Currying method.void
put_divisions
(Tp key0, CheckedMap_RD<Integer, TDivision> value) Convenience un-Currying method.boolean
All divisions starting at this point, accessible by their end point and their division count.boolean
All divisions ending at this point.boolean
set_location
(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> val) The text position of its external representations.
-
Field Details
-
divisions
All divisions starting at this point, accessible by their end point and their division count.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":141.5-142.5, see this pretty print.)
The type of this field isCheckedMap_RD
<Tp
(never null),CheckedMap_RD
<java.lang.Integer(never null),TDivision
(never null)>(never null)>(never null)
Its value defaults to an empty collection. -
endingDivisions
All divisions ending at this point.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":145.5-146.5, see this pretty print.)
The type of this field isCheckedSet
<TDivision
(never null)>(never null)
Its value defaults to an empty collection. -
location
protected eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> locationThe text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":148.5-149.5, see this pretty print.)
The type of this field isLocation
(maybe null)
Its value defaults to null.
-
-
Constructor Details
-
Tp
public Tp(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> location) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
location
- is copied to fieldlocation
-
Tp
public Tp()Synthetic minimal constructor provided by the umod compiler.
Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.
(All object fields are set to their default values.)
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Returns:
- a format that represents this object in a pretty-printable way
-
makeDivision
-
get_depth
abstract int get_depth() -
initFrom
Copies 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_divisions
All divisions starting at this point, accessible by their end point and their division count.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":141.5-142.5, see this pretty print.)
Generated getter method. @see #divisions- Returns:
- The current field value of type
CheckedMap_RD
<Tp
(never null),CheckedMap_RD
<java.lang.Integer(never null),TDivision
(never null)>(never null)>(never null)
-
set_divisions
All divisions starting at this point, accessible by their end point and their division count.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":141.5-142.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<Tp
(never null),CheckedMap_RD
<java.lang.Integer(never null),TDivision
(never null)>(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
put_divisions
Convenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.- Parameters:
value
- the new value of typeCheckedMap_RD
<java.lang.Integer(never null),TDivision
(never null)>(never null)- See Also:
-
put_divisions
Convenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing. -
containsKey_divisions
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
containsKey_divisions
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_divisions
Deprecated. -
get_endingDivisions
All divisions ending at this point.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":145.5-146.5, see this pretty print.)
Generated getter method. @see #endingDivisions- Returns:
- The current field value of type
CheckedSet
<TDivision
(never null)>(never null)
-
set_endingDivisions
All divisions ending at this point.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":145.5-146.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedSet
<TDivision
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_endingDivisions
Deprecated. -
get_location
public eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> get_location()The text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":148.5-149.5, see this pretty print.)
Generated getter method. @see #location- Returns:
- The current field value of type
Location
(maybe null)
-
set_location
public boolean set_location(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> val) The text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":148.5-149.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLocation
(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_defByEvent
public boolean get_defByEvent()
-