Class OutputObject
java.lang.Object
com.aquima.interactions.framework.service.connectivity.OutputObject
This class contains a single result of a connectivity service.
- Since:
- 6.4
- Author:
- J. van Leuven, O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionOutputObject
(IEntityDefinition entityDef, OutputMapping mapping) Constructs the output object with the entity type and output values. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the entity the result is mapped to.getOutputValue
(String attributeName) This method returns the output value for the specified attribute.This method returns an array containing all the output values.toString()
-
Constructor Details
-
OutputObject
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
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
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
This method returns an array containing all the output values.- Returns:
- an array containing all the output values.
-
toString
-