public static enum FieldMapper.Field extends java.lang.Enum<FieldMapper.Field>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NO_BYTE_TRANSLATOR_ERROR |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getMqField(com.ibm.mq.MQMessage msg,
ByteTranslator c)
Get the MQMessage field and return it as a String.
|
abstract void |
setMqField(com.ibm.mq.MQMessage msg,
java.lang.String value,
ByteTranslator c)
Map the value onto the specific mq-field.
|
static FieldMapper.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldMapper.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldMapper.Field accountingToken
public static final FieldMapper.Field applicationIdData
public static final FieldMapper.Field applicationOriginData
public static final FieldMapper.Field backoutCount
public static final FieldMapper.Field characterSet
public static final FieldMapper.Field correlationId
public static final FieldMapper.Field encoding
public static final FieldMapper.Field expiry
public static final FieldMapper.Field feedback
public static final FieldMapper.Field format
public static final FieldMapper.Field groupId
public static final FieldMapper.Field messageFlags
public static final FieldMapper.Field messageId
public static final FieldMapper.Field messageSequenceNumber
public static final FieldMapper.Field messageType
public static final FieldMapper.Field offset
public static final FieldMapper.Field originalLength
public static final FieldMapper.Field persistence
public static final FieldMapper.Field priority
public static final FieldMapper.Field putApplicationName
public static final FieldMapper.Field putApplicationType
public static final FieldMapper.Field putDateTime
public static final FieldMapper.Field replyToQueueManagerName
public static final FieldMapper.Field replyToQueueName
public static final FieldMapper.Field report
public static final FieldMapper.Field userId
public static final FieldMapper.Field version
public static final java.lang.String NO_BYTE_TRANSLATOR_ERROR
public static FieldMapper.Field[] values()
for (FieldMapper.Field c : FieldMapper.Field.values()) System.out.println(c);
public static FieldMapper.Field valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract void setMqField(com.ibm.mq.MQMessage msg, java.lang.String value, ByteTranslator c) throws java.io.IOException
msg
- the MQMessage whose fields need to be modifiedvalue
- the valuec
- the byte translator, if appropriatejava.io.IOException
- on error translating the fields.public abstract java.lang.String getMqField(com.ibm.mq.MQMessage msg, ByteTranslator c) throws java.io.IOException
msg
- the MQMessagec
- the byte translator to be used if appropriatejava.io.IOException
- on error translating the fields.