Class Container

java.lang.Object
eu.bandm.tscore.model.Container
All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
Part, TimeScape, Vox

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-10-23_14h01m22") public class Container extends Object implements Cloneable, Formattable
Abstract base class of all event collections, which additionally carry some non-temporal ("meta") attributes.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":20.2-11, see this pretty print.)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected @Opt String
    Names a Java class which implements the rules for parsing and evaluating.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":24.4-11, see this pretty print.)
    The type of this field is java.lang.String(maybe null)
    Its value defaults to null.

    Collects time-less attributes of this container and its contents.
    protected NonNullMap<String,Vox>
    Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.
    protected NonNullList<Vox>
    All voices appearing in the score, in source order of their first appearance.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":44.4-18, see this pretty print.)
    The type of this field is NonNullList<Vox(never null)>(never null)
    Its value defaults to an empty collection.

  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    boolean
    Convenience un-Currying method.
    void
    Deprecated.
    Use visitor.follow_timelesslist(this) or visitor.followAll_timelesslist(this) instead.
    void
    Deprecated.
    Use visitor.follow_voices(this) or visitor.followAll_voices(this) instead.
    void
    Deprecated.
    Use visitor.follow_voicesBySource(this) or visitor.followAll_voicesBySource(this) instead.
    Clones this object.
    Delivers a format object for pretty-printing by inheritance from some ancestor class.
    Names a Java class which implements the rules for parsing and evaluating.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":24.4-11, see this pretty print.)
    Generated getter method.
     
    Collects time-less attributes of this container and its contents.
    Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.
    All voices appearing in the score, in source order of their first appearance.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":44.4-18, see this pretty print.)
    Generated getter method.
    Copies values of all common fields from the argument.
    void
    put_voices(String key0, Vox value)
    Convenience un-Currying method.
    Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.
    boolean
    Names a Java class which implements the rules for parsing and evaluating.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":24.4-11, see this pretty print.)
    Updates the (mutable) instance destructively.
    boolean
    Collects time-less attributes of this container and its contents.
    boolean
    Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.
    boolean
    All voices appearing in the score, in source order of their first appearance.
    (This definition has been created by UMod from the source at SYSTEM "tscore.umod":44.4-18, see this pretty print.)
    Updates the (mutable) instance destructively.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • Container

      public Container()
      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 Container 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
    • initFrom

      public Container 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_conform

      public @Opt String get_conform()
      Names a Java class which implements the rules for parsing and evaluating.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":24.4-11, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.String(maybe null)
      See Also:
    • set_conform

      public boolean set_conform(@Opt String val)
      Names a Java class which implements the rules for parsing and evaluating.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":24.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_context

      public @Opt Container get_context()
    • get_timelesslist

      public NonNullList<Timeless> get_timelesslist()
      Collects time-less attributes of this container and its contents. Typical example keys are in MetaKeys
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":35.4-16, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullList<Timeless(never null)>(never null)
      See Also:
    • set_timelesslist

      public boolean set_timelesslist(NonNullList<Timeless> val)
      Collects time-less attributes of this container and its contents. Typical example keys are in MetaKeys
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":35.4-16, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullList<Timeless(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_timelesslist

      @Deprecated public void descend_timelesslist(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_timelesslist(this) or visitor.followAll_timelesslist(this) instead.
    • get_voices

      public NonNullMap<String,Vox> get_voices()
      Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name. In parts it holds "real" voices with events.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":39.4-10, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullMap<java.lang.String(never null),Vox(never null)>(never null)
      See Also:
    • set_voices

      public boolean set_voices(NonNullMap<String,Vox> val)
      Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name. In parts it holds "real" voices with events.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":39.4-10, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullMap<java.lang.String(never null),Vox(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • put_voices

      public void put_voices(String key0, Vox 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 Vox(never null)
      See Also:
    • containsKey_voices

      public boolean containsKey_voices(String key0)
      Convenience un-Currying method.
      Returns:
      whether there exists a chain of collection objects to the given co-ordinate.
      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.
    • get_voicesBySource

      public NonNullList<Vox> get_voicesBySource()
      All voices appearing in the score, in source order of their first appearance.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":44.4-18, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullList<Vox(never null)>(never null)
      See Also:
    • set_voicesBySource

      public boolean set_voicesBySource(NonNullList<Vox> val)
      All voices appearing in the score, in source order of their first appearance.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":44.4-18, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullList<Vox(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_voicesBySource

      @Deprecated public void descend_voicesBySource(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_voicesBySource(this) or visitor.followAll_voicesBySource(this) instead.