|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaxfront.core.error.AbstractError
com.jaxfront.core.error.ConditionalError
public class ConditionalError
This class represents a ValidationError. ValidationErrors occur, if any value changes of the JAXFront DOM are not conform with the rules defined in the XUI document.
Field Summary |
---|
Fields inherited from class com.jaxfront.core.error.AbstractError |
---|
ALL_ERROR, CONDITIONAL_ERROR, USER_ERROR, VALIDATION_ERROR |
Fields inherited from interface com.jaxfront.core.error.Error |
---|
CLASSIFICATION_ERROR, CLASSIFICATION_HINT, CLASSIFICATION_INCOMPLETE, CLASSIFICATION_INFO, CLASSIFICATION_QUESTION, CLASSIFICATION_WARNING |
Constructor Summary | |
---|---|
ConditionalError(ConditionExpression condition,
Type source)
|
|
ConditionalError(ConditionExpression condition,
Type source,
java.lang.String messageText,
boolean needingUserAcceptance,
boolean showDialog,
boolean isMandatoryException,
java.lang.String classification)
|
Method Summary | |
---|---|
java.lang.String |
getClassification()
Returns the classification type of this error. |
ConditionExpression |
getCondition()
Returns the condition that led to this Validation Error. |
int |
getErrorType()
|
java.lang.String |
getMessageClassificationForIcon()
Returns the message classification for a icon. |
java.lang.String |
getMessageText()
Returns the message text from the validation exception. |
boolean |
isNeedingUserAcceptance()
Returns if the current ValidationError needs user acceptance to resolve it. |
boolean |
isShowingDialog()
Returns true if the error should be shown in a dialog. |
Methods inherited from class com.jaxfront.core.error.AbstractError |
---|
equals, getErrorHolder, getHolderXPath, getMessageClassification, getMessageContext, getMessageContextIcon, getMessageIcon, getRaiser, getUniqueIdentification, isCardinalityError, isMandatoryError, markError, release, resetError, setFocus, setRaiser, shouldMarkError, toString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConditionalError(ConditionExpression condition, Type source)
ex
- source
- public ConditionalError(ConditionExpression condition, Type source, java.lang.String messageText, boolean needingUserAcceptance, boolean showDialog, boolean isMandatoryException, java.lang.String classification)
ex
- source
- Method Detail |
---|
public ConditionExpression getCondition()
public java.lang.String getMessageClassificationForIcon()
AbstractError
getMessageClassificationForIcon
in class AbstractError
public java.lang.String getClassification()
AbstractError
getClassification
in interface Error
getClassification
in class AbstractError
public boolean isNeedingUserAcceptance()
Error
public java.lang.String getMessageText()
Error
public boolean isShowingDialog()
Error
public int getErrorType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |