Interface IVariableValueMapper

  • All Known Implementing Classes:
    InstanceNameValueMapper

    public interface IVariableValueMapper
    Performs a variable value mapping. isValid and isEnacting need special treatment as they represent meta-values.
    Author:
    Holger Eichelberger
    • Method Detail

      • isValid

        boolean isValid​(IvmlElement element)
        Returns whether the given element is valid.
        Parameters:
        element - the element
        Returns:
        true if valid (also if no mapping), false if invalid
      • isEnacting

        boolean isEnacting​(IvmlElement element)
        Returns whether the given element is valid.
        Parameters:
        element - the element
        Returns:
        true if valid, false if invalid (also if no mapping)
      • getValue

        java.lang.Object getValue​(IvmlElement element)
        Returns the value of the specified element.
        Parameters:
        element - the element
        Returns:
        the value, null if undefined or if there is no mapping