net.sf.mpxj
Class GenericCriteriaPrompt

java.lang.Object
  extended by net.sf.mpxj.GenericCriteriaPrompt

public final class GenericCriteriaPrompt
extends Object

Represents a prompt to the user as part of filter criteria.


Constructor Summary
GenericCriteriaPrompt(DataType type, String prompt)
          Constructor.
 
Method Summary
 String getPrompt()
          Retrieves the prompt text.
 DataType getType()
          Retrieve the data type of the expected value.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericCriteriaPrompt

public GenericCriteriaPrompt(DataType type,
                             String prompt)
Constructor.

Parameters:
type - prompt data type
prompt - text
Method Detail

getType

public DataType getType()
Retrieve the data type of the expected value.

Returns:
data type

getPrompt

public String getPrompt()
Retrieves the prompt text.

Returns:
prompt text

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.