Class ImportItem

java.lang.Object
eu.bandm.tools.d2d2.model.SourceItem
eu.bandm.tools.d2d2.model.ImportItem
All Implemented Interfaces:
Formattable, Serializable, Cloneable

public class ImportItem extends SourceItem
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":220.3-228.16, see this pretty print.)
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • doclone

      public ImportItem doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class SourceItem
      Returns:
      a fresh copy.

    • getFormatHint

      public static String getFormatHint()
      Delivers the format specification from the umod source.
      The constant return value is ..
      'import' name '=' targetURN |2>localSubsts{'in' $from $to{'^('$to'/' $from')'}[/]}[/]|2>globalSubsts{'^('$to '/' $from')'}[/]
      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
      Overrides:
      format in class SourceItem
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public ImportItem 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 SourceItem
    • get_targetURN

      public String get_targetURN()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":221.9-29, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.String(maybe null)
      See Also:
    • set_targetURN

      public boolean set_targetURN(String val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":221.9-29, 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_absolutePath

      public String get_absolutePath()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":222.9-29, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type java.lang.String(maybe null)
      See Also:
    • set_absolutePath

      public boolean set_absolutePath(String val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":222.9-29, 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_isgeneric

      public boolean get_isgeneric()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":223.9-26, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type boolean(never null)
      See Also:
    • set_isgeneric

      public boolean set_isgeneric(boolean val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":223.9-26, 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_localSubsts

      public CheckedMap_RD<String,CheckedMap_RD<String,Expression>> get_localSubsts()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":224.9-66, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type CheckedMap_RD<java.lang.String(never null),CheckedMap_RD<java.lang.String(never null),Expression(never null)>(never null)>(never null)
      See Also:
    • set_localSubsts

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

      public void put_localSubsts(String key0, CheckedMap_RD<String,Expression> 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 CheckedMap_RD<java.lang.String(never null),Expression(never null)>(never null)
      See Also:
    • put_localSubsts

      public void put_localSubsts(String key0, String key1, Expression 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 Expression(never null)
      See Also:
    • containsKey_localSubsts

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

    • containsKey_localSubsts

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

    • descend_localSubsts

      @Deprecated public void descend_localSubsts(MATCH_ONLY_00 visitor)
      Deprecated.
    • descend_0_localSubsts

      @Deprecated public void descend_0_localSubsts(MATCH_ONLY_00 visitor)
      Deprecated.
    • get_globalSubsts

      public CheckedMap_RD<String,Expression> get_globalSubsts()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":225.9-66, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type CheckedMap_RD<java.lang.String(never null),Expression(never null)>(never null)
      See Also:
    • set_globalSubsts

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

      public void put_globalSubsts(String key0, Expression 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 Expression(never null)
      See Also:
    • containsKey_globalSubsts

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

    • descend_globalSubsts

      @Deprecated public void descend_globalSubsts(MATCH_ONLY_00 visitor)
      Deprecated.
    • descend_0_globalSubsts

      @Deprecated public void descend_0_globalSubsts(MATCH_ONLY_00 visitor)
      Deprecated.
    • get_targetURN

      public static Pattern<ImportItem> get_targetURN(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_absolutePath

      public static Pattern<ImportItem> get_absolutePath(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_isgeneric

      public static Pattern<ImportItem> get_isgeneric(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.
    • get_localSubsts

      public static Pattern<ImportItem> get_localSubsts(Pattern<? super CheckedMap_RD<String,CheckedMap_RD<String,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_globalSubsts

      public static Pattern<ImportItem> get_globalSubsts(Pattern<? super CheckedMap_RD<String,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.