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

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

public class TWarningContentItem
extends java.lang.Object
implements TResponseContentItem

TwarningContentItem is the warning information specific implementation class for TResponseContentItem. This class provides access operations for the warning info structure provided within Tamino responses. This comprises the return value as well as the warning text and warning line.

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

Field Summary
static java.lang.String SPECIFIER
          The specifier for the warning info item.
 
Constructor Summary
protected TWarningContentItem(java.lang.String returnValue, TWarningTextContentItem warningText, TWarningLineContentItem warningLine)
          Initializes the warning info item.
 
Method Summary
 java.lang.String getReturnValue()
          Gets the response attribute value.
 TWarningLineContentItem getWarningLine()
          Gets the message line content.
 TWarningTextContentItem getWarningText()
          Gets the message text content.
 java.lang.String toString()
          Shows the warning 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 info item.

Constructor Detail

TWarningContentItem

protected TWarningContentItem(java.lang.String returnValue,
                              TWarningTextContentItem warningText,
                              TWarningLineContentItem warningLine)
Initializes the warning info item.

Parameters:
warningText - the warning text
warningLine - the warning line
Method Detail

getReturnValue

public java.lang.String getReturnValue()
Gets the response attribute value.

Returns:
the response attribute value.

getWarningText

public TWarningTextContentItem getWarningText()
Gets the message text content.

Returns:
the message text content.

getWarningLine

public TWarningLineContentItem getWarningLine()
Gets the message line content.

Returns:
the message line content.

toString

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

Overrides:
toString in class java.lang.Object


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