Package eu.bandm.tools.d2d2.model
Class DefInstance
java.lang.Object
eu.bandm.tools.d2d2.model.DefInstance
- All Implemented Interfaces:
Formattable
,Cloneable
Is entered for each instantiated definition into the
resolvedModule's result data.
(This definition has been created by UMod from
the source at SYSTEM "D2d.umod":278.3-283.29, see this pretty print.)-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<DefInstance,
CheckedSet<String>> Deprecated.Use new '::' method reference instead.static final Function<DefInstance,
Definition> Deprecated.Use new '::' method reference instead.static final Function<DefInstance,
String> Deprecated.Use new '::' method reference instead.protected CheckedSet<String>
Generated by umod; model author's documentation MISSING.protected Definition
Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorDescriptionDefInstance
(Definition raw, String representingKey) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
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<DefInstance>
get_importKeys
(Pattern<? super CheckedSet<String>> p) Lifts a pattern which matches the field value to one which matches this whole object.get_raw()
Generated by umod; model author's documentation MISSING.static Pattern<DefInstance>
get_raw
(Pattern<? super 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.static Pattern<DefInstance>
get_representingKey
(Pattern<? super String> 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.boolean
set_importKeys
(CheckedSet<String> val) Generated by umod; model author's documentation MISSING.boolean
set_raw
(Definition val) Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.
-
Field Details
-
raw
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":281.9-49, see this pretty print.)
The type of this field isDefinition
(never null)
It is set by every possible constructor. -
get_raw
Deprecated.Use new '::' method reference instead. -
representingKey
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":282.9-49, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor. -
get_representingKey
Deprecated.Use new '::' method reference instead. -
importKeys
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":283.9-29, see this pretty print.)
The type of this field isCheckedSet
<java.lang.String(never null)>(never null)
Its value defaults to an empty collection. -
get_importKeys
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
DefInstance
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
raw
- is copied to fieldraw
representingKey
- is copied to fieldrepresentingKey
-
DefInstance
DefInstance()
-
-
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_raw
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":281.9-49, see this pretty print.)
Generated getter method. @see #raw- Returns:
- The current field value of type
Definition
(never null)
-
set_raw
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":281.9-49, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeDefinition
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_representingKey
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":282.9-49, see this pretty print.)
Generated getter method. @see #representingKey- Returns:
- The current field value of type java.lang.String(never null)
-
set_representingKey
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":282.9-49, 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_importKeys
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":283.9-29, see this pretty print.)
Generated getter method. @see #importKeys- Returns:
- The current field value of type
CheckedSet
<java.lang.String(never null)>(never null)
-
set_importKeys
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":283.9-29, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedSet
<java.lang.String(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_raw
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_representingKey
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_importKeys
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
.
-