com.softwareag.mdm.base.text
Class UserMessageString

java.lang.Object
  extended bycom.softwareag.mdm.base.text.UserMessage
      extended bycom.softwareag.mdm.base.text.UserMessageString

public class UserMessageString
extends UserMessage

Provides a message based on strings directly set from Java code (not externalized).


Constructor Summary
UserMessageString()
          Creates an information message with no parameters nor throwable.
UserMessageString(Object[] params)
          Creates an information message.
UserMessageString(Object[] params, Throwable anException)
          Creates an information message.
UserMessageString(Severity severity, String aMessage, Object[] params, Throwable anException)
           
 
Method Summary
 String getInternalId()
          Returns a specific identifier for logging and technical audit.
 UserMessage setString(Locale aLocale, String aRawString)
           
 UserMessage setStringForDefault(String aRawString)
           
 String toString()
           
 
Methods inherited from class com.softwareag.mdm.base.text.UserMessage
createError, createError, createInfo, createWarning, formatMessage, getSeverity, getThrowable, isError, isFatal, isInfo, isWarning, setSeverity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserMessageString

public UserMessageString()
Creates an information message with no parameters nor throwable.


UserMessageString

public UserMessageString(Object[] params)
Creates an information message.


UserMessageString

public UserMessageString(Object[] params,
                         Throwable anException)
Creates an information message.


UserMessageString

public UserMessageString(Severity severity,
                         String aMessage,
                         Object[] params,
                         Throwable anException)
Method Detail

getInternalId

public String getInternalId()
Description copied from class: UserMessage
Returns a specific identifier for logging and technical audit. Returns null if this message has no identifier (this is the case for a UserMessageString).

Specified by:
getInternalId in class UserMessage

toString

public String toString()

setStringForDefault

public UserMessage setStringForDefault(String aRawString)

setString

public UserMessage setString(Locale aLocale,
                             String aRawString)


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.