Class SoapMessagePartTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.SoapMessagePartTemplate

public class SoapMessagePartTemplate extends AbstractReportingTemplate
This class may be used to quickly initialize a model.
Since:
9.0
Author:
Jon van Leuven, Arjan Pragt
  • Constructor Details

    • SoapMessagePartTemplate

      protected SoapMessagePartTemplate(String name, String attributeName, com.aquima.interactions.foundation.report.IInitializationReport report)
  • Method Details

    • getName

      protected String getName()
    • addValidation

      public FieldValidationTemplate addValidation(String type)
      This method may be used to add a validation to the field.
      Parameters:
      type - The type of the validation that should be added.
      Returns:
      Template representing the newly added validation.
    • getAttribute

      protected String getAttribute()
    • setElementReference

      public ElementReferenceTemplate setElementReference(com.aquima.interactions.foundation.connectivity.QualifiedName element)
      This method sets an element reference.
      Parameters:
      element - The qualified name of the referred element.
      Returns:
      The reference template.
    • getElementReference

      protected ElementReferenceTemplate getElementReference()
    • setTypeReference

      public TypeReferenceTemplate setTypeReference(com.aquima.interactions.foundation.DataType simpleType)
      This method sets a type reference to a simple type.
      Parameters:
      simpleType - The datatype of the simple type.
      Returns:
      The reference template.
    • setTypeReference

      public TypeReferenceTemplate setTypeReference(com.aquima.interactions.foundation.connectivity.QualifiedName complexType)
      This method sets a type reference to a complex type.
      Parameters:
      complexType - The qualifiedname of the complex type.
      Returns:
      The reference template.
    • getTypeReference

      protected TypeReferenceTemplate getTypeReference()
    • getValidations

      protected Iterator<FieldValidationTemplate> getValidations()
    • toDataSource

      protected com.aquima.interactions.communication.ds.ISoapMessagePartDS toDataSource()