public interface SchemaNodeContext
data model node.| Modifier and Type | Method and Description | 
|---|---|
| void | addError(String aMessage)Adds the specified error message. | 
| void | addError(String aMessage,
        Exception ex)Adds the specified error message and exception. | 
| void | addInfo(String aMessage)Adds the specified information message. | 
| void | addMessage(UserMessage aMessage)Attaches the specified message to the current component. | 
| void | addWarning(String aMessage)Adds the specified warning message. | 
| SchemaNode | getSchemaNode()Returns the node on which the component is attached. | 
void addMessage(UserMessage aMessage)
addError(String), addWarning(String), or addInfo(String).
 Specifically, this method creates a new validation item and its subject is the entity referred to by this context. When displaying the message, the implementation adds information about this subject. As a result, it is not necessary to repeat this contextual information in the message argument.
void addError(String aMessage)
addMessage(UserMessage)void addError(String aMessage, Exception ex)
addMessage(UserMessage)void addInfo(String aMessage)
addMessage(UserMessage)void addWarning(String aMessage)
addMessage(UserMessage)SchemaNode getSchemaNode()