Class Assignment

java.lang.Object
eu.bandm.tscore.model.Timeless
eu.bandm.tscore.model.Assignment
All Implemented Interfaces:
Formattable, Cloneable

public class Assignment extends Timeless
Assigns to a qualified identifier an optional value. (This can in turn be an assignemnt.)
(This definition has been created by UMod from the source at SYSTEM "tscore.umod":272.3-276.6, see this pretty print.)
  • Field Details

  • Constructor Details

    • Assignment

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

      public Assignment(String id)
      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:
      id - is copied to field id
    • Assignment

      Assignment()
  • Method Details

    • doclone

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

      public Assignment 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 Timeless
    • get_id

      public String get_id()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":274.6-51, see this pretty print.)
      Generated getter method. @see #id
      Returns:
      The current field value of type java.lang.String(never null)
    • set_id

      public boolean set_id(String val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":274.6-51, 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_value

      public Timeless get_value()
      The value assigned to the identifier.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":275.6-276.6, see this pretty print.)
      Generated getter method. @see #value
      Returns:
      The current field value of type Timeless(maybe null)
    • set_value

      public boolean set_value(Timeless val)
      The value assigned to the identifier.
      (This definition has been created by UMod from the source at SYSTEM "tscore.umod":275.6-276.6, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type Timeless(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also: