org.jaffa.components.maint
Class MaintComponent2.Screen

java.lang.Object
  extended byorg.jaffa.components.maint.MaintComponent2.Screen
Enclosing class:
MaintComponent2

public class MaintComponent2.Screen
extends Object

A maintenance component may consist of more than one screen. An instance of this class will represent each screen of the component


Constructor Summary
MaintComponent2.Screen(String formName, boolean availableInUpdateMode, boolean availableInCreateMode, boolean saveActionAvailableInCreateMode, boolean performTxValidationOnNextAction)
          This will create an instance of a maintenance Screen.
 
Method Summary
 String getFormName()
          Getter for property formName.
 boolean isAvailableInCreateMode()
          Getter for property availableInCreateMode.
 boolean isAvailableInUpdateMode()
          Getter for property availableInUpdateMode.
 boolean isPerformTxValidationOnNextAction()
          Getter for property performTxValidationOnNextAction.
 boolean isSaveActionAvailableInCreateMode()
          Getter for property saveActionAvailableInCreateMode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaintComponent2.Screen

public MaintComponent2.Screen(String formName,
                              boolean availableInUpdateMode,
                              boolean availableInCreateMode,
                              boolean saveActionAvailableInCreateMode,
                              boolean performTxValidationOnNextAction)
This will create an instance of a maintenance Screen.

Parameters:
formName - the Struts GlobalForward for the screen.
availableInUpdateMode - determines if this screen is available in update mode.
availableInCreateMode - determines if this screen is available in create mode.
saveActionAvailableInCreateMode - determines if save action is available for this screen.
performTxValidationOnNextAction - determines if Tx validation will be performed when the Next action is invoked on this screen.
Method Detail

getFormName

public String getFormName()
Getter for property formName.

Returns:
Value of property formName.

isAvailableInUpdateMode

public boolean isAvailableInUpdateMode()
Getter for property availableInUpdateMode.

Returns:
Value of property availableInUpdateMode.

isAvailableInCreateMode

public boolean isAvailableInCreateMode()
Getter for property availableInCreateMode.

Returns:
Value of property availableInCreateMode.

isSaveActionAvailableInCreateMode

public boolean isSaveActionAvailableInCreateMode()
Getter for property saveActionAvailableInCreateMode.

Returns:
Value of property saveActionAvailableInCreateMode.

isPerformTxValidationOnNextAction

public boolean isPerformTxValidationOnNextAction()
Getter for property performTxValidationOnNextAction.

Returns:
Value of property performTxValidationOnNextAction.


Copyright © 2002-2004 JAFFA Project.