public class WrongVersionRule extends AbstractMessageRule
Modifier and Type | Field and Description |
---|---|
static MessageRule |
WRONG_VERSION |
Constructor and Description |
---|
WrongVersionRule() |
Modifier and Type | Method and Description |
---|---|
ValidationException[] |
apply(Message msg)
Applies to rule to an object to be checked
|
test
failed, failed, failed, failed, failedWithValue, getDescription, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getSectionReference
public static final MessageRule WRONG_VERSION
public WrongVersionRule()
public ValidationException[] apply(Message msg)
Rule
msg
- object to be checkedCopyright © 2001–2017 University Health Network. All rights reserved.