Class Part

All Implemented Interfaces:
Formattable, Cloneable

public class Part extends Container
Part of a time scape = of a parsed source text file.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":50.3-65.7, see this pretty print.)
  • Field Details

  • Constructor Details

    • Part

      public Part(TimeScape context, eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> location, String name)
      Constructor generated according to specification #1
      Constructor defined according to directive "C 1/..".
      Parameters:
      context - is copied to field context
      location - is copied to field location
      name - is copied to field name
    • Part

      Part()
  • Method Details

    • doclone

      public Part 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
    • initFrom

      public Part 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_context

      public TimeScape get_context()
      The score this part is part of.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":53.7-54.7, see this pretty print.)
      Generated getter method. @see #context
      Overrides:
      get_context in class Container
      Returns:
      The current field value of type TimeScape(never null)
    • set_context

      public boolean set_context(Container val)
      The score this part is part of.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":53.7-54.7, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type TimeScape(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_location

      public eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> get_location()
      The text position of its external representations.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":56.7-57.7, see this pretty print.)
      Generated getter method. @see #location
      Returns:
      The current field value of type Location(never null)
    • set_location

      public boolean set_location(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> val)
      The text position of its external representations.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":56.7-57.7, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type Location(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_name

      public String get_name()
      The name of the part (eg. as written in the score file).
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":59.7-60.7, 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)
      The name of the part (eg. as written in the score file).
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":59.7-60.7, 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_tlines

      public CheckedList<CheckedList<TpTop>> get_tlines()
      The input lines starting with "T" and giving the top time points.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":62.7-63.7, see this pretty print.)
      Generated getter method. @see #tlines
      Returns:
      The current field value of type CheckedList<CheckedList<TpTop(never null)>(never null)>(never null)
    • set_tlines

      public boolean set_tlines(CheckedList<CheckedList<TpTop>> val)
      The input lines starting with "T" and giving the top time points.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":62.7-63.7, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type CheckedList<CheckedList<TpTop(never null)>(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_tlines

      @Deprecated public void descend_tlines(MATCH_ONLY_00 visitor)
      Deprecated.