Class SoapMessagePartTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.SoapMessagePartTemplate
This class may be used to quickly initialize a model.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SoapMessagePartTemplate
(String name, String attributeName, com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptionaddValidation
(String type) This method may be used to add a validation to the field.protected String
protected ElementReferenceTemplate
protected String
getName()
protected TypeReferenceTemplate
protected Iterator
<FieldValidationTemplate> setElementReference
(com.aquima.interactions.foundation.connectivity.QualifiedName element) This method sets an element reference.setTypeReference
(com.aquima.interactions.foundation.connectivity.QualifiedName complexType) This method sets a type reference to a complex type.setTypeReference
(com.aquima.interactions.foundation.DataType simpleType) This method sets a type reference to a simple type.protected com.aquima.interactions.communication.ds.ISoapMessagePartDS
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
SoapMessagePartTemplate
-
-
Method Details
-
getName
-
addValidation
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
-
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
-
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
-
getValidations
-
toDataSource
protected com.aquima.interactions.communication.ds.ISoapMessagePartDS toDataSource()
-