Package eu.bandm.tools.d2d2.model
Class LocString
java.lang.Object
eu.bandm.tools.d2d2.model.LocString
- All Implemented Interfaces:
Formattable
,Serializable
,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-01-10_18h49m17")
public class LocString
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":162.3-165.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":162.3-165.16, see this pretty print.)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function
<LocString, Location<XMLDocumentIdentifier>> Deprecated.Use new '::' method reference instead.Deprecated.Use new '::' method reference instead.protected Location
<XMLDocumentIdentifier> Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorDescriptionLocString
(String text, Location<XMLDocumentIdentifier> loc) 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, as specified in the umod source.get_loc()
Generated by umod; model author's documentation MISSING.get_loc
(Pattern<? super Location<XMLDocumentIdentifier>> p) Lifts a pattern which matches the field value to one which matches this whole object.get_text()
Generated by umod; model author's documentation MISSING.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.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.
-
Field Details
-
text
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":163.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_text
Deprecated.Use new '::' method reference instead. -
loc
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":164.9-57, see this pretty print.)
The type of this field isLocation
(nevernull
)
It is set by every possible constructor.- See Also:
-
get_loc
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
text
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
- 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_text
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":163.9-57, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(never
null
) - See Also:
-
set_text
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":163.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_loc
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":164.9-57, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Location
(nevernull
) - See Also:
-
set_loc
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":164.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_text
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_loc
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
.
-