Package eu.bandm.tscore.model
Class Event
java.lang.Object
eu.bandm.tscore.model.Event
- All Implemented Interfaces:
Formattable
,Cloneable
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.protected eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
The text position of its external representations.static final String
protected CheckedMap_RD<String,
CheckedList<CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>, String>>> Central means for describing music: All parameters this event can have, sorted by their name.protected Tp
The time point when it ends, if this is sensible.protected Vox
The voice it belongs to.protected Tp
The time point when it happens, or begins.static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add_params
(String key0, CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.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.eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
The text position of its external representations.CheckedMap_RD<String,
CheckedList<CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>, String>>> Central means for describing music: All parameters this event can have, sorted by their name.get_upto()
The time point when it ends, if this is sensible.The voice it belongs to.get_when()
The time point when it happens, or begins.Copies values of all common fields from the argument.void
put_params
(String key0, CheckedList<CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>, String>> value) Convenience un-Currying method.boolean
All sets of events this event has been added to.boolean
set_location
(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> val) The text position of its external representations.boolean
set_params
(CheckedMap_RD<String, CheckedList<CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>, String>>> val) Central means for describing music: All parameters this event can have, sorted by their name.boolean
The time point when it ends, if this is sensible.boolean
The voice it belongs to.boolean
The time point when it happens, or begins.
-
Field Details
-
main_parameter_name
- See Also:
-
when_parameter_name
- See Also:
-
location
protected eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> locationThe 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
(never null)
It is set by every possible constructor. -
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
(never null)
It is set by every possible constructor. -
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
(never null)
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
(maybe null)
Its value defaults to null.- 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
(never null)>(never null)
Its value defaults to an empty collection. -
params
protected CheckedMap_RD<String,CheckedList<CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.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(never null),CheckedList
<CheckedPair_LR
<Location
(never null),java.lang.String(never null)>(never null)>(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.- 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
public eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> 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. @see #location- Returns:
- The current field value of type
Location
(never null)
-
set_location
public boolean set_location(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> val) 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
(never null)- 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. @see #voice- Returns:
- The current field value of type
Vox
(never null)
-
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. -
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. @see #when- Returns:
- The current field value of type
Tp
(never null)
-
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. -
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. @see #upto- Returns:
- The current field value of type
Tp
(maybe null)
-
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. -
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. @see #containedIn- Returns:
- The current field value of type
CheckedSet
<EventSet
(never null)>(never null)
-
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
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_containedIn
Deprecated. -
get_params
public CheckedMap_RD<String,CheckedList<CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.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. @see #params- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(never null),CheckedList
<CheckedPair_LR
<Location
(never null),java.lang.String(never null)>(never null)>(never null)>(never null)
-
set_params
public boolean set_params(CheckedMap_RD<String, CheckedList<CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.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(never null),CheckedList
<CheckedPair_LR
<Location
(never null),java.lang.String(never null)>(never null)>(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
put_params
public void put_params(String key0, CheckedList<CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.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
(never null),java.lang.String(never null)>(never null)>(never null)- See Also:
-
add_params
public void add_params(String key0, CheckedPair_LR<eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.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 typeCheckedPair_LR
<Location
(never null),java.lang.String(never null)>(never null)- 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.
-