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

public static class DTM.AttributeValue extends DTM.AttributeDefault
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.)
  • Field Details

    • BASE_HASH

      protected static final int BASE_HASH
    • fixed

      protected boolean 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.)
      The type of this field is boolean(never null)
      It is set by every possible constructor.

      See Also:
    • value

      protected String 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

    • AttributeValue

      public AttributeValue(boolean fixed, String value)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".

      Parameters:
      fixed - is copied to field fixed
      value - is copied to field value
  • Method Details

    • doclone

      public DTM.AttributeValue doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class DTM.AttributeDefault
      Returns:
      a fresh copy.

    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class DTM.AttributeDefault
      Returns:
      a format that represents this object in a pretty-printable way
    • equals

      public boolean equals(Object e0)
      Generated by umod because this class is ALGEBRAIC.
      Overrides:
      equals in class Object
    • x_equals

      public boolean x_equals(DTM.AttributeValue e0)
    • hashCode

      public int hashCode()
      Generated by umod because this class is ALGEBRAIC.
      Overrides:
      hashCode in class Object
    • initFrom

      public DTM.AttributeValue initFrom(Object o0)
      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 class DTM.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.
      Returns:
      The current field value of type boolean(never null)
      See Also:
    • with_fixed

      public DTM.AttributeValue with_fixed(boolean val)
      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

      public String 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.
      Returns:
      The current field value of type java.lang.String(never null)
      See Also:
    • with_value

      public DTM.AttributeValue with_value(String val)
      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

      public static Pattern<DTM.AttributeValue> get_fixed(Pattern<? super Boolean> p)
      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 DTM.__Patterns.
    • get_value

      public static Pattern<DTM.AttributeValue> get_value(Pattern<? super String> p)
      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 DTM.__Patterns.