Class SchemaTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.SchemaTemplate
This class may be used to quickly initialize a model.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SchemaTemplate
(String name, String targetNamespace, com.aquima.interactions.communication.SchemaFormType elementFormDefault, com.aquima.interactions.communication.SchemaFormType attributeFormDefault, com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptionaddElement
(String name) This method adds a global type to the schema.This method adds a global type to the schema.addType
(String name, String entityName, com.aquima.interactions.foundation.connectivity.QualifiedName baseType) This method adds a global type to the schema.protected com.aquima.interactions.communication.SchemaFormType
protected com.aquima.interactions.communication.SchemaFormType
protected Iterator
<ElementMappingTemplate> getName()
This method returns the name of the schema.protected String
protected Iterator
<TypeMappingTemplate> getTypes()
com.aquima.interactions.communication.ds.ISchemaDS
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
SchemaTemplate
-
-
Method Details
-
getName
This method returns the name of the schema.- Returns:
- The name of the schema.
-
getTargetNamespace
-
getElementFormDefault
protected com.aquima.interactions.communication.SchemaFormType getElementFormDefault() -
getAttributeFormDefault
protected com.aquima.interactions.communication.SchemaFormType getAttributeFormDefault() -
toDatasource
public com.aquima.interactions.communication.ds.ISchemaDS toDatasource() -
addElement
-
addType
This method adds a global type to the schema.- Parameters:
name
- The name of the type, may not be null.- Returns:
- The created template.
-
addType
This method adds a global type to the schema.- Parameters:
name
- The name of the type, may not be null.entityName
- The name of the entity for the type, may not be null.- Returns:
- The created template.
-
addType
public TypeMappingTemplate addType(String name, String entityName, com.aquima.interactions.foundation.connectivity.QualifiedName baseType) This method adds a global type to the schema.- Parameters:
name
- The name of the type, may not be null.entityName
- The name of the entity for the type, may not be null.baseType
- The base type of the type, may not be null.- Returns:
- The created template.s
-
getElements
-
getTypes
-