public class TMessageLineContentItem extends java.lang.Object implements TResponseContentItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SPECIFIER
The specifier for the message info item.
|
Modifier | Constructor and Description |
---|---|
protected |
TMessageLineContentItem(java.lang.String subject,
java.lang.String text)
Initializes the message info item.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Add a additional attributs and their value to this message line.
|
java.lang.String |
getAttribute(java.lang.String attributeName)
Retrieve additional attributs and their value from this message line
|
java.lang.String |
getSubject()
Gets the message lines subject attribute value.
|
java.lang.String |
getText()
Gets the message lines text content.
|
java.lang.String |
toString()
Shows the message info as XML.
|
public static final java.lang.String SPECIFIER
protected TMessageLineContentItem(java.lang.String subject, java.lang.String text)
public java.lang.String getSubject()
public java.lang.String getText()
public void addAttribute(java.lang.String attributeName, java.lang.String attributeValue)
attributName
- the name of the attributeattributValue
- the value of the attributepublic java.lang.String getAttribute(java.lang.String attributeName)
attributName
- the name of the attributepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2017 Software AG. All Rights Reserved.