java.lang.Object
com.aquima.interactions.framework.service.connectivity.OutputObject

public class OutputObject extends Object
This class contains a single result of a connectivity service.
Since:
6.4
Author:
J. van Leuven, O. Kerpershoek
  • Constructor Details

    • OutputObject

      public OutputObject(IEntityDefinition entityDef, OutputMapping mapping)
      Constructs the output object with the entity type and output values.
      Parameters:
      entityDef - The entity type definition the result should be mapped to.
      mapping - Object containing the mapping information for the output fields.
      Throws:
      AppException - This exception is thrown when the mapping refers to an unknown attribute.
  • Method Details

    • getEntityName

      public String getEntityName()
      This method returns the name of the entity the result is mapped to.
      Returns:
      the name of the entity the result is mapped to.
    • getOutputValue

      public OutputValue getOutputValue(String attributeName)
      This method returns the output value for the specified attribute.
      Parameters:
      attributeName - The name of the attribute for which the output value is requested.
      Returns:
      The output value for the specified attribute.
    • getOutputValues

      public OutputValue[] getOutputValues()
      This method returns an array containing all the output values.
      Returns:
      an array containing all the output values.
    • toString

      public String toString()
      Overrides:
      toString in class Object