com.softwareag.tamino.db.api.response
Class TMessageLineContentItem

java.lang.Object
  extended by com.softwareag.tamino.db.api.response.TMessageLineContentItem
All Implemented Interfaces:
TResponseContentItem

public class TMessageLineContentItem
extends java.lang.Object
implements TResponseContentItem

Version:
$Revision: 1.5 $
Author:
Marcus Schreyer

Field Summary
static java.lang.String SPECIFIER
          The specifier for the message info item.
 
Constructor Summary
protected TMessageLineContentItem(java.lang.String subject, java.lang.String text)
          Initializes the message info item.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SPECIFIER

public static final java.lang.String SPECIFIER
The specifier for the message info item.

Constructor Detail

TMessageLineContentItem

protected TMessageLineContentItem(java.lang.String subject,
                                  java.lang.String text)
Initializes the message info item.

Method Detail

getSubject

public java.lang.String getSubject()
Gets the message lines subject attribute value.


getText

public java.lang.String getText()
Gets the message lines text content.


addAttribute

public void addAttribute(java.lang.String attributeName,
                         java.lang.String attributeValue)
Add a additional attributs and their value to this message line.

Parameters:
attributName - the name of the attribute
attributValue - the value of the attribute

getAttribute

public java.lang.String getAttribute(java.lang.String attributeName)
Retrieve additional attributs and their value from this message line

Parameters:
attributName - the name of the attribute

toString

public java.lang.String toString()
Shows the message info as XML.

Overrides:
toString in class java.lang.Object


Copyright (c) 2013 Software AG. All Rights Reserved.