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

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

public class TTimeContentItem
extends java.lang.Object
implements TResponseContentItem

TTimeContentItem is the time info specific implementation class for TResponseContentItem. This class provides access operations for the time info structure provided within Tamino responses.

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

Field Summary
static java.lang.String SPECIFIER
          The specifier for the time info item.
 
Constructor Summary
protected TTimeContentItem(java.lang.String date, java.lang.String time, java.lang.String duration)
          Initializes the time info item.
 
Method Summary
 java.lang.String getDate()
          Gets the date.
 java.lang.String getDuration()
          Gets the duration.
 java.lang.String getTime()
          Gets the time.
 java.lang.String toString()
          Shows the time info as XML specific attributes.
 
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 time info item.

Constructor Detail

TTimeContentItem

protected TTimeContentItem(java.lang.String date,
                           java.lang.String time,
                           java.lang.String duration)
Initializes the time info item.

Method Detail

getDate

public java.lang.String getDate()
Gets the date.

Returns:
The date, otherwise the empty string.

getTime

public java.lang.String getTime()
Gets the time.

Returns:
The time, otherwise the empty string.

getDuration

public java.lang.String getDuration()
Gets the duration.

Returns:
The duration, otherwise the empty string.

toString

public java.lang.String toString()
Shows the time info as XML specific attributes.

Overrides:
toString in class java.lang.Object


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