Class TimeScape

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

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-10-23_14h01m22") public class TimeScape extends Container
Top container which relates time points, voices and events. Can be the result of source file parsing, or filled programmatically.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":48.4-13, see this pretty print.)
  • Field Details

  • Constructor Details

    • TimeScape

      public TimeScape()
      Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
      (All object fields are set to their default values.)

  • Method Details

    • doclone

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

      Overrides:
      doclone in class Container
      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
      Overrides:
      format in class Container
      Returns:
      a format that represents this object in a pretty-printable way
    • singlePart

      public boolean singlePart()
    • initFrom

      public TimeScape 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.
      Overrides:
      initFrom in class Container
    • get_parts

      public NonNullMap<String,Part> get_parts()
      Different parts of one score file, by their names.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":53.6-11, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullMap<java.lang.String(never null),Part(never null)>(never null)
      See Also:
    • set_parts

      public boolean set_parts(NonNullMap<String,Part> val)
      Different parts of one score file, by their names.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":53.6-11, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullMap<java.lang.String(never null),Part(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • put_parts

      public void put_parts(String key0, Part 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 type Part(never null)
      See Also:
    • containsKey_parts

      public boolean containsKey_parts(String key0)
      Convenience un-Currying method.
      Returns:
      whether there exists a chain of collection objects to the given co-ordinate.
      See Also:
    • descend_parts

      @Deprecated public void descend_parts(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_parts(this) or visitor.followAll_parts(this) instead.
    • get_partsBySource

      public NonNullList<Part> get_partsBySource()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":56.6-19, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullList<Part(never null)>(never null)
      See Also:
    • set_partsBySource

      public boolean set_partsBySource(NonNullList<Part> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":56.6-19, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullList<Part(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_partsBySource

      @Deprecated public void descend_partsBySource(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_partsBySource(this) or visitor.followAll_partsBySource(this) instead.
    • get_lastVoiceLine

      public NonNullMap<Object,Integer> get_lastVoiceLine()
      Last input line for a voice in (/the "T" lines of) an accolade. Key is the first Event (/Tp). Being a key marks that event or timepoint is the start of an accolade.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":58.6-19, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullMap<Object(never null),java.lang.Integer(never null)>(never null)
      See Also:
    • set_lastVoiceLine

      public boolean set_lastVoiceLine(NonNullMap<Object,Integer> val)
      Last input line for a voice in (/the "T" lines of) an accolade. Key is the first Event (/Tp). Being a key marks that event or timepoint is the start of an accolade.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":58.6-19, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullMap<Object(never null),java.lang.Integer(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • put_lastVoiceLine

      public void put_lastVoiceLine(Object key0, int 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 type int(never null)
      See Also:
    • containsKey_lastVoiceLine

      public boolean containsKey_lastVoiceLine(Object key0)
      Convenience un-Currying method.
      Returns:
      whether there exists a chain of collection objects to the given co-ordinate.
      See Also:
    • descend_lastVoiceLine

      @Deprecated public void descend_lastVoiceLine(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_lastVoiceLine(this) or visitor.followAll_lastVoiceLine(this) instead.
    • get_lastAccoladeLine

      public NonNullMap<Tp,Integer> get_lastAccoladeLine()
      Last input line for the whole accolade. Key is the first Tp.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":64.6-22, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullMap<Tp(never null),java.lang.Integer(never null)>(never null)
      See Also:
    • set_lastAccoladeLine

      public boolean set_lastAccoladeLine(NonNullMap<Tp,Integer> val)
      Last input line for the whole accolade. Key is the first Tp.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":64.6-22, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullMap<Tp(never null),java.lang.Integer(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • put_lastAccoladeLine

      public void put_lastAccoladeLine(Tp key0, int 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 type int(never null)
      See Also:
    • containsKey_lastAccoladeLine

      public boolean containsKey_lastAccoladeLine(Tp key0)
      Convenience un-Currying method.
      Returns:
      whether there exists a chain of collection objects to the given co-ordinate.
      See Also:
    • descend_lastAccoladeLine

      @Deprecated public void descend_lastAccoladeLine(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_lastAccoladeLine(this) or visitor.followAll_lastAccoladeLine(this) instead.