public interface ICcRuleMessage
ICcRuleMessage
is the interface for a business rule message posted during processing of
rules in the Progress Corticon Engine.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INFO
INFO severity is used to post a message of an audit trail nature. |
static java.lang.String |
VIOLATION
VIOLATION severity is used to post a message indicating a constraint business
rule has been violated. |
static java.lang.String |
WARNING
WARNING severity is used to post a message indicating a constraint business
rule is close to being violated. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getEntityReference()
getEntityReference returns the business object this message was posted against. |
java.lang.String |
getSeverity()
getSeverity returns a String describing the severity of the message. |
java.lang.String |
getText()
getText returns the text of the message. |
java.lang.String |
toString()
Invokes
toString(0) |
java.lang.String |
toString(int aiTabs)
toString returns a formatted String with the state of the message. |
static final java.lang.String INFO
INFO
severity is used to post a message of an audit trail nature.static final java.lang.String WARNING
WARNING
severity is used to post a message indicating a constraint business
rule is close to being violated. The client should typically allow the current transaction
to complete, but give the user the appropriate warning messages.static final java.lang.String VIOLATION
VIOLATION
severity is used to post a message indicating a constraint business
rule has been violated. The client should typically roll back the current transaction if
any such messages are posted.java.lang.Object getEntityReference()
getEntityReference
returns the business object this message was posted against.java.lang.String getSeverity()
getSeverity
returns a String describing the severity of the message.java.lang.String getText()
getText
returns the text of the message.java.lang.String toString()
toString(0)
toString
in class java.lang.Object
java.lang.String toString(int aiTabs)
toString
returns a formatted String with the state of the message.aiTabs
- - the number of tabs to prepend to each line of the output.Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.