Package eu.bandm.tools.dtm
Class DTM.AttributeValue
java.lang.Object
eu.bandm.tools.dtm.DTM.AttributeDefault
eu.bandm.tools.dtm.DTM.AttributeValue
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- DTM
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":86.1-88.49, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":86.1-88.49, see this pretty print.)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAttributeValue
(boolean fixed, String value) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
Clones this object.boolean
Generated by umod because this class isALGEBRAIC
.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.boolean
Generated by umod; model author's documentation MISSING.static Pattern<DTM.AttributeValue>
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<DTM.AttributeValue>
Lifts a pattern which matches the field value to one which matches this whole object.int
hashCode()
Generated by umod because this class isALGEBRAIC
.Copies values of all common fields from the argument.with_fixed
(boolean val) Generated by umod; model author's documentation MISSING.with_value
(String val) Generated by umod; model author's documentation MISSING.boolean
-
Field Details
-
BASE_HASH
protected static final int BASE_HASH -
fixed
protected boolean fixedGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":87.9-49, see this pretty print.)
The type of this field is boolean(never null)
It is set by every possible constructor.- See Also:
-
value
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":88.9-49, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor.- See Also:
-
-
Constructor Details
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classDTM.AttributeDefault
- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in classDTM.AttributeDefault
- Returns:
- a format that represents this object in a pretty-printable way
-
equals
Generated by umod because this class isALGEBRAIC
. -
x_equals
-
hashCode
public int hashCode()Generated by umod because this class isALGEBRAIC
. -
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 classDTM.AttributeDefault
-
get_fixed
public boolean get_fixed()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":87.9-49, see this pretty print.)
Generated getter method. @see #fixed- Returns:
- The current field value of type boolean(never null)
-
with_fixed
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":87.9-49, see this pretty print.)- Parameters:
val
- the new value of type boolean(never null)- Returns:
- a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
- See Also:
-
get_value
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":88.9-49, see this pretty print.)
Generated getter method. @see #value- Returns:
- The current field value of type java.lang.String(never null)
-
with_value
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":88.9-49, see this pretty print.)- Parameters:
val
- the new value of type java.lang.String(never null)- Returns:
- a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
- See Also:
-
get_fixed
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 classDTM.__Patterns
. -
get_value
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 classDTM.__Patterns
.
-