Class MessageEventDefinition
- java.lang.Object
-
- com.aquima.interactions.process.impl.MessageEventDefinition
-
- All Implemented Interfaces:
IMessageEventDefinition
public class MessageEventDefinition extends Object implements IMessageEventDefinition
This class contains a single message event definition.- Since:
- 9.1
- Author:
- A. Pragt
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageEventDefinition(IMessageEventDS datasource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addField(MessageEventFieldDefinition fieldDefinition)
IMessageEventFieldDefinition
getField(String name)
This method returns the definition of the datafield.String[]
getFieldNames()
This method returns the names of the data fields, may not be null.String
getName()
This method returns the name of the message event, may not be null.
-
-
-
Constructor Detail
-
MessageEventDefinition
protected MessageEventDefinition(IMessageEventDS datasource)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IMessageEventDefinition
This method returns the name of the message event, may not be null.- Specified by:
getName
in interfaceIMessageEventDefinition
- Returns:
- The name of the event, never null.
-
getFieldNames
public String[] getFieldNames()
Description copied from interface:IMessageEventDefinition
This method returns the names of the data fields, may not be null. s- Specified by:
getFieldNames
in interfaceIMessageEventDefinition
- Returns:
- The names of the data fields, never null.
-
getField
public IMessageEventFieldDefinition getField(String name) throws UnknownMessageEventFieldException
Description copied from interface:IMessageEventDefinition
This method returns the definition of the datafield.- Specified by:
getField
in interfaceIMessageEventDefinition
- Parameters:
name
- The name of the data field.- Returns:
- The definition of the data field.
- Throws:
UnknownMessageEventFieldException
-
addField
protected void addField(MessageEventFieldDefinition fieldDefinition)
-
-