Package eu.bandm.tscore.model
Class Container
java.lang.Object
eu.bandm.tscore.model.Container
- All Implemented Interfaces:
Formattable
,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-01-13_23h06m58")
public class Container
extends Object
implements Cloneable, Formattable
Abstract base class of all event collections, which
additionally
carry some non-temporal ("meta") attributes.
(This definition has been created by UMod from
the source at SYSTEM "tscore.umod":18.3-39.5, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Names a Java class which implements the rules for parsing and evaluating.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":21.5-22.5, see this pretty print.)
The type of this field is java.lang.String(maybenull
)
Its value defaults tonull
.protected CheckedList
<Timeless> Collects time-less attributes of this container and its contents.protected CheckedMap_RD
<String, Vox> Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.protected CheckedList
<Vox> All voices appearing in the score, in source order of their first appearance.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":38.5-39.5, see this pretty print.)
The type of this field isCheckedList
<Vox
(nevernull
)>(nevernull
)
Its value defaults to an empty collection. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey_voices
(String key0) Convenience un-Currying method.void
descend_timelesslist
(MATCH_ONLY_00 visitor) Deprecated.void
descend_voices
(MATCH_ONLY_00 visitor) Deprecated.void
descend_voicesBySource
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.Names a Java class which implements the rules for parsing and evaluating.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":21.5-22.5, see this pretty print.)
Generated getter method.Collects time-less attributes of this container and its contents.Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.All voices appearing in the score, in source order of their first appearance.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":38.5-39.5, see this pretty print.)
Generated getter method.Copies values of all common fields from the argument.void
put_voices
(String key0, Vox value) Convenience un-Currying method.boolean
set_conform
(String val) Names a Java class which implements the rules for parsing and evaluating.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":21.5-22.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
Collects time-less attributes of this container and its contents.boolean
set_voices
(CheckedMap_RD<String, Vox> val) Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.boolean
set_voicesBySource
(CheckedList<Vox> val) All voices appearing in the score, in source order of their first appearance.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":38.5-39.5, see this pretty print.)
Updates the (mutable) instance destructively.
-
Field Details
-
conform
Names a Java class which implements the rules for parsing and evaluating.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":21.5-22.5, see this pretty print.)
The type of this field is java.lang.String(maybenull
)
Its value defaults tonull
.- See Also:
-
timelesslist
Collects time-less attributes of this container and its contents. Typical example keys are in(This definition has been created by UMod from the source at SYSTEM "tscore.umod":30.5-31.5, see this pretty print.)MetaKeys
The type of this field isCheckedList
<Timeless
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
voices
Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name. In parts it holds "real" voices with events.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":34.5-35.5, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(nevernull
),Vox
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
voicesBySource
All voices appearing in the score, in source order of their first appearance.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":38.5-39.5, see this pretty print.)
The type of this field isCheckedList
<Vox
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
-
Constructor Details
-
Container
public Container()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
-
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_conform
Names a Java class which implements the rules for parsing and evaluating.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":21.5-22.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(maybe
null
) - See Also:
-
set_conform
Names a Java class which implements the rules for parsing and evaluating.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":21.5-22.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(maybenull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_context
-
get_timelesslist
Collects time-less attributes of this container and its contents. Typical example keys are in(This definition has been created by UMod from the source at SYSTEM "tscore.umod":30.5-31.5, see this pretty print.)MetaKeys
Generated getter method.- Returns:
- The current field value of type
CheckedList
<Timeless
(nevernull
)>(nevernull
) - See Also:
-
set_timelesslist
Collects time-less attributes of this container and its contents. Typical example keys are in(This definition has been created by UMod from the source at SYSTEM "tscore.umod":30.5-31.5, see this pretty print.)MetaKeys
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<Timeless
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
descend_timelesslist
Deprecated. -
get_voices
Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name. In parts it holds "real" voices with events.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":34.5-35.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(nevernull
),Vox
(nevernull
)>(nevernull
) - See Also:
-
set_voices
Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name. In parts it holds "real" voices with events.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":34.5-35.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<java.lang.String(nevernull
),Vox
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
put_voices
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 typeVox
(nevernull
)- See Also:
-
containsKey_voices
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_voices
Deprecated. -
get_voicesBySource
All voices appearing in the score, in source order of their first appearance.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":38.5-39.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList
<Vox
(nevernull
)>(nevernull
) - See Also:
-
set_voicesBySource
All voices appearing in the score, in source order of their first appearance.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":38.5-39.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<Vox
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
descend_voicesBySource
Deprecated.
-