public class Operation extends Object
BpmnInterface
and it defines Messages that are consumed and
(optionally) produced when the Operation is called.Modifier and Type | Field and Description |
---|---|
protected BpmnInterface |
bpmnInterface
The interface to which this operations belongs
|
protected String |
id |
protected OperationImplementation |
implementation |
protected MessageDefinition |
inMessage |
protected String |
name |
protected MessageDefinition |
outMessage |
Constructor and Description |
---|
Operation() |
Operation(String id,
String name,
BpmnInterface bpmnInterface,
MessageDefinition inMessage) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
OperationImplementation |
getImplementation() |
MessageDefinition |
getInMessage() |
BpmnInterface |
getInterface() |
String |
getName() |
MessageDefinition |
getOutMessage() |
MessageInstance |
sendMessage(MessageInstance message) |
void |
setId(String id) |
void |
setImplementation(OperationImplementation implementation) |
void |
setInMessage(MessageDefinition inMessage) |
void |
setInterface(BpmnInterface bpmnInterface) |
void |
setName(String name) |
void |
setOutMessage(MessageDefinition outMessage) |
protected String id
protected String name
protected MessageDefinition inMessage
protected MessageDefinition outMessage
protected OperationImplementation implementation
protected BpmnInterface bpmnInterface
public Operation()
public Operation(String id, String name, BpmnInterface bpmnInterface, MessageDefinition inMessage)
public MessageInstance sendMessage(MessageInstance message)
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public BpmnInterface getInterface()
public void setInterface(BpmnInterface bpmnInterface)
public MessageDefinition getInMessage()
public void setInMessage(MessageDefinition inMessage)
public MessageDefinition getOutMessage()
public void setOutMessage(MessageDefinition outMessage)
public OperationImplementation getImplementation()
public void setImplementation(OperationImplementation implementation)
Copyright © 2015. All rights reserved.