Package eu.bandm.tscore.model
Class Vox
java.lang.Object
eu.bandm.tscore.model.Container
eu.bandm.tscore.model.Vox
- All Implemented Interfaces:
Formattable
,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-01-13_23h06m58")
public class Vox
extends Container
A voice, the central means for organizing events. For
every combination of
voice and timepoint, at most one event can happen, which in turn may
carry arbitrary many parameters.
(This definition has been created by UMod from
the source at SYSTEM "tscore.umod":67.3-90.7, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected Container
The Part which contains this Vox (or TimeScape for time-less global values only).
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":72.7-73.7, see this pretty print.)
The type of this field isContainer
(nevernull
)
It is set by every possible constructor.protected CheckedSet
<Event> All events related to this voice.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":78.7-79.7, see this pretty print.)
The type of this field isCheckedSet
<Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.protected String
Name as it appears eg.protected CheckedSet
<String> All parameter names which appear in this voice.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":88.7-89.7, see this pretty print.)
The type of this field isCheckedSet
<java.lang.String(nevernull
)>(nevernull
)
Its value defaults to an empty collection.protected CheckedList
<Event> All events related to this voice, in sequential order of the source text position, which in nearly all cases corresponds to temporal order.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":84.7-85.7, see this pretty print.)
The type of this field isCheckedList
<Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.protected CheckedMap_RD
<Tp, Event> All events related to this voice, sorted by their time point.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":81.7-82.7, see this pretty print.)
The type of this field isCheckedMap_RD
<Tp
(nevernull
),Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.Fields inherited from class eu.bandm.tscore.model.Container
conform, timelesslist, voices, voicesBySource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey_sortedByStart
(Tp key0) Convenience un-Currying method.void
descend_events
(MATCH_ONLY_00 visitor) Deprecated.void
descend_sortedBySource
(MATCH_ONLY_00 visitor) Deprecated.void
descend_sortedByStart
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.The Part which contains this Vox (or TimeScape for time-less global values only).
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":72.7-73.7, see this pretty print.)
Generated getter method.All events related to this voice.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":78.7-79.7, see this pretty print.)
Generated getter method.get_name()
Name as it appears eg.All parameter names which appear in this voice.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":88.7-89.7, see this pretty print.)
Generated getter method.All events related to this voice, in sequential order of the source text position, which in nearly all cases corresponds to temporal order.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":84.7-85.7, see this pretty print.)
Generated getter method.All events related to this voice, sorted by their time point.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":81.7-82.7, see this pretty print.)
Generated getter method.Copies values of all common fields from the argument.newEvent
(Location<XMLDocumentIdentifier> loc, Tp when) void
put_sortedByStart
(Tp key0, Event value) Convenience un-Currying method.boolean
set_context
(Container val) The Part which contains this Vox (or TimeScape for time-less global values only).
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":72.7-73.7, see this pretty print.)
Updates the (mutable) instance destructively.boolean
set_events
(CheckedSet<Event> val) All events related to this voice.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":78.7-79.7, see this pretty print.)
Updates the (mutable) instance destructively.boolean
Name as it appears eg.boolean
All parameter names which appear in this voice.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":88.7-89.7, see this pretty print.)
Updates the (mutable) instance destructively.boolean
All events related to this voice, in sequential order of the source text position, which in nearly all cases corresponds to temporal order.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":84.7-85.7, see this pretty print.)
Updates the (mutable) instance destructively.boolean
All events related to this voice, sorted by their time point.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":81.7-82.7, see this pretty print.)
Updates the (mutable) instance destructively.Methods inherited from class eu.bandm.tscore.model.Container
containsKey_voices, descend_timelesslist, descend_voices, descend_voicesBySource, get_conform, get_timelesslist, get_voices, get_voicesBySource, put_voices, set_conform, set_timelesslist, set_voices, set_voicesBySource
-
Field Details
-
context
The Part which contains this Vox (or TimeScape for time-less global values only).(This definition has been created by UMod from the source at SYSTEM "tscore.umod":72.7-73.7, see this pretty print.)
The type of this field isContainer
(nevernull
)
It is set by every possible constructor.- See Also:
-
name
Name as it appears eg. in a source file. The name establishes the voice's identity.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":75.7-76.7, see this pretty print.)
The type of this field is java.lang.String(nevernull
)
It is set by every possible constructor.- See Also:
-
events
All events related to this voice.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":78.7-79.7, see this pretty print.)
The type of this field isCheckedSet
<Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
sortedByStart
All events related to this voice, sorted by their time point.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":81.7-82.7, see this pretty print.)
The type of this field isCheckedMap_RD
<Tp
(nevernull
),Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
sortedBySource
All events related to this voice, in sequential order of the source text position, which in nearly all cases corresponds to temporal order.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":84.7-85.7, see this pretty print.)
The type of this field isCheckedList
<Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
parameterNames
All parameter names which appear in this voice.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":88.7-89.7, see this pretty print.)
The type of this field isCheckedSet
<java.lang.String(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
-
Constructor Details
-
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
-
newEvent
-
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_context
The Part which contains this Vox (or TimeScape for time-less global values only).(This definition has been created by UMod from the source at SYSTEM "tscore.umod":72.7-73.7, see this pretty print.)
Generated getter method.- Overrides:
get_context
in classContainer
- Returns:
- The current field value of type
Container
(nevernull
) - See Also:
-
set_context
The Part which contains this Vox (or TimeScape for time-less global values only).(This definition has been created by UMod from the source at SYSTEM "tscore.umod":72.7-73.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeContainer
(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_name
Name as it appears eg. in a source file. The name establishes the voice's identity.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":75.7-76.7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(never
null
) - See Also:
-
set_name
Name as it appears eg. in a source file. The name establishes the voice's identity.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":75.7-76.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_events
All events related to this voice.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":78.7-79.7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedSet
<Event
(nevernull
)>(nevernull
) - See Also:
-
set_events
All events related to this voice.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":78.7-79.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedSet
<Event
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
descend_events
Deprecated. -
get_sortedByStart
All events related to this voice, sorted by their time point.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":81.7-82.7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedMap_RD
<Tp
(nevernull
),Event
(nevernull
)>(nevernull
) - See Also:
-
set_sortedByStart
All events related to this voice, sorted by their time point.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":81.7-82.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<Tp
(nevernull
),Event
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
put_sortedByStart
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 typeEvent
(nevernull
)- See Also:
-
containsKey_sortedByStart
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_sortedByStart
Deprecated. -
get_sortedBySource
All events related to this voice, in sequential order of the source text position, which in nearly all cases corresponds to temporal order.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":84.7-85.7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList
<Event
(nevernull
)>(nevernull
) - See Also:
-
set_sortedBySource
All events related to this voice, in sequential order of the source text position, which in nearly all cases corresponds to temporal order.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":84.7-85.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<Event
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
descend_sortedBySource
Deprecated. -
get_parameterNames
All parameter names which appear in this voice.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":88.7-89.7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedSet
<java.lang.String(nevernull
)>(nevernull
) - See Also:
-
set_parameterNames
All parameter names which appear in this voice.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":88.7-89.7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedSet
<java.lang.String(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-