Package com.uc4.api
Class TranslatedMessage
- java.lang.Object
-
- com.uc4.api.TranslatedMessage
-
public final class TranslatedMessage extends java.lang.ObjectThis class represents a translated message.
-
-
Constructor Summary
Constructors Constructor Description TranslatedMessage(int nr, java.lang.String insert, com.uc4.translate.Message translator)Constructs aActivationMessage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetInsert()Returns the insert of this message.intgetNumber()Returns the number of this message.java.lang.StringgetText()Returns the translated message text.chargetType()Returns the type of the message.java.lang.StringtoString()
-
-
-
Method Detail
-
getInsert
public java.lang.String getInsert()
Returns the insert of this message.- Returns:
- insert
-
getText
public java.lang.String getText()
Returns the translated message text. The message is translated using the logon language.- Returns:
- text
-
getNumber
public int getNumber()
Returns the number of this message.- Returns:
- number
-
getType
public char getType()
Returns the type of the message.- I ... Information
- E ... Error
- W ... Warning
- Returns:
- type
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-