Class TimeScape

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

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":41.3-48.29, see this pretty print.)
  • Field Details

  • Constructor Details

    • TimeScape

      public TimeScape()
      Synthetic minimal constructor provided by the umod compiler.
      Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by 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 CheckedMap_RD<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":46.7-47.7, see this pretty print.)
      Generated getter method. @see #parts
      Returns:
      The current field value of type CheckedMap_RD<java.lang.String(never null),Part(never null)>(never null)
    • set_parts

      public boolean set_parts(CheckedMap_RD<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":46.7-47.7, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type CheckedMap_RD<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.
    • get_partsBySource

      public CheckedList<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":48.7-29, see this pretty print.)
      Generated getter method. @see #partsBySource
      Returns:
      The current field value of type CheckedList<Part(never null)>(never null)
    • set_partsBySource

      public boolean set_partsBySource(CheckedList<Part> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":48.7-29, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type CheckedList<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.