public class VisitorMessageRule extends AbstractMessageRule
ValidatingMessageVisitor over the message,
collecting exceptions while traversing| Constructor and Description |
|---|
VisitorMessageRule(MessageVisitorFactory<? extends ValidatingMessageVisitor> visitorFactory) |
| Modifier and Type | Method and Description |
|---|---|
ValidationException[] |
apply(Message message)
Applies to rule to an object to be checked
|
testfailed, failed, failed, failed, failedWithValue, getDescription, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getSectionReferencepublic VisitorMessageRule(MessageVisitorFactory<? extends ValidatingMessageVisitor> visitorFactory)
public ValidationException[] apply(Message message)
Rulemessage - object to be checkedCopyright © 2001–2017 University Health Network. All rights reserved.