pt.digitalis.dif.dem.objects.parameters.rules
Class ParameterRuleResult

java.lang.Object
  extended by pt.digitalis.dif.dem.objects.parameters.rules.ParameterRuleResult

public class ParameterRuleResult
extends Object

Result of a parameter rule validation

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
Mar 31, 2009

Constructor Summary
ParameterRuleResult(boolean valid)
           
ParameterRuleResult(String errorMessage)
           
 
Method Summary
 String getErrorMessage()
          Inspector for the 'errorMessage' attribute.
 boolean isValid()
          Inspector for the 'valid' attribute.
 void setErrorMessage(String errorMessage)
          Modifier for the 'errorMessage' attribute.
 void setValid(boolean valid)
          Modifier for the 'valid' attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterRuleResult

public ParameterRuleResult(boolean valid)
Parameters:
valid -

ParameterRuleResult

public ParameterRuleResult(String errorMessage)
Parameters:
errorMessage -
Method Detail

getErrorMessage

public String getErrorMessage()
Inspector for the 'errorMessage' attribute.

Returns:
the errorMessage value

isValid

public boolean isValid()
Inspector for the 'valid' attribute.

Returns:
the valid value

setErrorMessage

public void setErrorMessage(String errorMessage)
Modifier for the 'errorMessage' attribute.

Parameters:
errorMessage - the new errorMessage value to set

setValid

public void setValid(boolean valid)
Modifier for the 'valid' attribute.

Parameters:
valid - the new valid value to set


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.