Class ElementParticleMappingTemplate


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

    • ElementParticleMappingTemplate

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

    • getName

      protected String getName()
    • getAttributeName

      protected String 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

      protected ElementReferenceTemplate getElementReference()
    • getTypeReference

      protected TypeReferenceTemplate 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

      public TypeMappingTemplate setInlineType()
      This method sets the inline type of the element.
      Returns:
      The template for the inline type.
    • setInlineType

      public TypeMappingTemplate setInlineType(String entityName)
      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

      protected TypeMappingTemplate 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 class ParticleMappingTemplate
      Returns:
      a data source that can be used to initialize the definition.
    • isNillable

      protected boolean isNillable()
    • setNillable

      public void setNillable(boolean isNillable)