Package com.uc4.api
Class TranslatedMessage
- java.lang.Object
-
- com.uc4.api.TranslatedMessage
-
public final class TranslatedMessage extends java.lang.Object
This 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.String
getInsert()
Returns the insert of this message.int
getNumber()
Returns the number of this message.java.lang.String
getText()
Returns the translated message text.char
getType()
Returns the type of the message.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-