com.businessobjects.rebean.wi
Class PromptType

java.lang.Object
  extended by com.businessobjects.rebean.wi.PromptType

public final class PromptType
extends java.lang.Object

PromptType class defines the allowable types of prompt.


Field Summary
static int _Mono
          Returns the int value corresponding to "Mono" PromptType
static int _Multi
          Returns the int value corresponding to "Multi" PromptType
static PromptType Mono
          A prompt with a single value.
static PromptType Multi
          A prompt that can have more than one value.
 
Method Summary
static PromptType from_int(int value)
          Gets the PromptType corresponding to a particular value.
 java.lang.String toString()
          Gets the PromptType as a String.
 int value()
          Gets the PromptType as an int.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_Mono

public static final int _Mono
Returns the int value corresponding to "Mono" PromptType

See Also:
Constant Field Values

Mono

public static final PromptType Mono
A prompt with a single value.


_Multi

public static final int _Multi
Returns the int value corresponding to "Multi" PromptType

See Also:
Constant Field Values

Multi

public static final PromptType Multi
A prompt that can have more than one value.

Method Detail

value

public int value()
Gets the PromptType as an int.

Returns:
an int representing the PromptType

from_int

public static PromptType from_int(int value)
Gets the PromptType corresponding to a particular value.

Parameters:
value - the value which corresponds to a PromptType
Returns:
the PromptType

toString

public java.lang.String toString()
Gets the PromptType as a String.

Overrides:
toString in class java.lang.Object
Returns:
a string representing the PromptType