public abstract class ProcessTemplate
extends java.lang.Object
| Constructor and Description |
|---|
ProcessTemplate(ProcessDefinition processDefinition,
Role referenceRole) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
checkCompliance(ReqIFArchive previous,
ReqIFArchive priorCurrent,
ReqIFArchive current,
Role currentRole,
java.util.function.Consumer<ComplianceMessage> complianceMessageConsumer) |
ProcessDefinition |
getProcessDefinition() |
abstract ReferenceDefinitions |
getReferenceDefinitions()
the status definitions and values for the 1st reference archive in the process exchange
|
Role |
getReferenceRole() |
public ProcessTemplate(ProcessDefinition processDefinition, Role referenceRole)
public abstract ReferenceDefinitions getReferenceDefinitions()
ReferenceDefinitions collection in this ProcessTemplate objectpublic abstract void checkCompliance(ReqIFArchive previous, ReqIFArchive priorCurrent, ReqIFArchive current, Role currentRole, java.util.function.Consumer<ComplianceMessage> complianceMessageConsumer) throws ExchangeProcessComplianceException
previous - the archive previous to the current archive for comparison, can be nullpriorCurrent - the 1st archive with the same role as current, prior to the current, can be nullcurrent - the current archive to check for compliance by comparing it to the previous archive, not nullcurrentRole - the role of the current archive, either CUSTOMER or SUPPLIER, not nullcomplianceMessageConsumer - a consumer of ComplianceMessage objects, not nullExchangeProcessComplianceException - if an exception occurs during the compliance checkpublic ProcessDefinition getProcessDefinition()
public Role getReferenceRole()