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

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

public class TWarningTextContentItem
extends java.lang.Object
implements TResponseContentItem

TMessageTextContentItem is the warning text information specific implementation class for TResponseContentItem. This class provides access operations for the warning text provided within Tamino warning responses.

Version:
$Revision: 1.1 $
Author:
Oliver.Kleber@softwareag.com

Field Summary
static java.lang.String SPECIFIER
          The specifier for the warning text item.
 
Constructor Summary
protected TWarningTextContentItem(java.lang.String code, java.lang.String text)
          Initializes the warning text item.
 
Method Summary
 java.lang.String getCode()
          Gets the warning text code.
 java.lang.String getText()
          Gets the warning text content
 java.lang.String toString()
          Shows the warning text 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 warning text item.

Constructor Detail

TWarningTextContentItem

protected TWarningTextContentItem(java.lang.String code,
                                  java.lang.String text)
Initializes the warning text item.

Parameters:
code - the warning text code
text - the warning text content
Method Detail

getCode

public java.lang.String getCode()
Gets the warning text code.

Returns:
the warning text code

getText

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

Returns:
the warning text content

toString

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

Overrides:
toString in class java.lang.Object


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