Package eu.bandm.tools.d2d2.model
Class Module
java.lang.Object
eu.bandm.tools.d2d2.model.SourceItem
eu.bandm.tools.d2d2.model.Module
- All Implemented Interfaces:
Formattable
,Serializable
,Cloneable
- Direct Known Subclasses:
ResolvedModule
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":188.3-203.9, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":188.3-203.9, see this pretty print.)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected NamespaceName
Generated by umod; model author's documentation MISSING.protected CheckedMap_RD<String,
Definition> Generated by umod; model author's documentation MISSING.static final Function<Module,
NamespaceName> Deprecated.Use new '::' method reference instead.static final Function<Module,
CheckedMap_RD<String, Definition>> Deprecated.Use new '::' method reference instead.static final Function<Module,
CheckedMap_RD<String, ImportItem>> Deprecated.Use new '::' method reference instead.Deprecated.Use new '::' method reference instead.static final Function<Module,
CheckedMap_RD<String, Module>> Deprecated.Use new '::' method reference instead.static final Function<Module,
CheckedList<NamespaceDecl>> Deprecated.Use new '::' method reference instead.protected CheckedMap_RD<String,
ImportItem> Generated by umod; model author's documentation MISSING.protected boolean
Generated by umod; model author's documentation MISSING.protected CheckedMap_RD<String,
Module> Generated by umod; model author's documentation MISSING.protected CheckedList<NamespaceDecl>
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
ConstructorDescriptionModule()
Module
(SourceItem context, String name, Location<XMLDocumentIdentifier> location) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".Module
(String name, Location<XMLDocumentIdentifier> location) Synthetic minimal constructor provided by the umod compiler. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Convenience un-Currying method.boolean
containsKey_imports
(String key0) Convenience un-Currying method.boolean
containsKey_modules
(String key0) Convenience un-Currying method.void
descend_0_definitions
(MATCH_ONLY_00 visitor) Deprecated.void
descend_0_imports
(MATCH_ONLY_00 visitor) Deprecated.void
descend_0_modules
(MATCH_ONLY_00 visitor) Deprecated.void
descend_2_definitions
(MATCH_ONLY_00 visitor) Deprecated.void
descend_2_imports
(MATCH_ONLY_00 visitor) Deprecated.void
descend_definitions
(MATCH_ONLY_00 visitor) Deprecated.void
descend_imports
(MATCH_ONLY_00 visitor) Deprecated.void
descend_modules
(MATCH_ONLY_00 visitor) Deprecated.void
descend_namespaces
(MATCH_ONLY_00 visitor) Deprecated.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.get_defaultElNs
(Pattern<? super NamespaceName> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_definitions
(Pattern<? super CheckedMap_RD<String, Definition>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_imports
(Pattern<? super CheckedMap_RD<String, ImportItem>> p) Lifts a pattern which matches the field value to one which matches this whole object.boolean
Generated by umod; model author's documentation MISSING.get_isLocal
(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.get_modules
(Pattern<? super CheckedMap_RD<String, Module>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_namespaces
(Pattern<? super CheckedList<NamespaceDecl>> p) Lifts a pattern which matches the field value to one which matches this whole object.static String
Delivers the format specification from the umod source.Copies values of all common fields from the argument.void
put_definitions
(String key0, Definition value) Convenience un-Currying method.void
put_imports
(String key0, ImportItem value) Convenience un-Currying method.void
put_modules
(String key0, Module value) Convenience un-Currying method.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
set_isLocal
(boolean val) Generated by umod; model author's documentation MISSING.boolean
set_modules
(CheckedMap_RD<String, Module> val) Generated by umod; model author's documentation MISSING.boolean
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
-
modules
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":189.9-73, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(never null),Module
(never null)>(never null)
Its value defaults to an empty collection. -
get_modules
Deprecated.Use new '::' method reference instead. -
imports
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":190.9-79, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(never null),ImportItem
(never null)>(never null)
Its value defaults to an empty collection. -
get_imports
Deprecated.Use new '::' method reference instead. -
definitions
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":191.9-79, see this pretty print.)
The type of this field isCheckedMap_RD
<java.lang.String(never null),Definition
(never null)>(never null)
Its value defaults to an empty collection. -
get_definitions
Deprecated.Use new '::' method reference instead. -
defaultElNs
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":194.9-29, see this pretty print.)
The type of this field isNamespaceName
(maybe null)
Its value defaults to null. -
get_defaultElNs
Deprecated.Use new '::' method reference instead. -
namespaces
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":197.9-29, see this pretty print.)
The type of this field isCheckedList
<NamespaceDecl
(never null)>(never null)
Its value defaults to an empty collection. -
get_namespaces
Deprecated.Use new '::' method reference instead. -
isLocal
protected boolean isLocalGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":199.9-32, see this pretty print.)
The type of this field is boolean(never null)
Its value defaults tofalse
.- See Also:
-
get_isLocal
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
Module
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
context
- is copied to fieldSourceItem.context
name
- is copied to fieldSourceItem.name
location
- is copied to fieldSourceItem.location
-
Module
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 fieldSourceItem.name
location
- is copied to fieldSourceItem.location
-
Module
Module()
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classSourceItem
- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
(($is ResolvedModule $this)'resolved' ?)'module 'name/ /4>namespaces[/]/ /4>(modules{$to}[/])/ / /imports{$to}[/]/ /definitions{$to}[/(' '/' ')/]/ /'end module //'name/ /
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:
format
in interfaceFormattable
- Overrides:
format
in classSourceItem
- Returns:
- a format that represents this object in a pretty-printable way
-
find
-
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:
initFrom
in classSourceItem
-
get_modules
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":189.9-73, see this pretty print.)
Generated getter method. @see #modules- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(never null),Module
(never null)>(never null)
-
set_modules
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":189.9-73, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<java.lang.String(never null),Module
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
put_modules
Convenience un-Currying method.
Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing. -
containsKey_modules
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_modules
Deprecated. -
descend_0_modules
Deprecated. -
get_imports
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":190.9-79, see this pretty print.)
Generated getter method. @see #imports- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(never null),ImportItem
(never null)>(never null)
-
set_imports
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":190.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<java.lang.String(never null),ImportItem
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
put_imports
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 typeImportItem
(never null)- See Also:
-
containsKey_imports
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_imports
Deprecated. -
descend_0_imports
Deprecated. -
descend_2_imports
Deprecated. -
get_definitions
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":191.9-79, see this pretty print.)
Generated getter method. @see #definitions- Returns:
- The current field value of type
CheckedMap_RD
<java.lang.String(never null),Definition
(never null)>(never null)
-
set_definitions
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":191.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<java.lang.String(never null),Definition
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
put_definitions
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 typeDefinition
(never null)- See Also:
-
containsKey_definitions
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_definitions
Deprecated. -
descend_0_definitions
Deprecated. -
descend_2_definitions
Deprecated. -
get_defaultElNs
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":194.9-29, see this pretty print.)
Generated getter method. @see #defaultElNs- Returns:
- The current field value of type
NamespaceName
(maybe null)
-
set_defaultElNs
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":194.9-29, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeNamespaceName
(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_namespaces
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":197.9-29, see this pretty print.)
Generated getter method. @see #namespaces- Returns:
- The current field value of type
CheckedList
<NamespaceDecl
(never null)>(never null)
-
set_namespaces
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":197.9-29, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<NamespaceDecl
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_namespaces
Deprecated. -
get_isLocal
public boolean get_isLocal()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":199.9-32, see this pretty print.)
Generated getter method. @see #isLocal- Returns:
- The current field value of type boolean(never null)
-
set_isLocal
public boolean set_isLocal(boolean val) Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":199.9-32, 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_modules
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_imports
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_definitions
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_defaultElNs
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_namespaces
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_isLocal
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
.
-