|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This container-interface adds to the basic ValueContext
interface the services for
adding validation messages.
Method Summary | |
void |
addError(String aMessage)
|
void |
addInfo(String aMessage)
|
void |
addMessage(UserMessage msg)
Adds the validation message specified. |
void |
addWarning(String aMessage)
|
boolean |
hasErrorsOnNode()
Returns true if the current node has errors. |
Methods inherited from interface com.softwareag.mdm.instance.ValueContext |
displayOccurrence, formatOccurrence, getHome, getNode, getNode, getValue, getValue |
Method Detail |
public void addMessage(UserMessage msg)
The implementation of this method ensures the attachment of the message added to the node that is currently validated. Hence the caller of this method does not need to bring informations on the node being validated (its name or location). For example, depending on the user interface context, the message will be displayed with an hyperlink to the node, or it is displayed under the UI component attached to the node.
public void addError(String aMessage)
public void addInfo(String aMessage)
public void addWarning(String aMessage)
public boolean hasErrorsOnNode()
true
if the current node has errors.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.