Package eu.bandm.tscore.model
Class TimeScape
java.lang.Object
eu.bandm.tscore.model.Container
eu.bandm.tscore.model.TimeScape
- All Implemented Interfaces:
Formattable
,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-01-13_23h06m58")
public class TimeScape
extends Container
Top container which relates time points, voices and
events.
Can be the result of source file parsing, or filled programmatically.
(This definition has been created by UMod from
the source at SYSTEM "tscore.umod":41.3-48.29, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected CheckedMap_RD
<String, Part> Different parts of one score file, by their names.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":46.7-47.7, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(nevernull
),Part
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.protected CheckedList
<Part> Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tscore.model.Container
conform, timelesslist, voices, voicesBySource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey_parts
(String key0) Convenience un-Currying method.void
descend_parts
(MATCH_ONLY_00 visitor) Deprecated.void
descend_partsBySource
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.Different parts of one score file, by their names.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":46.7-47.7, see this pretty print.)
Generated getter method.Generated by umod; model author's documentation MISSING.Copies values of all common fields from the argument.void
Convenience un-Currying method.boolean
set_parts
(CheckedMap_RD<String, Part> val) Different parts of one score file, by their names.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":46.7-47.7, see this pretty print.)
Updates the (mutable) instance destructively.boolean
set_partsBySource
(CheckedList<Part> val) Generated by umod; model author's documentation MISSING.boolean
Methods inherited from class eu.bandm.tscore.model.Container
containsKey_voices, descend_timelesslist, descend_voices, descend_voicesBySource, get_conform, get_context, get_timelesslist, get_voices, get_voicesBySource, put_voices, set_conform, set_timelesslist, set_voices, set_voicesBySource
-
Field Details
-
parts
Different parts of one score file, by their names.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":46.7-47.7, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(nevernull
),Part
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
partsBySource
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":48.7-29, see this pretty print.)
The type of this field isCheckedList
<Part
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
-
Constructor Details
-
TimeScape
public TimeScape()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. -
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in classContainer
- Returns:
- a format that represents this object in a pretty-printable way
-
singlePart
public boolean singlePart() -
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_parts
Different parts of one score file, by their names.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":46.7-47.7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(nevernull
),Part
(nevernull
)>(nevernull
) - See Also:
-
set_parts
Different parts of one score file, by their names.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":46.7-47.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<java.lang.String(nevernull
),Part
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
put_parts
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 typePart
(nevernull
)- See Also:
-
containsKey_parts
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_parts
Deprecated. -
get_partsBySource
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":48.7-29, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList
<Part
(nevernull
)>(nevernull
) - See Also:
-
set_partsBySource
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":48.7-29, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<Part
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
descend_partsBySource
Deprecated.
-