Class ImportContext

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

public class ImportContext 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":36.3-44.52, see this pretty print.)
  • Field Details

  • Constructor Details

    • ImportContext

      public ImportContext(ImportContext predec, ImportItem importItem, String moduleAddress, Module rawModule, String key, int level)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      predec - is copied to field predec
      importItem - is copied to field importItem
      moduleAddress - is copied to field moduleAddress
      rawModule - is copied to field rawModule
      key - is copied to field key
      level - is copied to field level
    • ImportContext

      public ImportContext(ImportItem importItem, String moduleAddress, Module rawModule, String key, int level)
      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:
      importItem - is copied to field importItem
      moduleAddress - is copied to field moduleAddress
      rawModule - is copied to field rawModule
      key - is copied to field key
      level - is copied to field level
    • ImportContext

      ImportContext()
  • Method Details

    • doclone

      public ImportContext 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 ImportContext 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 ImportContext get_predec()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":37.5-52, see this pretty print.)
      Generated getter method. @see #predec
      Returns:
      The current field value of type ImportContext(maybe null)
    • set_predec

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

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

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

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

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

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

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

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

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

      public CheckedMap_D<String,ImportContext> get_subs()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":42.5-40, see this pretty print.)
      Generated getter method. @see #subs
      Returns:
      The current field value of type CheckedMap_D<java.lang.String(never null),ImportContext(maybe null)>(never null)
    • set_subs

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

      public void put_subs(String key0, ImportContext 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 ImportContext(maybe null)
      See Also:
    • containsKey_subs

      public boolean containsKey_subs(String key0)
      Convenience un-Currying method.
      Returns:
      whether there exists a chain of collection objects to the given co-ordinate.
      See Also:
    • descend_subs

      @Deprecated public void descend_subs(MATCH_ONLY_00 visitor)
      Deprecated.
    • get_level

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

      public boolean set_level(int val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "Rt.umod":44.5-52, 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:
    • get_predec

      public static Pattern<ImportContext> get_predec(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_importItem

      public static Pattern<ImportContext> get_importItem(Pattern<? super ImportItem> 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_moduleAddress

      public static Pattern<ImportContext> get_moduleAddress(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_rawModule

      public static Pattern<ImportContext> get_rawModule(Pattern<? super Module> 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_key

      public static Pattern<ImportContext> get_key(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_subs

      public static Pattern<ImportContext> get_subs(Pattern<? super CheckedMap_D<String,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_level

      public static Pattern<ImportContext> get_level(Pattern<? super Integer> 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.