Package com.microstrategy.web.app
Class ErrorInfo.ErrorMessage
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.web.app.ErrorInfo.ErrorMessage
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationFile
,java.lang.Cloneable
- Enclosing class:
- ErrorInfo
public static class ErrorInfo.ErrorMessage extends AbstractConfigurationElement
Defines the message to be displayed in the error alert box. Each message element represents a single descriptor. The message displayed to the user is the one resulting from concatenating the descriptors of all the message child elements of an error node.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList
-
-
Field Summary
-
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description ErrorMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescriptor()
Returns the descriptor that the application should use to display the error message if the desc-id attribute is missing.java.lang.String
getDescriptorId()
Returns the Resource Bundle item id that the application should use to display the error message in the language of the user's locale.protected java.lang.String
getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKey
andsetKey
methods.java.lang.String
getXmlMergeId()
Returns the XML_MergeId, a unique identifier for this message.void
setDescriptor(java.lang.String value)
Sets the descriptor that the application should use to display the error message if the desc-id attribute is missing.void
setDescriptorId(java.lang.String value)
Sets the Resource Bundle item id that the application should use to display the error message in the language of the user's locale.void
setXmlMergeId(java.lang.String xmlMergeId)
Sets the XML_MergeId, a unique identifier for this message.-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, clone, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getSource, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initDefaultAttributes, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reload, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation
-
-
-
-
Method Detail
-
getKeyAttribute
protected java.lang.String getKeyAttribute()
Description copied from class:AbstractConfigurationElement
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKey
andsetKey
methods.- Specified by:
getKeyAttribute
in classAbstractConfigurationElement
- Since:
- MicroStrategy Web 9.0.0
-
getXmlMergeId
public java.lang.String getXmlMergeId()
Returns the XML_MergeId, a unique identifier for this message.- Since:
- MicroStrategy Web 9.0.0
-
setXmlMergeId
public void setXmlMergeId(java.lang.String xmlMergeId)
Sets the XML_MergeId, a unique identifier for this message.- Since:
- MicroStrategy Web 9.0.0
-
getDescriptor
public java.lang.String getDescriptor()
Returns the descriptor that the application should use to display the error message if the desc-id attribute is missing.
-
setDescriptor
public void setDescriptor(java.lang.String value)
Sets the descriptor that the application should use to display the error message if the desc-id attribute is missing.- Since:
- MicroStrategy Web 9.0.0
-
getDescriptorId
public java.lang.String getDescriptorId()
Returns the Resource Bundle item id that the application should use to display the error message in the language of the user's locale.
-
setDescriptorId
public void setDescriptorId(java.lang.String value)
Sets the Resource Bundle item id that the application should use to display the error message in the language of the user's locale.- Since:
- MicroStrategy Web 9.0.0
-
-