Package org.openflexo.pamela.validation
Class ValidationError<R extends ValidationRule<R,V>,V extends Validable>
- java.lang.Object
-
- org.openflexo.pamela.validation.ValidationIssue<R,V>
-
- org.openflexo.pamela.validation.ProblemIssue<R,V>
-
- org.openflexo.pamela.validation.ValidationError<R,V>
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
public class ValidationError<R extends ValidationRule<R,V>,V extends Validable> extends ProblemIssue<R,V>
Represents a validation issue requiring attention embedded in a validation report. An error signify that the project launching may lead to abnormal behaviour.
-
-
Field Summary
-
Fields inherited from class org.openflexo.pamela.validation.ProblemIssue
FIX_PROPOSALS_PROPERTY, RELATED_VALIDABLES_PROPERTY
-
Fields inherited from class org.openflexo.pamela.validation.ValidationIssue
DELETED_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description ValidationError(R rule, V anObject, java.lang.String aMessage)
ValidationError(R rule, V anObject, java.lang.String aMessage, java.util.List<FixProposal<R,V>> fixProposals)
ValidationError(R rule, V anObject, java.lang.String aMessage, FixProposal<R,V> proposal)
ValidationError(R rule, V anObject, java.lang.String aMessage, FixProposal<R,V>... fixProposals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.openflexo.pamela.validation.ProblemIssue
addToFixProposals, addToRelatedValidableObjects, addToRelatedValidableObjects, delete, getFixProposals, getFixProposals, getRelatedValidableObjects, getValidationRule, isFixable, isProblemIssue, removeFromRelatedValidableObjects
-
Methods inherited from class org.openflexo.pamela.validation.ValidationIssue
getCause, getDeletedProperty, getDetailedInformations, getMessage, getPropertyChangeSupport, getTypeName, getValidable, getValidationReport, propertyChange, revalidateAfterFixing, setCause, setMessage, setValidationReport
-
-
-
-
Constructor Detail
-
ValidationError
public ValidationError(R rule, V anObject, java.lang.String aMessage, FixProposal<R,V> proposal)
-
ValidationError
public ValidationError(R rule, V anObject, java.lang.String aMessage, java.util.List<FixProposal<R,V>> fixProposals)
-
ValidationError
public ValidationError(R rule, V anObject, java.lang.String aMessage, FixProposal<R,V>... fixProposals)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Specified by:
toString
in classValidationIssue<R extends ValidationRule<R,V>,V extends Validable>
-
-