Class TpTop

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

public class TpTop extends Tp
A time point corresponding to a text token in the "T" line of the input score. The text input corresponds to some time or duration indication system.
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":168.3-180.17, see this pretty print.)
  • Field Details

    • absTime_text

      protected String absTime_text
      Text representation found on the "T" line.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":172.7-173.7, see this pretty print.)
      The type of this field is java.lang.String(never null)
      It is set by every possible constructor.
      See Also:
    • defByEvent

      protected boolean defByEvent
      always false.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":175.7-176.7, see this pretty print.)
      The type of this field is boolean(never null)
      Its value defaults to false .
      See Also:
    • depth

      protected int depth
      always zero.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":178.7-179.7, see this pretty print.)
      The type of this field is int(never null)
      Its value defaults to 0 .
      See Also:
  • Constructor Details

    • TpTop

      public TpTop(eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> location, String absTime_text)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      location - is copied to field Tp.location
      absTime_text - is copied to field absTime_text
    • TpTop

      public TpTop(String absTime_text)
      Synthetic minimal constructor provided by the umod compiler.
      Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.
      Parameters:
      absTime_text - is copied to field absTime_text
    • TpTop

      TpTop()
  • Method Details

    • doclone

      public TpTop doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class Tp
      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 Tp
      Returns:
      a format that represents this object in a pretty-printable way
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • initFrom

      public TpTop 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 Tp
    • get_absTime_text

      public String get_absTime_text()
      Text representation found on the "T" line.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":172.7-173.7, see this pretty print.)
      Generated getter method. @see #absTime_text
      Returns:
      The current field value of type java.lang.String(never null)
    • set_absTime_text

      public boolean set_absTime_text(String val)
      Text representation found on the "T" line.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":172.7-173.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_defByEvent

      public boolean get_defByEvent()
      always false.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":175.7-176.7, see this pretty print.)
      Generated getter method. @see #defByEvent
      Overrides:
      get_defByEvent in class Tp
      Returns:
      The current field value of type boolean(never null)
    • set_defByEvent

      public boolean set_defByEvent(boolean val)
      always false.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":175.7-176.7, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type boolean(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_depth

      public int get_depth()
      always zero.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":178.7-179.7, see this pretty print.)
      Generated getter method. @see #depth
      Specified by:
      get_depth in class Tp
      Returns:
      The current field value of type int(never null)
    • set_depth

      public boolean set_depth(int val)
      always zero.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":178.7-179.7, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type int(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also: