pt.digitalis.dif.dem.objects.parameters.constraints.impl.date
Class ParameterConstraintDateInFutureImpl
java.lang.Object
pt.digitalis.dif.dem.objects.parameters.constraints.AbstractParameterConstraint
pt.digitalis.dif.dem.objects.parameters.constraints.impl.date.ParameterConstraintDateImpl
pt.digitalis.dif.dem.objects.parameters.constraints.impl.date.ParameterConstraintDateInFutureImpl
- All Implemented Interfaces:
- IParameterConstraint
public class ParameterConstraintDateInFutureImpl
- extends ParameterConstraintDateImpl
Date in Future parameter constraint implementation.
Will validate if the given date is in the future as it is mandatory.
- Author:
- Pedro Viegas pviegas@digitalis.pt
- Created on:
- 2010/09/14
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterConstraintDateInFutureImpl
public ParameterConstraintDateInFutureImpl()
validateConstraint
public boolean validateConstraint(Object value,
IStageInstance stageInstance)
- Description copied from interface:
IParameterConstraint
- Validates the parameter value passed in it's native type
- Specified by:
validateConstraint
in interface IParameterConstraint
- Overrides:
validateConstraint
in class ParameterConstraintDateImpl
- Parameters:
value
- the value to validatestageInstance
- the current stage in execution
- Returns:
- T if the validation succeeded
- See Also:
ParameterConstraintDateImpl.validateConstraint(java.lang.Object,
pt.digitalis.dif.dem.interfaces.IStageInstance)
validateConstraint
public boolean validateConstraint(String value,
IStageInstance stageInstance)
- Description copied from interface:
IParameterConstraint
- Validates the parameter value passed as a String
- Specified by:
validateConstraint
in interface IParameterConstraint
- Overrides:
validateConstraint
in class ParameterConstraintDateImpl
- Parameters:
value
- the value to validatestageInstance
- the current stage in execution
- Returns:
- T if the validation succeded
- See Also:
ParameterConstraintDateImpl.validateConstraint(java.lang.String,
pt.digitalis.dif.dem.interfaces.IStageInstance)
Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.