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

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
CustomInput, NullInputDefinition

public interface IInputDefinition
extends java.lang.Cloneable


Field Summary
static int CODED
          CODED inputs need not be supplied.
static int CONSTANT
          CONSTANT inputs need not be supplied.
static java.lang.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 java.lang.String[] REQUIREMENT_STRINGS
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.Object getDefaultValue()
          Returns the defaultValue.
 java.lang.String getDescription()
          Returns the description.
 java.lang.String getName()
          Returns the name.
 int getRequirement()
          Returns the requirement.
 java.lang.String getRequirementAsString()
           
 java.lang.String getSource()
           
 ValidationRule getValidationRule()
           
 java.lang.String getValidationRuleAsString()
           
 void setDefaultValue(java.lang.Object defaultValue)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setRequirement(int requirement)
           
 void setRequirementAsString(java.lang.String requirement)
           
 void setSource(java.lang.String source)
           
 void setValidationRule(ValidationRule newValidationRule)
           
 void setValidationRuleAsString(java.lang.String newValidationRule)
           
 

Field Detail

FROM_PROCESS

public static final java.lang.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

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

See Also:
Constant Field Values

CONSTANT

public 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

public 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

public 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

public 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

public static final java.lang.String[] REQUIREMENT_STRINGS
Method Detail

getDefaultValue

public java.lang.Object getDefaultValue()
Returns the defaultValue.

Returns:
Object

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
String

getName

public java.lang.String getName()
Returns the name.

Returns:
String

getRequirement

public int getRequirement()
Returns the requirement.

Returns:
int

getRequirementAsString

public java.lang.String getRequirementAsString()

getSource

public java.lang.String getSource()

setSource

public void setSource(java.lang.String source)

setDefaultValue

public void setDefaultValue(java.lang.Object defaultValue)

setDescription

public void setDescription(java.lang.String description)

setName

public void setName(java.lang.String name)

setRequirement

public void setRequirement(int requirement)

setRequirementAsString

public void setRequirementAsString(java.lang.String requirement)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

getValidationRule

public ValidationRule getValidationRule()

getValidationRuleAsString

public java.lang.String getValidationRuleAsString()

setValidationRule

public void setValidationRule(ValidationRule newValidationRule)

setValidationRuleAsString

public void setValidationRuleAsString(java.lang.String newValidationRule)


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