Package eu.bandm.tools.formattext
Class Model.Alternative
java.lang.Object
eu.bandm.tools.formattext.Model.Expr
eu.bandm.tools.formattext.Model.Alternative
- All Implemented Interfaces:
Cloneable
- Enclosing class:
Model
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-08-09_10h01m04")
public static class Model.Alternative
extends Model.Expr
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":20.4-15, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":20.4-15, see this pretty print.)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Model.ExprGenerated by umod; model author's documentation MISSING.protected Model.ExprGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.formattext.Model.Expr
location -
Constructor Summary
ConstructorsConstructorDescriptionAlternative(Model.Expr left, Model.Expr right) Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
Alternative(@Opt Location<String> location, Model.Expr left, Model.Expr right) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptiondoclone()Clones this object.get_left()Generated by umod; model author's documentation MISSING.static Pattern<Model.Alternative> get_left(Pattern<? super Model.Expr> 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<Model.Alternative> get_right(Pattern<? super Model.Expr> 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.booleanset_left(Model.Expr val) Generated by umod; model author's documentation MISSING.booleanset_right(Model.Expr val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.formattext.Model.Expr
get_location, get_location, set_location
-
Field Details
-
left
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":21.6-10, see this pretty print.)
The type of this field isModel.Expr(nevernull)
It is set by every possible constructor.
- See Also:
-
right
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":22.6-11, see this pretty print.)
The type of this field isModel.Expr(nevernull)
It is set by every possible constructor.
- See Also:
-
-
Constructor Details
-
Alternative
Constructor defined according to directive »C 0/..«.
- Parameters:
location- is copied to fieldModel.Expr.locationleft- is copied to fieldleftright- is copied to fieldright
-
Alternative
Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
-
-
Method Details
-
doclone
- Overrides:
doclonein classModel.Expr- Returns:
- a fresh copy.
-
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:
initFromin classModel.Expr
-
get_left
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":21.6-10, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(nevernull) - See Also:
-
set_left
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":21.6-10, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_right
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":22.6-11, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(nevernull) - See Also:
-
set_right
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":22.6-11, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_left
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 classModel.__Patterns. -
get_right
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 classModel.__Patterns.
-