public class ViolationReason
extends java.lang.Object
Constructor and Description |
---|
ViolationReason(int nr,
java.lang.String insert,
com.uc4.translate.Message translator)
Constructs a
ViolationReason . |
Modifier and Type | Method and 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.
|
java.lang.String |
toString() |
public ViolationReason(int nr, java.lang.String insert, com.uc4.translate.Message translator)
ViolationReason
.nr
- Message numberinsert
- Message inserttranslator
- translatorpublic java.lang.String getInsert()
public int getNumber()
public java.lang.String getText()
public java.lang.String toString()
toString
in class java.lang.Object