Package eu.bandm.tools.d2d2.model
Class SourceItem
java.lang.Object
eu.bandm.tools.d2d2.model.SourceItem
- All Implemented Interfaces:
Formattable,Serializable,Cloneable
- Direct Known Subclasses:
Definition,ImportItem,Module
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-02-01_13h20m58")
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":175.3-180.9, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":175.3-180.9, see this pretty print.)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Opt SourceItemGenerated by umod; model author's documentation MISSING.protected NonNullMap<String, NonNullList<LocString>> Generated by umod; model author's documentation MISSING.static final Function<SourceItem, @Opt SourceItem> Deprecated.Use new '::' method reference instead.static final Function<SourceItem, NonNullMap<String, NonNullList<LocString>>> Deprecated.Use new '::' method reference instead.static final Function<SourceItem, Location<XMLDocumentIdentifier>> Deprecated.Use new '::' method reference instead.static final Function<SourceItem, String> Deprecated.Use new '::' method reference instead.protected Location<XMLDocumentIdentifier> Generated by umod; model author's documentation MISSING.protected StringGenerated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorsConstructorDescriptionSourceItem(@Opt SourceItem context, String name, Location<XMLDocumentIdentifier> location) Constructor defined according to directive »C 0/..«.
SourceItem(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 TypeMethodDescriptionvoidConvenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.booleancontainsKey_docu(String key0) Convenience un-Currying method.voiddescend_docu(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_docu(this)orvisitor.followAll_docu(this)instead.doclone()Clones this object.format()Delivers a format object for pretty-printing by inheritance from some ancestor class.fullPath()Generated by umod; model author's documentation MISSING.static Pattern<SourceItem> get_context(Pattern<? super @Opt SourceItem> p) Lifts a pattern which matches the field value to one which matches this whole object.get_docu()Generated by umod; model author's documentation MISSING.static Pattern<SourceItem> get_docu(Pattern<? super NonNullMap<String, NonNullList<LocString>>> 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<SourceItem> get_location(Pattern<? super Location<XMLDocumentIdentifier>> p) Lifts a pattern which matches the field value to one which matches this whole object.get_name()Generated by umod; model author's documentation MISSING.static Pattern<SourceItem> Lifts a pattern which matches the field value to one which matches this whole object.Copies values of all common fields from the argument.voidput_docu(String key0, NonNullList<LocString> value) Convenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.booleanset_context(@Opt SourceItem val) Generated by umod; model author's documentation MISSING.booleanset_docu(NonNullMap<String, NonNullList<LocString>> val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.
-
Field Details
-
context
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":176.9-58, see this pretty print.)
The type of this field isSourceItem(maybenull)
Its value defaults tonull.
- See Also:
-
get_context
Deprecated.Use new '::' method reference instead. -
name
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.)
The type of this field is java.lang.String(nevernull)
It is set by every possible constructor.
- See Also:
-
get_name
Deprecated.Use new '::' method reference instead. -
location
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":178.9-57, see this pretty print.)
The type of this field isLocation(nevernull)
It is set by every possible constructor.
- See Also:
-
get_location
Deprecated.Use new '::' method reference instead. -
docu
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":179.9-39, see this pretty print.)
The type of this field isNonNullMap<java.lang.String(nevernull),NonNullList<LocString(nevernull)>(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
get_docu
@Deprecated public static final Function<SourceItem,NonNullMap<String, get_docuNonNullList<LocString>>> Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
SourceItem
public SourceItem(@Opt @Opt SourceItem context, String name, Location<XMLDocumentIdentifier> location) Constructor defined according to directive »C 0/..«.
-
SourceItem
Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
-
-
Method Details
-
doclone
- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
formatin interfaceFormattable- Returns:
- a format that represents this object in a pretty-printable way
-
fullPath
-
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_context
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":176.9-58, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
SourceItem(maybenull) - See Also:
-
set_context
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":176.9-58, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeSourceItem(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_name
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.- Returns:
- The current field value of type java.lang.String(never
null) - See Also:
-
set_name
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 java.lang.String(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_location
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":178.9-57, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Location(nevernull) - See Also:
-
set_location
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":178.9-57, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLocation(nevernull)- 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":179.9-39, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullMap<java.lang.String(nevernull),NonNullList<LocString(nevernull)>(nevernull)>(nevernull) - See Also:
-
set_docu
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":179.9-39, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullMap<java.lang.String(nevernull),NonNullList<LocString(nevernull)>(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
put_docu
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 typeNonNullList<LocString(nevernull)>(nevernull)- See Also:
-
add_docu
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 typeLocString(nevernull)- See Also:
-
containsKey_docu
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_docu
Deprecated.Usevisitor.follow_docu(this)orvisitor.followAll_docu(this)instead. -
get_context
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
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
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 NonNullMap<String, NonNullList<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.
-