Constructor and Description |
---|
ReasonField() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
encodeReason(int r)
Utility method that takes a reason code integer and returns the associated descriptive text.
|
java.lang.String |
getText()
Returns the value of this reason field as a descriptive text string.
|
int |
getValue()
This returns the value of this reason field as an integer reason code.
|
void |
setValue(int v)
Sets the value of this reason field using the specified reason code integer.
|
public int getValue()
Message.Reason
public java.lang.String getText()
public void setValue(int v)
v
- The reason code integer.Message.Reason
public static final java.lang.String encodeReason(int r)
r
- The reason code integer to be encoded.