org.eclipse.actf.validation.core
Class ValidationProcessState

java.lang.Object
  extended by org.eclipse.actf.validation.core.ValidationProcessState

public class ValidationProcessState
extends Object

ValidationProcessState is a holder for the current state of a IValidationProcess. This class is commmonly used during cross-model validations, for instance, when an SWT GUI contains Swing components. During any validation, the current ExecutionPoint, IRuleBase, and IValidationContext are key elements needed to validate one component to the next. This hold allow the current state of each of these elements to be saved and used again, if necessary.

Author:
John Buslawski

Constructor Summary
ValidationProcessState(ExecutionPoint execPoint, IRuleBase iRuleBase, IValidationContext context)
           
 
Method Summary
 ExecutionPoint getExecutionPoint()
           
 IRuleBase getRuleBase()
           
 IValidationContext getValidationContext()
           
 void setExecutionPoint(ExecutionPoint execPoint)
           
 void setRuleBase(IRuleBase iRuleBase)
           
 void setValidationContext(IValidationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationProcessState

public ValidationProcessState(ExecutionPoint execPoint,
                              IRuleBase iRuleBase,
                              IValidationContext context)
Parameters:
execPoint -
iRuleBase -
context -
Method Detail

getValidationContext

public IValidationContext getValidationContext()
Returns:
the context

setValidationContext

public void setValidationContext(IValidationContext context)
Parameters:
context - the context to set

getExecutionPoint

public ExecutionPoint getExecutionPoint()
Returns:
the execPoint

setExecutionPoint

public void setExecutionPoint(ExecutionPoint execPoint)
Parameters:
execPoint - the execPoint to set

getRuleBase

public IRuleBase getRuleBase()
Returns:
the ruleBase

setRuleBase

public void setRuleBase(IRuleBase iRuleBase)
Parameters:
iRuleBase - the ruleBase to set