Class EventSet

java.lang.Object
eu.bandm.tscore.model.EventSet
All Implemented Interfaces:
Formattable, Cloneable

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-10-23_14h01m22") 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":256.2-10, see this pretty print.)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected NonNullList<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":272.4-24, see this pretty print.)
    The type of this field is NonNullList<Event(never null)>(never null)
    Its value defaults to an empty collection.

    protected @Opt 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":268.4-11, see this pretty print.)
    The type of this field is java.lang.String(maybe null)
    Its value defaults to null.

    protected NonNullSet<Event>
    All events contained herein.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":261.4-10, see this pretty print.)
    The type of this field is NonNullSet<Event(never null)>(never null)
    Its value defaults to an empty collection.

    protected @Opt 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":258.4-8, see this pretty print.)
    The type of this field is java.lang.String(never null)
    It is set by every possible constructor.

    protected @Opt Boolean
    Wether the set is "monodic" or at least two events overlap.
    protected @Opt 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":264.4-13, see this pretty print.)
    The type of this field is java.lang.String(maybe null)
    Its value defaults to null.

    protected @Opt NonNullSet<Vox>
    All voices events of which appear in the set.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Constructor defined according to directive »C 0/..«.

    EventSet(String name, @Opt String startText)
    Constructor defined according to directive »C 1/..«.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(Event ev)
     
    void
    Deprecated.
    Use visitor.follow_constructionSequence(this) or visitor.followAll_constructionSequence(this) instead.
    void
    Deprecated.
    Use visitor.follow_events(this) or visitor.followAll_events(this) instead.
    void
    Deprecated.
    Use visitor.follow_voices(this) or visitor.followAll_voices(this) instead.
    Clones this object.
    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":272.4-24, 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":268.4-11, 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":261.4-10, see this pretty print.)
    Generated getter method.
    Wether the set is continguous or has gaps.
    Name of the sevent set, to identify it.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":258.4-8, 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":264.4-13, 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":272.4-24, see this pretty print.)
    Updates the (mutable) instance destructively.
    boolean
    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":268.4-11, see this pretty print.)
    Updates the (mutable) instance destructively.
    boolean
    All events contained herein.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":261.4-10, see this pretty print.)
    Updates the (mutable) instance destructively.
    boolean
    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":258.4-8, see this pretty print.)
    Updates the (mutable) instance destructively.
    boolean
    Wether the set is "monodic" or at least two events overlap.
    boolean
    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":264.4-13, see this pretty print.)
    Updates the (mutable) instance destructively.
    boolean
    All voices events of which appear in the set.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • EventSet

      public EventSet(String name)
      Constructor defined according to directive »C 0/..«.

      Parameters:
      name - is copied to field name
    • EventSet

      public EventSet(String name, @Opt String startText)
      Constructor defined according to directive »C 1/..«.

      Parameters:
      name - is copied to field name
      startText - is copied to field startText
    • EventSet

      EventSet()
  • Method Details

    • doclone

      public EventSet doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.

      Returns:
      a fresh copy.
    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Returns:
      a format that represents this object in a pretty-printable way
    • add

      public void add(Event ev)
    • initFrom

      public EventSet initFrom(Object o0)
      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

      public String get_name()
      Name of the sevent set, to identify it.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":258.4-8, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.String(never null)
      See Also:
    • set_name

      public boolean set_name(String val)
      Name of the sevent set, to identify it.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":258.4-8, 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

      public NonNullSet<Event> get_events()
      All events contained herein.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":261.4-10, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullSet<Event(never null)>(never null)
      See Also:
    • set_events

      public boolean set_events(NonNullSet<Event> val)
      All events contained herein.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":261.4-10, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullSet<Event(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_events

      @Deprecated public void descend_events(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_events(this) or visitor.followAll_events(this) instead.
    • get_startText

      public @Opt String 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":264.4-13, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.String(maybe null)
      See Also:
    • set_startText

      public boolean set_startText(@Opt 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":264.4-13, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type java.lang.String(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_endText

      public @Opt String 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":268.4-11, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.String(maybe null)
      See Also:
    • set_endText

      public boolean set_endText(@Opt 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":268.4-11, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type java.lang.String(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_constructionSequence

      public NonNullList<Event> 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":272.4-24, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullList<Event(never null)>(never null)
      See Also:
    • set_constructionSequence

      public boolean set_constructionSequence(NonNullList<Event> val)
      The sequential order in which the events have been added.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":272.4-24, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullList<Event(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_constructionSequence

      @Deprecated public void descend_constructionSequence(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_constructionSequence(this) or visitor.followAll_constructionSequence(this) instead.
    • get_overlapping

      public @Opt Boolean 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":275.4-15, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.Boolean(maybe null)
      See Also:
    • set_overlapping

      public boolean set_overlapping(@Opt Boolean val)
      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":275.4-15, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type java.lang.Boolean(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_hasgaps

      public @Opt Boolean 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":279.4-11, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.Boolean(maybe null)
      See Also:
    • set_hasgaps

      public boolean set_hasgaps(@Opt Boolean val)
      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":279.4-11, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type java.lang.Boolean(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_voices

      public @Opt NonNullSet<Vox> 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":283.4-10, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullSet<Vox(never null)>(maybe null)
      See Also:
    • set_voices

      public boolean set_voices(@Opt NonNullSet<Vox> val)
      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":283.4-10, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullSet<Vox(never null)>(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_voices

      @Deprecated public void descend_voices(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_voices(this) or visitor.followAll_voices(this) instead.