com.bankframe.fe.statemachine.ext.apploaders
Class InputRequirements

java.lang.Object
  extended bycom.bankframe.fe.statemachine.ext.apploaders.InputRequirements
All Implemented Interfaces:
java.lang.Cloneable, IInputRequirements
Direct Known Subclasses:
InputRequirements

public class InputRequirements
extends java.lang.Object
implements IInputRequirements, java.lang.Cloneable


Constructor Summary
InputRequirements()
          Constructor for InputRequirements.
 
Method Summary
 void addInputDefinition(IInputDefinition definition)
           
 void addInputDefinitions(IInputRequirements otherRequirements)
          This method copies the input definitions from the given requirements into this requirements, overwriting any pre-existing definitions with the same name.
 void addInputDefinitions(IProcess process)
          This method attempts to create input definitions based on a process definition.
 void addInputDefinitions(IProcessUser processUser)
          This method calls addInputDefinitions(IProcess) for each process used by the processUser.
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void addPropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
           
 java.lang.Object clone()
           
 java.util.Collection getFailedRequirements(Inputs inputs)
          This method returns an Iterator over all the InputDefinitions that are not met by the given Inputs.
 IInputDefinition getInputDefinition(java.lang.String inputName)
           
 java.util.Collection getInputDefinitions()
           
 void removeDeletedFields(IProcess process)
          This methoed will compare the current fields in the input requirements dialog that came from a process definition and will compare to the process defintion, removing any fields that were deleted from the process definition.
 void removeInputDefinition(java.lang.String name)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void removePropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputRequirements

public InputRequirements()
Constructor for InputRequirements.

Method Detail

getInputDefinitions

public java.util.Collection getInputDefinitions()
Specified by:
getInputDefinitions in interface IInputRequirements
See Also:
IInputRequirements.getInputDefinitions()

getInputDefinition

public IInputDefinition getInputDefinition(java.lang.String inputName)
Specified by:
getInputDefinition in interface IInputRequirements
See Also:
IInputRequirements.getInputDefinition(String)

addInputDefinition

public void addInputDefinition(IInputDefinition definition)

removeInputDefinition

public void removeInputDefinition(java.lang.String name)

addInputDefinitions

public void addInputDefinitions(IInputRequirements otherRequirements)
This method copies the input definitions from the given requirements into this requirements, overwriting any pre-existing definitions with the same name.


addInputDefinitions

public void addInputDefinitions(IProcessUser processUser)
This method calls addInputDefinitions(IProcess) for each process used by the processUser.

Parameters:
processUser -

addInputDefinitions

public void addInputDefinitions(IProcess process)
This method attempts to create input definitions based on a process definition.

Thr rules it follows are:

Parameters:
process -

removeDeletedFields

public void removeDeletedFields(IProcess process)
This methoed will compare the current fields in the input requirements dialog that came from a process definition and will compare to the process defintion, removing any fields that were deleted from the process definition.


getFailedRequirements

public java.util.Collection getFailedRequirements(Inputs inputs)
This method returns an Iterator over all the InputDefinitions that are not met by the given Inputs.
Note that only those InputDefinitions marked as REQUIRED are tested by this method. CONSTANT, OPTIONAL and CODED parameters are assumed to exist.

Specified by:
getFailedRequirements in interface IInputRequirements
Parameters:
inputs - The Inputs to test for requirements.
Returns:
Collection A Collection of the failed requirements.
See Also:
IInputRequirements.getFailedRequirements(Inputs)

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String name,
                                      java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.lang.String name,
                                         java.beans.PropertyChangeListener listener)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface IInputRequirements
Throws:
java.lang.CloneNotSupportedException


Copyright © 2004 Siebel Systems, Inc. All rights reserved.