Package eu.bandm.tscore.model
Class Event
java.lang.Object
eu.bandm.tscore.model.Event
- All Implemented Interfaces:
Formattable
,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-01-13_23h06m58")
public class Event
extends Object
implements Cloneable, Formattable
Central means for modelling music: Per each
combination of voice and time point,
at most one event is possible.
(This definition has been created by UMod from
the source at SYSTEM "tscore.umod":202.3-224.5, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected CheckedSet
<EventSet> All sets of events this event has been added to.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":217.5-218.5, see this pretty print.)
The type of this field isCheckedSet
<EventSet
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.protected Location
<XMLDocumentIdentifier> The text position of its external representations.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":205.5-206.5, see this pretty print.)
The type of this field isLocation
(nevernull
)
It is set by every possible constructor.static final String
protected CheckedMap_RD
<String, CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>, String>>> Central means for describing music: All parameters this event can have, sorted by their name.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":220.5-221.5, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(nevernull
),CheckedList
<CheckedPair_LR
<Location
(nevernull
),java.lang.String(nevernull
)>(nevernull
)>(nevernull
)>(nevernull
)
Its value defaults to an empty collection.protected Tp
The time point when it ends, if this is sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":214.5-215.5, see this pretty print.)
The type of this field isTp
(maybenull
)
Its value defaults tonull
.protected Vox
The voice it belongs to.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":208.5-209.5, see this pretty print.)
The type of this field isVox
(nevernull
)
It is set by every possible constructor.protected Tp
The time point when it happens, or begins.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":211.5-212.5, see this pretty print.)
The type of this field isTp
(nevernull
)
It is set by every possible constructor.static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add_params
(String key0, CheckedPair_LR<Location<XMLDocumentIdentifier>, String> value) Convenience un-Currying method.boolean
containsKey_params
(String key0) Convenience un-Currying method.void
descend_containedIn
(MATCH_ONLY_00 visitor) Deprecated.void
descend_params
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.All sets of events this event has been added to.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":217.5-218.5, see this pretty print.)
Generated getter method.The text position of its external representations.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":205.5-206.5, see this pretty print.)
Generated getter method.Central means for describing music: All parameters this event can have, sorted by their name.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":220.5-221.5, see this pretty print.)
Generated getter method.get_upto()
The time point when it ends, if this is sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":214.5-215.5, see this pretty print.)
Generated getter method.The voice it belongs to.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":208.5-209.5, see this pretty print.)
Generated getter method.get_when()
The time point when it happens, or begins.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":211.5-212.5, see this pretty print.)
Generated getter method.Copies values of all common fields from the argument.void
put_params
(String key0, CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>, String>> value) Convenience un-Currying method.boolean
All sets of events this event has been added to.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":217.5-218.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
The text position of its external representations.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":205.5-206.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
set_params
(CheckedMap_RD<String, CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>, String>>> val) Central means for describing music: All parameters this event can have, sorted by their name.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":220.5-221.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
The time point when it ends, if this is sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":214.5-215.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
The voice it belongs to.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":208.5-209.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
The time point when it happens, or begins.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":211.5-212.5, see this pretty print.)
Updates the (mutable) instance destructively.
-
Field Details
-
main_parameter_name
- See Also:
-
when_parameter_name
- See Also:
-
location
The text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":205.5-206.5, see this pretty print.)
The type of this field isLocation
(nevernull
)
It is set by every possible constructor.- See Also:
-
voice
The voice it belongs to.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":208.5-209.5, see this pretty print.)
The type of this field isVox
(nevernull
)
It is set by every possible constructor.- See Also:
-
when
The time point when it happens, or begins.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":211.5-212.5, see this pretty print.)
The type of this field isTp
(nevernull
)
It is set by every possible constructor.- See Also:
-
upto
The time point when it ends, if this is sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":214.5-215.5, see this pretty print.)
The type of this field isTp
(maybenull
)
Its value defaults tonull
.- See Also:
-
containedIn
All sets of events this event has been added to.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":217.5-218.5, see this pretty print.)
The type of this field isCheckedSet
<EventSet
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
params
protected CheckedMap_RD<String,CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>, paramsString>>> Central means for describing music: All parameters this event can have, sorted by their name.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":220.5-221.5, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(nevernull
),CheckedList
<CheckedPair_LR
<Location
(nevernull
),java.lang.String(nevernull
)>(nevernull
)>(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.- 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_location
The text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":205.5-206.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Location
(nevernull
) - See Also:
-
set_location
The text position of its external representations.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":205.5-206.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLocation
(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_voice
The voice it belongs to.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":208.5-209.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Vox
(nevernull
) - See Also:
-
set_voice
The voice it belongs to.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":208.5-209.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeVox
(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_when
The time point when it happens, or begins.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":211.5-212.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Tp
(nevernull
) - See Also:
-
set_when
The time point when it happens, or begins.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":211.5-212.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeTp
(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_upto
The time point when it ends, if this is sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":214.5-215.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Tp
(maybenull
) - See Also:
-
set_upto
The time point when it ends, if this is sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":214.5-215.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeTp
(maybenull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_containedIn
All sets of events this event has been added to.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":217.5-218.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedSet
<EventSet
(nevernull
)>(nevernull
) - See Also:
-
set_containedIn
All sets of events this event has been added to.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":217.5-218.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedSet
<EventSet
(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
descend_containedIn
Deprecated. -
get_params
public CheckedMap_RD<String,CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>, get_params()String>>> Central means for describing music: All parameters this event can have, sorted by their name.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":220.5-221.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(nevernull
),CheckedList
<CheckedPair_LR
<Location
(nevernull
),java.lang.String(nevernull
)>(nevernull
)>(nevernull
)>(nevernull
) - See Also:
-
set_params
public boolean set_params(CheckedMap_RD<String, CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>, String>>> val) Central means for describing music: All parameters this event can have, sorted by their name.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":220.5-221.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<java.lang.String(nevernull
),CheckedList
<CheckedPair_LR
<Location
(nevernull
),java.lang.String(nevernull
)>(nevernull
)>(nevernull
)>(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
put_params
public void put_params(String key0, CheckedList<CheckedPair_LR<Location<XMLDocumentIdentifier>, String>> value) 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 typeCheckedList
<CheckedPair_LR
<Location
(nevernull
),java.lang.String(nevernull
)>(nevernull
)>(nevernull
)- See Also:
-
add_params
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 typeCheckedPair_LR
<Location
(nevernull
),java.lang.String(nevernull
)>(nevernull
)- See Also:
-
containsKey_params
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_params
Deprecated.
-