Interface Expression<T extends Structure>

Type Parameters:
T -

public interface Expression<T extends Structure>
Expression used to obtain values from a message structure
  • Method Summary

    Modifier and Type
    Method
    Description
    evaluate(T structure)
    Applies this expression on the structure
    Returns the expression description used for describing the Rule this expression is used in.
    getLocation(T structure)
    Returns the location of the structure to which is expression is applied to
  • Method Details

    • evaluate

      Object evaluate(T structure) throws HL7Exception
      Applies this expression on the structure
      Parameters:
      structure - HL7 structure to be evaluated
      Returns:
      the result value
      Throws:
      HL7Exception
    • getDescription

      Returns the expression description used for describing the Rule this expression is used in.
      Returns:
      description
    • getLocation

      Location getLocation(T structure) throws HL7Exception
      Returns the location of the structure to which is expression is applied to
      Parameters:
      structure - HL7 structure to be located
      Returns:
      the location of the structure
      Throws:
      HL7Exception - if the structure refers to an invalid location