Package com.aquima.interactions.portal
Class PortalMessage
java.lang.Object
com.aquima.interactions.portal.PortalMessage
- All Implemented Interfaces:
IPortalMessage
Default implementation of the portal message
- Since:
- 9.2
- Author:
- a.pragt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to the message.Returns the value of a field.String[]
Returns the names of the fields.Returns the type of the message.
-
Constructor Details
-
PortalMessage
- Parameters:
messageType
- The type of the message.
-
-
Method Details
-
getMessageType
Description copied from interface:IPortalMessage
Returns the type of the message.- Specified by:
getMessageType
in interfaceIPortalMessage
- Returns:
- The type of the message, not null.
-
getFieldNames
Description copied from interface:IPortalMessage
Returns the names of the fields.- Specified by:
getFieldNames
in interfaceIPortalMessage
- Returns:
- The names, not null.
-
getField
Description copied from interface:IPortalMessage
Returns the value of a field.- Specified by:
getField
in interfaceIPortalMessage
- Parameters:
name
- The name of a field, not null.- Returns:
- The value of a field, or null.
-
addField
Adds a field to the message.- Parameters:
name
- The name of the field, not null.value
- The value of the field.
-