public interface

WebTimePrompt

implements WebConstantPrompt
com.microstrategy.web.objects.WebTimePrompt

Class Overview

The WebTimePrompt interface represents a prompt which defines a time. Note that any constant prompt can be cast to this interface, but if the prompt's datatype is incorrect, the methods on this interface will fail.

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
Public Methods
abstract WebTime getAnswerAsTime()
Returns the current answer as a WebTime object.
abstract WebTime getDefaultAnswerAsTime()
Returns the default answer as a WebTime object.
abstract WebTime getPreviousAnswerAsTime()
Returns the previous answer as a WebTime object.
[Expand]
Inherited Methods
From interface com.microstrategy.utils.KeyedObject
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.objects.WebConstantPrompt
From interface com.microstrategy.web.objects.WebDisplayUnit
From interface com.microstrategy.web.objects.WebFeatures
From interface com.microstrategy.web.objects.WebObjectInfo
From interface com.microstrategy.web.objects.WebPrompt
From interface com.microstrategy.web.objects.WebPromptSite

Public Methods

public abstract WebTime getAnswerAsTime ()

Returns the current answer as a WebTime object. It can then be changed in that manner.

Returns
  • The current answer represented as a WebTime object.

public abstract WebTime getDefaultAnswerAsTime ()

Returns the default answer as a WebTime object. It can then be changed in that manner.

Returns
  • The default answer represented as a WebTime object.

public abstract WebTime getPreviousAnswerAsTime ()

Returns the previous answer as a WebTime object. It can then be changed in that manner.

Returns
  • The previous answer represented as a WebTime object.