Package eu.bandm.tools.d2d2.model
Class ImportItem
java.lang.Object
eu.bandm.tools.d2d2.model.SourceItem
eu.bandm.tools.d2d2.model.ImportItem
- All Implemented Interfaces:
Formattable,Serializable,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-01-24_19h42m14")
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.)
(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 Summary
FieldsModifier and TypeFieldDescriptionGenerated by umod; model author's documentation MISSING.static final Function<ImportItem, @Opt String> Deprecated.Use new '::' method reference instead.static final Function<ImportItem, NonNullMap<String, Expression>> Deprecated.Use new '::' method reference instead.static final Function<ImportItem, Boolean> Deprecated.Use new '::' method reference instead.static final Function<ImportItem, NonNullMap<String, NonNullMap<String, Expression>>> Deprecated.Use new '::' method reference instead.static final Function<ImportItem, @Opt String> Deprecated.Use new '::' method reference instead.protected NonNullMap<String, Expression> Generated by umod; model author's documentation MISSING.protected booleanGenerated by umod; model author's documentation MISSING.protected NonNullMap<String, NonNullMap<String, Expression>> Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.d2d2.model.SourceItem
context, docu, get_context, get_docu, get_location, get_name, location, name -
Constructor Summary
ConstructorsConstructorDescriptionImportItem(@Opt SourceItem context, String name, Location<XMLDocumentIdentifier> location) Constructor defined according to directive »C 0/..«.
ImportItem(String name, Location<XMLDocumentIdentifier> location) Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanConvenience un-Currying method.booleanConvenience un-Currying method.booleancontainsKey_localSubsts(String key0, String key1) Convenience un-Currying method.voiddescend_0_globalSubsts(MATCH_ONLY_00 visitor) Deprecated.voiddescend_0_localSubsts(MATCH_ONLY_00 visitor) Deprecated.voiddescend_globalSubsts(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_globalSubsts(this)orvisitor.followAll_globalSubsts(this)instead.voiddescend_localSubsts(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_localSubsts(this)orvisitor.followAll_localSubsts(this)instead.doclone()Clones this object.format()Delivers a format object for pretty-printing, as specified in the umod source.Generated by umod; model author's documentation MISSING.static Pattern<ImportItem> get_absolutePath(Pattern<? super @Opt 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<ImportItem> get_globalSubsts(Pattern<? super NonNullMap<String, Expression>> p) Lifts a pattern which matches the field value to one which matches this whole object.booleanGenerated by umod; model author's documentation MISSING.static Pattern<ImportItem> get_isgeneric(Pattern<? super Boolean> 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<ImportItem> get_localSubsts(Pattern<? super NonNullMap<String, NonNullMap<String, Expression>>> 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<ImportItem> get_targetURN(Pattern<? super @Opt String> p) Lifts a pattern which matches the field value to one which matches this whole object.static StringDelivers the format specification from the umod source.Copies values of all common fields from the argument.voidput_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.voidput_localSubsts(String key0, NonNullMap<String, Expression> value) Convenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.voidput_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.booleanset_absolutePath(@Opt String val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanset_isgeneric(boolean val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanset_targetURN(@Opt String val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.d2d2.model.SourceItem
add_docu, containsKey_docu, descend_docu, fullPath, get_context, get_context, get_docu, get_docu, get_location, get_location, get_name, get_name, put_docu, set_context, set_docu, set_location, set_name
-
Field Details
-
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.)
The type of this field is java.lang.String(maybenull)
Its value defaults tonull.
- See Also:
-
get_targetURN
Deprecated.Use new '::' method reference instead. -
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.)
The type of this field is java.lang.String(maybenull)
Its value defaults tonull.
- See Also:
-
get_absolutePath
Deprecated.Use new '::' method reference instead. -
isgeneric
protected boolean isgenericGenerated 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.)
The type of this field is boolean(nevernull)
Its value defaults tofalse.
- See Also:
-
get_isgeneric
Deprecated.Use new '::' method reference instead. -
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.)
The type of this field isNonNullMap<java.lang.String(nevernull),NonNullMap<java.lang.String(nevernull),Expression(nevernull)>(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
get_localSubsts
@Deprecated public static final Function<ImportItem,NonNullMap<String, get_localSubstsNonNullMap<String, Expression>>> Deprecated.Use new '::' method reference instead. -
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.)
The type of this field isNonNullMap<java.lang.String(nevernull),Expression(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
get_globalSubsts
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
ImportItem
public ImportItem(@Opt @Opt SourceItem context, String name, Location<XMLDocumentIdentifier> location) Constructor defined according to directive »C 0/..«.
- Parameters:
context- is copied to fieldSourceItem.contextname- is copied to fieldSourceItem.namelocation- is copied to fieldSourceItem.location
-
ImportItem
Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
- Parameters:
name- is copied to fieldSourceItem.namelocation- is copied to fieldSourceItem.location
-
ImportItem
ImportItem()
-
-
Method Details
-
doclone
- Overrides:
doclonein classSourceItem- Returns:
- a fresh copy.
-
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
Delivers a format object for pretty-printing, as specified in the umod source.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classSourceItem- 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.- Overrides:
initFromin classSourceItem
-
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
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(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
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
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(maybenull)- 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(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
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
NonNullMap<java.lang.String(nevernull),NonNullMap<java.lang.String(nevernull),Expression(nevernull)>(nevernull)>(nevernull) - See Also:
-
set_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.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullMap<java.lang.String(nevernull),NonNullMap<java.lang.String(nevernull),Expression(nevernull)>(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
put_localSubsts
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 typeNonNullMap<java.lang.String(nevernull),Expression(nevernull)>(nevernull)- See Also:
-
put_localSubsts
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 typeExpression(nevernull)- See Also:
-
containsKey_localSubsts
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
containsKey_localSubsts
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_localSubsts
Deprecated.Usevisitor.follow_localSubsts(this)orvisitor.followAll_localSubsts(this)instead. -
descend_0_localSubsts
Deprecated. -
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
NonNullMap<java.lang.String(nevernull),Expression(nevernull)>(nevernull) - See Also:
-
set_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.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullMap<java.lang.String(nevernull),Expression(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
put_globalSubsts
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 typeExpression(nevernull)- See Also:
-
containsKey_globalSubsts
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_globalSubsts
Deprecated.Usevisitor.follow_globalSubsts(this)orvisitor.followAll_globalSubsts(this)instead. -
descend_0_globalSubsts
Deprecated. -
get_targetURN
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
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
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 NonNullMap<String, NonNullMap<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 NonNullMap<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.
-