public class JoltOutputEvent
extends java.util.EventObject
All getValue/getTextValue methods operate on output parameters only.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTextValue(java.lang.String fieldName)
Get the value of a field in the reply/event message as a String.
|
java.lang.String |
getTextValue(java.lang.String fieldName,
int index)
Get the value of one occurrence of a field in the
reply/event message as String.
|
java.lang.String[] |
getTextValues(java.lang.String fieldName)
Get all occurrences of a field in the reply/event message
as Strings.
|
java.lang.Object |
getValue(java.lang.String fieldName)
Get the value of a field in the reply/event message
using the field's native data format.
|
java.lang.Object |
getValue(java.lang.String fieldName,
int index)
Get the value of one occurrence of a field in the
reply/event message using the field's native data format.
|
java.lang.Object[] |
getValues(java.lang.String fieldName)
Get all occurrences of a field in the reply/event message
message using the field's native data format.
|
boolean |
isEventMessage()
Report true if this JoltOutputEvent was constructed for
a Tuxedo user event, report false it it was constructed for
a service reply.
|
public Message message
public boolean isEventMessage()
public java.lang.Object getValue(java.lang.String fieldName)
fieldName
- Name of the field (FML field name).public java.lang.Object getValue(java.lang.String fieldName, int index)
fieldName
- Name of the field (FML field name).index
- The occurrence index of the field.public java.lang.Object[] getValues(java.lang.String fieldName)
fieldName
- Name of the field (FML field name).public java.lang.String getTextValue(java.lang.String fieldName)
fieldName
- Name of the field (FML field name).public java.lang.String getTextValue(java.lang.String fieldName, int index)
fieldName
- Name of the field (FML field name).index
- The occurrence index of the field.public java.lang.String[] getTextValues(java.lang.String fieldName)
fieldName
- Name of the field (FML field name).