public interface ValueContextForValidationOnRecord
Modifier and Type | Method and Description |
---|---|
void |
addMessage(SchemaNode aNode,
UserMessage aMessage)
Adds the specified validation message concerning a node in the current record.
|
void |
addMessage(UserMessage aMessage)
Adds the specified validation message to the current validation context.
|
ValueContext |
getRecord()
Returns the record currently being created or modified.
|
AdaptationTable |
getTable()
Returns the table that contains the record currently being created or modified.
|
boolean |
isCheckOnUserInput()
Returns
true if the associated constraint
validates the value at user input. |
void |
removeRecordFromMessages(ValueContext aRecord)
Deprecated.
|
AdaptationTable getTable()
ValueContext getRecord()
void addMessage(SchemaNode aNode, UserMessage aMessage)
ValueContextForValidationOnTable.addMessage(Adaptation, SchemaNode, UserMessage)
.IllegalArgumentException
- if the specified message is null
.IllegalArgumentException
- if the specified node is null
.IllegalArgumentException
- if the specified node is not consistent with the current context.
That is, specified node must be in the same record that is currently being
created or modified.addMessage(UserMessage)
void addMessage(UserMessage aMessage)
ValueContextForValidationOnTable.addMessage(Adaptation, UserMessage)
.IllegalArgumentException
- if the specified message is null
.addMessage(SchemaNode, UserMessage)
@Deprecated void removeRecordFromMessages(ValueContext aRecord)
boolean isCheckOnUserInput()
true
if the associated constraint
validates the value at user input.ConstraintOnTableWithRecordLevelCheck.checkRecord(ValueContextForValidationOnRecord)