Package eu.bandm.tscore.model
Class EventSet
java.lang.Object
eu.bandm.tscore.model.EventSet
- All Implemented Interfaces:
Formattable
,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-01-13_23h06m58")
public class EventSet
extends Object
implements Cloneable, Formattable
Collections of one or more Events, representing a
musical notion.
(This definition has been created by UMod from
the source at SYSTEM "tscore.umod":227.3-257.5, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected CheckedList
<Event> The sequential order in which the events have been added.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":241.5-242.5, see this pretty print.)
The type of this field isCheckedList
<Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.protected String
The external representation of the "right" end of the event set, if sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":238.5-239.5, see this pretty print.)
The type of this field is java.lang.String(maybenull
)
Its value defaults tonull
.protected CheckedSet
<Event> All events contained herein.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":232.5-233.5, see this pretty print.)
The type of this field isCheckedSet
<Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.protected Boolean
Wether the set is continguous or has gaps.protected String
Name of the sevent set, to identify it.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":229.5-230.5, see this pretty print.)
The type of this field is java.lang.String(nevernull
)
It is set by every possible constructor.protected Boolean
Wether the set is "monodic" or at least two events overlap.protected String
The external representation of the "left" end of the event set, if sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":235.5-236.5, see this pretty print.)
The type of this field is java.lang.String(maybenull
)
Its value defaults tonull
.protected CheckedSet
<Vox> All voices events of which appear in the set. -
Constructor Summary
ConstructorDescriptionEventSet()
Constructor generated according to specification #0
Constructor defined according to directive "C 0/.."
.Constructor generated according to specification #1
Constructor defined according to directive "C 1/.."
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Deprecated.void
descend_events
(MATCH_ONLY_00 visitor) Deprecated.void
descend_voices
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.The sequential order in which the events have been added.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":241.5-242.5, see this pretty print.)
Generated getter method.The external representation of the "right" end of the event set, if sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":238.5-239.5, see this pretty print.)
Generated getter method.All events contained herein.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":232.5-233.5, see this pretty print.)
Generated getter method.Wether the set is continguous or has gaps.get_name()
Name of the sevent set, to identify it.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":229.5-230.5, see this pretty print.)
Generated getter method.Wether the set is "monodic" or at least two events overlap.The external representation of the "left" end of the event set, if sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":235.5-236.5, see this pretty print.)
Generated getter method.All voices events of which appear in the set.Copies values of all common fields from the argument.boolean
The sequential order in which the events have been added.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":241.5-242.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
set_endText
(String val) The external representation of the "right" end of the event set, if sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":238.5-239.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
set_events
(CheckedSet<Event> val) All events contained herein.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":232.5-233.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
set_hasgaps
(Boolean val) Wether the set is continguous or has gaps.boolean
Name of the sevent set, to identify it.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":229.5-230.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
set_overlapping
(Boolean val) Wether the set is "monodic" or at least two events overlap.boolean
set_startText
(String val) The external representation of the "left" end of the event set, if sensible.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":235.5-236.5, see this pretty print.)
Updates the (mutable) instance destructively.boolean
set_voices
(CheckedSet<Vox> val) All voices events of which appear in the set.
-
Field Details
-
name
Name of the sevent set, to identify it.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":229.5-230.5, 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 contained herein.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":232.5-233.5, see this pretty print.)
The type of this field isCheckedSet
<Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
startText
The external representation of the "left" end of the event set, if sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":235.5-236.5, see this pretty print.)
The type of this field is java.lang.String(maybenull
)
Its value defaults tonull
.- See Also:
-
endText
The external representation of the "right" end of the event set, if sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":238.5-239.5, see this pretty print.)
The type of this field is java.lang.String(maybenull
)
Its value defaults tonull
.- See Also:
-
constructionSequence
The sequential order in which the events have been added.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":241.5-242.5, see this pretty print.)
The type of this field isCheckedList
<Event
(nevernull
)>(nevernull
)
Its value defaults to an empty collection.- See Also:
-
overlapping
Wether the set is "monodic" or at least two events overlap. (This value can onyl be set after possibly expensiv analysis.)(This definition has been created by UMod from the source at SYSTEM "tscore.umod":244.5-245.5, see this pretty print.)
The type of this field is java.lang.Boolean(maybenull
)
Its value defaults tonull
.- See Also:
-
hasgaps
Wether the set is continguous or has gaps. (This value can only be set after possibly expensiv analysis.)(This definition has been created by UMod from the source at SYSTEM "tscore.umod":248.5-249.5, see this pretty print.)
The type of this field is java.lang.Boolean(maybenull
)
Its value defaults tonull
.- See Also:
-
voices
All voices events of which appear in the set. TOSTRING JAVA return "{EVENT SET \""+name+"\" ,events = "+ constructionSequence +" start/endText = \""+startText+"\"/\""+endText+"\" }" ;(This definition has been created by UMod from the source at SYSTEM "tscore.umod":252.5-253.5, see this pretty print.)
The type of this field isCheckedSet
<Vox
(nevernull
)>(maybenull
)
Its value defaults tonull
.- See Also:
-
-
Constructor Details
-
EventSet
Constructor generated according to specification #0
Constructor defined according to directive "C 0/.."
.- Parameters:
name
- is copied to fieldname
-
EventSet
Constructor generated according to specification #1
Constructor defined according to directive "C 1/.."
. -
EventSet
EventSet()
-
-
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
-
add
-
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_name
Name of the sevent set, to identify it.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":229.5-230.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(never
null
) - See Also:
-
set_name
Name of the sevent set, to identify it.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":229.5-230.5, 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 contained herein.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":232.5-233.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedSet
<Event
(nevernull
)>(nevernull
) - See Also:
-
set_events
All events contained herein.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":232.5-233.5, 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_startText
The external representation of the "left" end of the event set, if sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":235.5-236.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(maybe
null
) - See Also:
-
set_startText
The external representation of the "left" end of the event set, if sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":235.5-236.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(maybenull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_endText
The external representation of the "right" end of the event set, if sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":238.5-239.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(maybe
null
) - See Also:
-
set_endText
The external representation of the "right" end of the event set, if sensible.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":238.5-239.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(maybenull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_constructionSequence
The sequential order in which the events have been added.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":241.5-242.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList
<Event
(nevernull
)>(nevernull
) - See Also:
-
set_constructionSequence
The sequential order in which the events have been added.(This definition has been created by UMod from the source at SYSTEM "tscore.umod":241.5-242.5, 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_constructionSequence
Deprecated. -
get_overlapping
Wether the set is "monodic" or at least two events overlap. (This value can onyl be set after possibly expensiv analysis.)(This definition has been created by UMod from the source at SYSTEM "tscore.umod":244.5-245.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.Boolean(maybe
null
) - See Also:
-
set_overlapping
Wether the set is "monodic" or at least two events overlap. (This value can onyl be set after possibly expensiv analysis.)(This definition has been created by UMod from the source at SYSTEM "tscore.umod":244.5-245.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.Boolean(maybenull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_hasgaps
Wether the set is continguous or has gaps. (This value can only be set after possibly expensiv analysis.)(This definition has been created by UMod from the source at SYSTEM "tscore.umod":248.5-249.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.Boolean(maybe
null
) - See Also:
-
set_hasgaps
Wether the set is continguous or has gaps. (This value can only be set after possibly expensiv analysis.)(This definition has been created by UMod from the source at SYSTEM "tscore.umod":248.5-249.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.Boolean(maybenull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_voices
All voices events of which appear in the set. TOSTRING JAVA return "{EVENT SET \""+name+"\" ,events = "+ constructionSequence +" start/endText = \""+startText+"\"/\""+endText+"\" }" ;(This definition has been created by UMod from the source at SYSTEM "tscore.umod":252.5-253.5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedSet
<Vox
(nevernull
)>(maybenull
) - See Also:
-
set_voices
All voices events of which appear in the set. TOSTRING JAVA return "{EVENT SET \""+name+"\" ,events = "+ constructionSequence +" start/endText = \""+startText+"\"/\""+endText+"\" }" ;(This definition has been created by UMod from the source at SYSTEM "tscore.umod":252.5-253.5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedSet
<Vox
(nevernull
)>(maybenull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
descend_voices
Deprecated.
-