Class Binding

java.lang.Object
eu.bandm.tools.d2d2.rt.Binding
All Implemented Interfaces:
Formattable, Cloneable

public class Binding extends Object implements Cloneable, Formattable
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "Rt.umod":46.3-53.12, see this pretty print.)
  • Field Details

  • Constructor Details

    • Binding

      public Binding(Binding predec, String id, Expression exp, ImportContext context, String definitionName)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      predec - is copied to field predec
      id - is copied to field id
      exp - is copied to field exp
      context - is copied to field context
      definitionName - is copied to field definitionName
    • Binding

      public Binding(String id, Expression exp, ImportContext context)
      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
      exp - is copied to field exp
      context - is copied to field context
    • Binding

      Binding()
  • Method Details

    • doclone

      public Binding doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Returns:
      a fresh copy.
    • getFormatHint

      public static String getFormatHint()
      Delivers the format specification from the umod source.
      The constant return value is ..
      exp'/'id( 'IN' definitionName?)
      This can be used e.g. by format code interpreters which process objects of different origin.
    • format

      public Format format()
      Delivers a format object for pretty-printing, as specified in the umod source.
      Specified by:
      format in interface Formattable
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public Binding 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_predec

      public Binding get_predec()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":47.5-49, see this pretty print.)
      Generated getter method. @see #predec
      Returns:
      The current field value of type Binding(maybe null)
    • set_predec

      public boolean set_predec(Binding val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":47.5-49, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type Binding(maybe null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • 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 "Rt.umod":48.5-49, 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 "Rt.umod":48.5-49, 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_exp

      public Expression get_exp()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":49.5-49, see this pretty print.)
      Generated getter method. @see #exp
      Returns:
      The current field value of type Expression(never null)
    • set_exp

      public boolean set_exp(Expression val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":49.5-49, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type Expression(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_context

      public ImportContext get_context()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":50.5-49, see this pretty print.)
      Generated getter method. @see #context
      Returns:
      The current field value of type ImportContext(never null)
    • set_context

      public boolean set_context(ImportContext val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":50.5-49, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type ImportContext(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_definitionName

      public String get_definitionName()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":51.5-49, see this pretty print.)
      Generated getter method. @see #definitionName
      Returns:
      The current field value of type java.lang.String(maybe null)
    • set_definitionName

      public boolean set_definitionName(String val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":51.5-49, 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_used

      public boolean get_used()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":52.5-32, see this pretty print.)
      Generated getter method. @see #used
      Returns:
      The current field value of type boolean(never null)
    • set_used

      public boolean set_used(boolean val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":52.5-32, 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_predec

      public static Pattern<Binding> get_predec(Pattern<? super Binding> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_id

      public static Pattern<Binding> get_id(Pattern<? super String> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_exp

      public static Pattern<Binding> get_exp(Pattern<? super Expression> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_context

      public static Pattern<Binding> get_context(Pattern<? super ImportContext> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_definitionName

      public static Pattern<Binding> get_definitionName(Pattern<? super String> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.
    • get_used

      public static Pattern<Binding> get_used(Pattern<? super Boolean> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class __Patterns.