Package eu.bandm.tools.d2d2.rt
Class ImportContext
java.lang.Object
eu.bandm.tools.d2d2.rt.ImportContext
- All Implemented Interfaces:
Formattable
,Cloneable
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.)
(This definition has been created by UMod from the source at SYSTEM "Rt.umod":36.3-44.52, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<ImportContext,
ImportItem> Deprecated.Use new '::' method reference instead.static final Function<ImportContext,
String> Deprecated.Use new '::' method reference instead.static final Function<ImportContext,
Integer> Deprecated.Use new '::' method reference instead.static final Function<ImportContext,
String> Deprecated.Use new '::' method reference instead.static final Function<ImportContext,
ImportContext> Deprecated.Use new '::' method reference instead.static final Function<ImportContext,
Module> Deprecated.Use new '::' method reference instead.static final Function<ImportContext,
CheckedMap_D<String, ImportContext>> Deprecated.Use new '::' method reference instead.protected ImportItem
Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING.protected int
Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING.protected ImportContext
Generated by umod; model author's documentation MISSING.protected Module
Generated by umod; model author's documentation MISSING.protected CheckedMap_D<String,
ImportContext> Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorDescriptionImportContext
(ImportItem importItem, String moduleAddress, Module rawModule, String key, int level) Synthetic minimal constructor provided by the umod compiler.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/..". -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey_subs
(String key0) Convenience un-Currying method.void
descend_subs
(MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.Generated by umod; model author's documentation MISSING.static Pattern<ImportContext>
get_importItem
(Pattern<? super ImportItem> p) Lifts a pattern which matches the field value to one which matches this whole object.get_key()
Generated by umod; model author's documentation MISSING.static Pattern<ImportContext>
Lifts a pattern which matches the field value to one which matches this whole object.int
Generated by umod; model author's documentation MISSING.static Pattern<ImportContext>
Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.static Pattern<ImportContext>
get_moduleAddress
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.static Pattern<ImportContext>
get_predec
(Pattern<? super ImportContext> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.static Pattern<ImportContext>
get_rawModule
(Pattern<? super Module> p) Lifts a pattern which matches the field value to one which matches this whole object.get_subs()
Generated by umod; model author's documentation MISSING.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.Copies values of all common fields from the argument.void
put_subs
(String key0, ImportContext value) Convenience un-Currying method.boolean
set_importItem
(ImportItem val) Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
set_level
(int val) Generated by umod; model author's documentation MISSING.boolean
set_moduleAddress
(String val) Generated by umod; model author's documentation MISSING.boolean
set_predec
(ImportContext val) Generated by umod; model author's documentation MISSING.boolean
set_rawModule
(Module val) Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.
-
Field Details
-
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.)
The type of this field isImportContext
(maybe null)
Its value defaults to null. -
get_predec
Deprecated.Use new '::' method reference instead. -
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.)
The type of this field isImportItem
(never null)
It is set by every possible constructor. -
get_importItem
Deprecated.Use new '::' method reference instead. -
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.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor. -
get_moduleAddress
Deprecated.Use new '::' method reference instead. -
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.)
The type of this field isModule
(never null)
It is set by every possible constructor. -
get_rawModule
Deprecated.Use new '::' method reference instead. -
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.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor.- See Also:
-
get_key
Deprecated.Use new '::' method reference instead. -
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.)
The type of this field isCheckedMap_D
<java.lang.String(never null),ImportContext
(maybe null)>(never null)
Its value defaults to an empty collection. -
get_subs
Deprecated.Use new '::' method reference instead. -
level
protected int levelGenerated 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.)
The type of this field is int(never null)
It is set by every possible constructor.- See Also:
-
get_level
Deprecated.Use new '::' method reference instead.
-
-
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 fieldpredec
importItem
- is copied to fieldimportItem
moduleAddress
- is copied to fieldmoduleAddress
rawModule
- is copied to fieldrawModule
key
- is copied to fieldkey
level
- is copied to fieldlevel
-
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 fieldimportItem
moduleAddress
- is copied to fieldmoduleAddress
rawModule
- is copied to fieldrawModule
key
- is copied to fieldkey
level
- is copied to fieldlevel
-
ImportContext
ImportContext()
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
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
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
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 typeImportContext
(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
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
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 typeImportItem
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
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
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
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
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. -
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
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
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
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 typeCheckedMap_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
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 typeImportContext
(maybe null)- See Also:
-
containsKey_subs
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_subs
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
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
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
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
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
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
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
.
-