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
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).protected CheckedSet<Event>
All events related to this voice.protected String
Name as it appears eg.protected CheckedSet<String>
All parameter names which appear in this voice.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.protected CheckedMap_RD<Tp,
Event> All events related to this voice, sorted by their time point.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).All events related to this voice.get_name()
Name as it appears eg.All parameter names which appear in this voice.All events related to this voice, in sequential order of the source text position, which in nearly all cases corresponds to temporal order.All events related to this voice, sorted by their time point.Copies values of all common fields from the argument.newEvent
(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.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).boolean
set_events
(CheckedSet<Event> val) All events related to this voice.boolean
Name as it appears eg.boolean
All parameter names which appear in this voice.boolean
All events related to this voice, in sequential order of the source text position, which in nearly all cases corresponds to temporal order.boolean
All events related to this voice, sorted by their time point.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
(never null)
It is set by every possible constructor. -
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(never null)
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
(never null)>(never null)
Its value defaults to an empty collection. -
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
(never null),Event
(never null)>(never null)
Its value defaults to an empty collection. -
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
(never null)>(never null)
Its value defaults to an empty collection. -
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(never null)>(never null)
Its value defaults to an empty collection.
-
-
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. @see #context- Overrides:
get_context
in classContainer
- Returns:
- The current field value of type
Container
(never null)
-
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. -
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. @see #name- Returns:
- The current field value of type java.lang.String(never null)
-
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(never null)- 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. @see #events- Returns:
- The current field value of type
CheckedSet
<Event
(never null)>(never null)
-
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
(never null)>(never null)- 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. @see #sortedByStart- Returns:
- The current field value of type
CheckedMap_RD
<Tp
(never null),Event
(never null)>(never null)
-
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
(never null),Event
(never null)>(never null)- 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
(never null)- 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. @see #sortedBySource- Returns:
- The current field value of type
CheckedList
<Event
(never null)>(never null)
-
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
(never null)>(never null)- 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. @see #parameterNames- Returns:
- The current field value of type
CheckedSet
<java.lang.String(never null)>(never null)
-
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(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-