Class SourceItem

java.lang.Object
eu.bandm.tools.d2d2.model.SourceItem
All Implemented Interfaces:
Formattable, Serializable, Cloneable
Direct Known Subclasses:
Definition, ImportItem, Module

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

  • Constructor Details

    • SourceItem

      public SourceItem(SourceItem context, String name, Location<XMLDocumentIdentifier> location)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      context - is copied to field context
      name - is copied to field name
      location - is copied to field location
    • SourceItem

      public SourceItem(String name, Location<XMLDocumentIdentifier> location)
      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:
      name - is copied to field name
      location - is copied to field location
    • SourceItem

      SourceItem()
  • Method Details

    • doclone

      public SourceItem 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
    • fullPath

      public String fullPath()
    • initFrom

      public SourceItem 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_context

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

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

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

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

      public Location<XMLDocumentIdentifier> get_location()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":177.9-57, see this pretty print.)
      Generated getter method. @see #location
      Returns:
      The current field value of type Location(never null)
    • set_location

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

      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "D2d.umod":178.9-39, see this pretty print.)
      Generated getter method. @see #docu
      Returns:
      The current field value of type CheckedMap_RD<java.lang.String(never null),CheckedList<LocString(never null)>(never null)>(never null)
    • set_docu

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

      public void put_docu(String key0, CheckedList<LocString> 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 CheckedList<LocString(never null)>(never null)
      See Also:
    • add_docu

      public void add_docu(String key0, LocString 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 LocString(never null)
      See Also:
    • containsKey_docu

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

      @Deprecated public void descend_docu(MATCH_ONLY_00 visitor)
      Deprecated.
    • get_context

      public static Pattern<SourceItem> get_context(Pattern<? super SourceItem> 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_name

      public static Pattern<SourceItem> get_name(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_location

      public static Pattern<SourceItem> get_location(Pattern<? super Location<XMLDocumentIdentifier>> 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_docu

      public static Pattern<SourceItem> get_docu(Pattern<? super CheckedMap_RD<String,CheckedList<LocString>>> 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.