Class CommunicationEngineTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.CommunicationEngineTemplate
This class may be used to quickly initialize a model.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
-
Constructor Summary
ConstructorsConstructorDescriptionCommunicationEngineTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptionaddDefaultSoapService
(String serviceName) Use this method to add a soapservice.addDefaultSoapService
(String serviceName, String targetNamespace) Use this method to add a soapservice.addDefaultSoapService
(String serviceName, String targetNamespace, String schemaSet) addDomainSchema
(String name, String rootEntity) Adds a data contract to the engine.addDomainSchema
(String name, String rootEntity, String rootName) Adds a data contract to the engine.addDomainSchema
(String name, String rootEntity, String rootName, Boolean isRootEntityHidden) Adds a data contract to the engine.addDomainSchemaRestService
(String serviceName) Adds a Rest service to the engine (using domain schemas).addRestService
(String serviceName) Adds a Rest service with no schemaset to the engine (using schemasets).addRestService
(String serviceName, String schemaSet) Adds a Rest service to the engine (using schemasets).addSchemaContract
(String name) addSchemaSet
(String schemaSetName) addSoapContract
(String name) addSoapContract
(String name, String schemaContractName) addSoapService
(String serviceName, String schemaSet) protected Iterator
<DomainSchemaTemplate> protected Iterator
<RestServiceTemplate> getSchemaContract
(String name) protected Iterator
<SchemaSetTemplate> getSoapContract
(String name) protected Iterator
<SoapContractTemplate> protected Iterator
<SoapServiceTemplate> protected Iterator
<SchemaContractTemplate> com.aquima.interactions.communication.ds.ICommunicationEngineDS
This method converts the template to a data source that can be used to initialize a model.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
CommunicationEngineTemplate
public CommunicationEngineTemplate(com.aquima.interactions.foundation.report.IInitializationReport report) -
CommunicationEngineTemplate
public CommunicationEngineTemplate()
-
-
Method Details
-
addDefaultSoapService
Use this method to add a soapservice.- Parameters:
serviceName
- The name of the soapservice.- Returns:
- Returns the created template.
-
addDefaultSoapService
Use this method to add a soapservice.- Parameters:
serviceName
- The name of the soapservice.- Returns:
- Returns the created template.
-
addDefaultSoapService
public SoapServiceTemplate addDefaultSoapService(String serviceName, String targetNamespace, String schemaSet) -
addRestService
Adds a Rest service with no schemaset to the engine (using schemasets).- Parameters:
serviceName
- The name of the rest service- Returns:
- Returns the created template
-
addRestService
Adds a Rest service to the engine (using schemasets).- Parameters:
serviceName
- The name of the serviceschemaSet
- The name of the schemaset- Returns:
- Returns the created template
-
addDomainSchemaRestService
Adds a Rest service to the engine (using domain schemas).- Parameters:
serviceName
- The name of the service- Returns:
- Returns the created template
-
addSoapService
-
addSchemaSet
-
getSoapContract
-
addSoapContract
-
addSoapContract
-
addDomainSchema
Adds a data contract to the engine.- Parameters:
name
- The name of the data contract, not null.rootEntity
- The singleton entity name, not null.- Returns:
- The template to modify the contract.
-
addDomainSchema
Adds a data contract to the engine.- Parameters:
name
- The name of the data contract, not null.rootEntity
- The singleton entity name, not null. *rootName
- The optional name of the root object, may be null.- Returns:
- The template to modify the contract.
-
addDomainSchema
public DomainSchemaTemplate addDomainSchema(String name, String rootEntity, String rootName, Boolean isRootEntityHidden) Adds a data contract to the engine.- Parameters:
name
- The name of the data contract, not null.rootEntity
- The singleton entity name, not null.rootName
- The optional name of the root object, may be null.isRootEntityHidden
- The boolean indicating if the root entity should be hidden- Returns:
- The template to modify the contract.
-
getSchemaContract
-
addSchemaContract
-
toDataSource
public com.aquima.interactions.communication.ds.ICommunicationEngineDS toDataSource()This method converts the template to a data source that can be used to initialize a model.- Returns:
- a data source that can be used to initialize a model.
-
getSoapServices
-
getSchemaSets
-
getRestServices
-
getSoapContracts
-
getXmlContracts
-
getDomainSchemas
-