public interface

WebConstantPromptAnswer

implements WebPromptAnswer
com.microstrategy.web.objects.WebConstantPromptAnswer

Class Overview

The WebConstantPromptAnswer interface represents a user answer to WebConstantPrompt.

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
Public Methods
abstract String getAnswer()
Returns the prompt answer to a constant prompt.
abstract void setAnswer(String answer)
Sets a constant prompt answer.
[Expand]
Inherited Methods
From interface com.microstrategy.utils.KeyedObject
From interface com.microstrategy.utils.serialization.Persistable
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.WebPromptAnswer
From interface com.microstrategy.web.objects.WebPromptSite

Public Methods

public abstract String getAnswer ()

Returns the prompt answer to a constant prompt.

Returns
  • the prompt answer to a constant prompt.

public abstract void setAnswer (String answer)

Sets a constant prompt answer. A constant prompt question object must be set before calling this method to set a promp answer.

Parameters
answer the prompt answer to a constant prompt.
Throws
WebObjectsException thrown if the answer is invalid.