com.sapportals.wcm.service.propertyconfig.metadataextension
Interface IValidationError
[contained in: com.sap.km.cm.service.base.par - km.shared.service.propertyconfig_api.jar]
- public interface IValidationError
Error that occured during the validation of a property value
|
Method Summary |
java.util.Map |
getAdditionalInfo()
Gets additional information about the validation error.
|
java.lang.String |
getErrorID()
Gets the error ID. |
java.lang.String |
getErrorMessage(java.util.Locale locale)
Localized error message that describes the error including information about the properties
that caused the error. |
IMetaNameList |
getMetaNames()
Meta names that caused the validation error. |
java.lang.String |
getUniqueErrorID()
Creates a unique error ID by concatenating the validation instance ID and the error ID. |
void |
setAdditionalInfo(java.util.Map additionalInfo)
Sets additional information for a validation error.
|
getMetaNames
public IMetaNameList getMetaNames()
- Meta names that caused the validation error.
- Returns:
- list of meta names where the error occured
getErrorMessage
public java.lang.String getErrorMessage(java.util.Locale locale)
throws PropertyConfigurationServiceException
- Localized error message that describes the error including information about the properties
that caused the error.
- Returns:
- localized error message
getErrorID
public java.lang.String getErrorID()
- Gets the error ID.
- Returns:
- ID of the error
getUniqueErrorID
public java.lang.String getUniqueErrorID()
- Creates a unique error ID by concatenating the validation instance ID and the error ID.
- Returns:
- unique error ID
setAdditionalInfo
public void setAdditionalInfo(java.util.Map additionalInfo)
- Sets additional information for a validation error.
As an example one could set the property ID as key and a list of wrong values as value.
- Parameters:
additionalInfo - map with additional information
getAdditionalInfo
public java.util.Map getAdditionalInfo()
- Gets additional information about the validation error.
The validation instance must have set this map before.
- Returns:
- map with additional information
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.