Class EventSet

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

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 Details

  • Constructor Details

    • EventSet

      public EventSet(String name)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      name - is copied to field name
    • EventSet

      public EventSet(String name, String startText)
      Constructor generated according to specification #1
      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":229.5-230.5, see this pretty print.)
      Generated getter method. @see #name
      Returns:
      The current field value of type java.lang.String(never null)
    • 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":229.5-230.5, 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 CheckedSet<Event> 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. @see #events
      Returns:
      The current field value of type CheckedSet<Event(never null)>(never null)
    • set_events

      public 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.
      Parameters:
      val - the new value of type CheckedSet<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.
    • get_startText

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

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

      public 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.
      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 CheckedList<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":241.5-242.5, see this pretty print.)
      Generated getter method. @see #constructionSequence
      Returns:
      The current field value of type CheckedList<Event(never null)>(never null)
    • set_constructionSequence

      public boolean set_constructionSequence(CheckedList<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":241.5-242.5, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type CheckedList<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.
    • get_overlapping

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

      public boolean set_overlapping(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":244.5-245.5, 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 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":248.5-249.5, see this pretty print.)
      Generated getter method. @see #hasgaps
      Returns:
      The current field value of type java.lang.Boolean(maybe null)
    • set_hasgaps

      public boolean set_hasgaps(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":248.5-249.5, 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 CheckedSet<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":252.5-253.5, see this pretty print.)
      Generated getter method. @see #voices
      Returns:
      The current field value of type CheckedSet<Vox(never null)>(maybe null)
    • set_voices

      public boolean set_voices(CheckedSet<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":252.5-253.5, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type CheckedSet<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.