Package eu.bandm.tools.tpath.absy
Class TPath.NameTest
java.lang.Object
eu.bandm.tools.tpath.absy.TPath.Item
eu.bandm.tools.tpath.absy.TPath.Test
eu.bandm.tools.tpath.absy.TPath.NameTest
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- TPath
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":17.1-20.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":17.1-20.16, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<TPath.NameTest,
String> Deprecated.Use new '::' method reference instead.static final Function<TPath.NameTest,
String> Deprecated.Use new '::' method reference instead.protected String
Generated by umod; model author's documentation MISSING.protected String
Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, location
-
Constructor Summary
ConstructorDescriptionNameTest()
Synthetic minimal constructor provided by the umod compiler.NameTest
(Location<XMLDocumentIdentifier> location, String prefix, String suffix) Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".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.Generated by umod; model author's documentation MISSING.static Pattern<TPath.NameTest>
get_prefix
(Pattern<? super 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<TPath.NameTest>
get_suffix
(Pattern<? super String> 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.boolean
set_prefix
(String val) Generated by umod; model author's documentation MISSING.boolean
set_suffix
(String val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, get_location, set_location
-
Field Details
-
prefix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":18.9-53, see this pretty print.)
The type of this field is java.lang.String(maybe null)
Its value defaults to null.- See Also:
-
get_prefix
Deprecated.Use new '::' method reference instead. -
suffix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":19.9-53, see this pretty print.)
The type of this field is java.lang.String(maybe null)
Its value defaults to null.- See Also:
-
get_suffix
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
NameTest
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".- Parameters:
location
- is copied to fieldTPath.Item.location
prefix
- is copied to fieldprefix
suffix
- is copied to fieldsuffix
-
NameTest
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
NameTest
public NameTest()Synthetic minimal constructor provided by the umod compiler.
Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.
(All object fields are set to their default values.)
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classTPath.Test
- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
(prefix':'?)suffix?(prefix':*'?'*')
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 classTPath.Test
- 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:
initFrom
in classTPath.Test
-
get_prefix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":18.9-53, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(maybe null)
- See Also:
-
set_prefix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":18.9-53, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_suffix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":19.9-53, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type java.lang.String(maybe null)
- See Also:
-
set_suffix
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":19.9-53, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type java.lang.String(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_prefix
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 classTPath.__Patterns
. -
get_suffix
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 classTPath.__Patterns
.
-