Package eu.bandm.tscore.model
Class Container
java.lang.Object
eu.bandm.tscore.model.Container
- All Implemented Interfaces:
Formattable
,Cloneable
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.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. -
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.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.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.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.
-
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(maybe null)
Its value defaults to null.- 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
(never null)>(never null)
Its value defaults to an empty collection. -
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(never null),Vox
(never null)>(never null)
Its value defaults to an empty collection. -
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
(never null)>(never null)
Its value defaults to an empty collection.
-
-
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. @see #conform- Returns:
- The current field value of type java.lang.String(maybe null)
-
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(maybe null)- 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. @see #timelesslist- Returns:
- The current field value of type
CheckedList
<Timeless
(never null)>(never null)
-
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
(never null)>(never null)- 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. @see #voices- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(never null),Vox
(never null)>(never null)
-
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(never null),Vox
(never null)>(never null)- 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. -
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. @see #voicesBySource- Returns:
- The current field value of type
CheckedList
<Vox
(never null)>(never null)
-
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
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_voicesBySource
Deprecated.
-