Class ElementParticleMappingTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.ParticleMappingTemplate
com.aquima.interactions.test.templates.communication.ElementParticleMappingTemplate
This class may be used to quickly initialize a model.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ElementParticleMappingTemplate
(String name, String attributeName, com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected ElementReferenceTemplate
protected TypeMappingTemplate
protected String
getName()
protected com.aquima.interactions.communication.SchemaFormType
protected TypeReferenceTemplate
protected boolean
setElementReference
(com.aquima.interactions.foundation.connectivity.QualifiedName element) This methods sets an element reference to an element.This method sets the inline type of the element.setInlineType
(String entityName) This method sets the inline type of the element.void
setNillable
(boolean isNillable) void
setSpecificForm
(com.aquima.interactions.communication.SchemaFormType form) This method sets the specific formtype of this attribute.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.IParticleMappingDS
This method converts the template to a data source that can be used to initialize the definition.Methods inherited from class com.aquima.interactions.test.templates.communication.ParticleMappingTemplate
addValidation, getMaxOccurs, getMinOccurs, getValidations, setMaxOccurs, setMinOccurs
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
Method Details
-
getName
-
getAttributeName
-
setSpecificForm
public void setSpecificForm(com.aquima.interactions.communication.SchemaFormType form) This method sets the specific formtype of this attribute.- Parameters:
form
- The formtype of the attribute
-
getSpecificForm
protected com.aquima.interactions.communication.SchemaFormType getSpecificForm() -
getElementReference
-
getTypeReference
-
setElementReference
public ElementReferenceTemplate setElementReference(com.aquima.interactions.foundation.connectivity.QualifiedName element) This methods sets an element reference to an element.- Parameters:
element
- The qualified name of the referred element.- 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 qualified name of the referred type.- Returns:
- The reference template.
-
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.
-
setInlineType
This method sets the inline type of the element.- Returns:
- The template for the inline type.
-
setInlineType
This method sets the inline type of the element.- Parameters:
entityName
- The entity name for the inline type.- Returns:
- The template for the inline type.
-
getInlineType
-
toDataSource
protected com.aquima.interactions.communication.ds.IParticleMappingDS toDataSource()Description copied from class:ParticleMappingTemplate
This method converts the template to a data source that can be used to initialize the definition.- Specified by:
toDataSource
in classParticleMappingTemplate
- Returns:
- a data source that can be used to initialize the definition.
-
isNillable
protected boolean isNillable() -
setNillable
public void setNillable(boolean isNillable)
-