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

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

public class TWarningImpl
extends java.lang.Object
implements TWarning

TWarningImpl is the implemantation of the TWarning interface.

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

Constructor Summary
TWarningImpl(TWarningContentItem warningContentItem)
          Create the TWarningImpl instance.
 
Method Summary
 java.lang.String getCode()
          Gets the warning code.
 java.lang.String getLine()
          Gets the warning line.
 java.lang.String getReturnValue()
          Gets the Tamino return value.
 java.lang.String getText()
          Gets the warning text.
 boolean hasLine()
          Indicates if the warning provides a warning line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TWarningImpl

public TWarningImpl(TWarningContentItem warningContentItem)
Create the TWarningImpl instance.

Parameters:
warningContentItem - the warning information
Method Detail

getReturnValue

public java.lang.String getReturnValue()
Gets the Tamino return value.

Specified by:
getReturnValue in interface TWarning
Returns:
the Tamino return value.

getCode

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

Specified by:
getCode in interface TWarning
Returns:
the warning code.

getText

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

Specified by:
getText in interface TWarning
Returns:
the warning text.

hasLine

public boolean hasLine()
Indicates if the warning provides a warning line.

Specified by:
hasLine in interface TWarning
Returns:
true if the warning contains a warning line, false otherwise.

getLine

public java.lang.String getLine()
Gets the warning line.

Specified by:
getLine in interface TWarning
Returns:
the warning line.


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