Class ValueModification

All Implemented Interfaces:
Datable, Cloneable
Direct Known Subclasses:
CheckModification

@Root(name="valmod") public class ValueModification extends DataItemModification implements Cloneable
  • Constructor Details

  • Method Details

    • clone

      public ValueModification clone()
      Overrides:
      clone in class DataItemModification
    • hasFormula

      public boolean hasFormula()
    • isModMin

      public boolean isModMin()
    • isDouble

      public boolean isDouble()
    • toString

      public String toString()
      Overrides:
      toString in class DataItemModification
      See Also:
    • getValue

      public int getValue()
      Returns:
      The amount by which the value must be changed
    • getValueAsDouble

      public double getValueAsDouble()
    • getValueAsKeys

      public String[] getValueAsKeys()
    • getModMinValues

      public int[] getModMinValues()
    • getFormula

      public Formula getFormula()
    • setFormula

      public void setFormula(Formula value)
    • getRawValue

      public String getRawValue()
      Returns the declaration like it appears in the XML definition. Use this method, if the value contains variables/formulas
    • setRawValue

      public void setRawValue(String val)
    • setValue

      public void setValue(String value)
      Parameters:
      value - The amount by which the value must be changed
    • setValue

      public void setValue(int value)
    • getSet

      public ValueType getSet()
      Get the value set
      Returns:
    • setSet

      public void setSet(ValueType val)
    • isIgnoreLimit

      public boolean isIgnoreLimit()
      Returns:
      the ignoreLimit
    • getLookupTable

      public String[] getLookupTable()
      Returns:
      the lookupTable
    • setLookupTable

      public void setLookupTable(String[] table)
    • isInstantiated

      public boolean isInstantiated()
      Returns:
      the instantiated
    • setInstantiated

      public void setInstantiated(boolean instantiated)
      Parameters:
      instantiated - the instantiated to set
    • isAbsolute

      public boolean isAbsolute()
      Returns:
      the absolute
    • setAbsolute

      public void setAbsolute(boolean absolute)
      Parameters:
      absolute - the absolute to set