|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
FeatureMessages are formatted parameterized messages associated with a Feature. The common examples of FeatureMessages are ValidationError and ConstraintViolation.
Method Summary | |
Feature |
getFeature()
Each FeatureMessage is associated with a feature. |
java.lang.String |
getFormat()
Message string, which may contain parameter names using the syntax: %PARAMETER_NAME% . |
java.lang.String |
getMessage()
Returns the message string by substituting parameters in the format. |
com.sun.java.util.collections.Map |
getParameters()
Parameters is a map that has parameter names for keys and parameter values for values. |
Method Detail |
public Feature getFeature()
public java.lang.String getFormat()
%PARAMETER_NAME%
. For example,
"Field %FIELD_NAME% has incorrect type %FIELD_TYPE%"
public com.sun.java.util.collections.Map getParameters()
public java.lang.String getMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |