com.bankframe.fe.statemachine.ext.apploaders
Interface IInputDefinition

All Superinterfaces:
Cloneable
All Known Implementing Classes:
CustomInput, NullInputDefinition

public interface IInputDefinition
extends Cloneable


Field Summary
static int CODED
          CODED inputs need not be supplied.
static int CONSTANT
          CONSTANT inputs need not be supplied.
static String FROM_PROCESS
          this field is used to flag where the input came from, ie from a process or from the user.
static int OPTIONAL
          OPTIONAL inputs need not be supplied.
static int PROCESS
          PROCESS inputs need not be supplied.
static int REQUIRED
          REQUIRED inputs must be supplied in the request, session or responseData as appropriate.
static String[] REQUIREMENT_STRINGS
           
 
Method Summary
 Object clone()
           
 Object getDefaultValue()
          Returns the defaultValue.
 String getDescription()
          Returns the description.
 String getName()
          Returns the name.
 int getRequirement()
          Returns the requirement.
 String getRequirementAsString()
           
 String getSource()
           
 ValidationRule getValidationRule()
           
 String getValidationRuleAsString()
           
 void setDefaultValue(Object defaultValue)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setRequirement(int requirement)
           
 void setRequirementAsString(String requirement)
           
 void setSource(String source)
           
 void setValidationRule(ValidationRule newValidationRule)
           
 void setValidationRuleAsString(String newValidationRule)
           
 

Field Detail

FROM_PROCESS

static final String FROM_PROCESS
this field is used to flag where the input came from, ie from a process or from the user.

See Also:
Constant Field Values

REQUIRED

static final int REQUIRED
REQUIRED inputs must be supplied in the request, session or responseData as appropriate.

See Also:
Constant Field Values

CONSTANT

static final int CONSTANT
CONSTANT inputs need not be supplied. The defaultValue will always be the value of the input.

See Also:
Constant Field Values

OPTIONAL

static final int OPTIONAL
OPTIONAL inputs need not be supplied. If they are supplied, the supplied value will be used. Otherwise the defaultValue will be used.

See Also:
Constant Field Values

CODED

static final int CODED
CODED inputs need not be supplied. This marks inputs whose value will be set by the controller or view. The CODED option can be used to mark parameters to processes that are calculated or otherwise supplied by the controller or view.

See Also:
Constant Field Values

PROCESS

static final int PROCESS
PROCESS inputs need not be supplied. This marks inputs whose value will be taked from the Process DataPacketDefinition

See Also:
Constant Field Values

REQUIREMENT_STRINGS

static final String[] REQUIREMENT_STRINGS
Method Detail

getDefaultValue

Object getDefaultValue()
Returns the defaultValue.

Returns:
Object

getDescription

String getDescription()
Returns the description.

Returns:
String

getName

String getName()
Returns the name.

Returns:
String

getRequirement

int getRequirement()
Returns the requirement.

Returns:
int

getRequirementAsString

String getRequirementAsString()

getSource

String getSource()

setSource

void setSource(String source)

setDefaultValue

void setDefaultValue(Object defaultValue)

setDescription

void setDescription(String description)

setName

void setName(String name)

setRequirement

void setRequirement(int requirement)

setRequirementAsString

void setRequirementAsString(String requirement)

clone

Object clone()
             throws CloneNotSupportedException
Throws:
CloneNotSupportedException

getValidationRule

ValidationRule getValidationRule()

getValidationRuleAsString

String getValidationRuleAsString()

setValidationRule

void setValidationRule(ValidationRule newValidationRule)

setValidationRuleAsString

void setValidationRuleAsString(String newValidationRule)


Copyright © 2005, 2007, Oracle. All rights reserved.