public class VersandStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static VersandStatus |
NICHT_VERSENDET
Konstante.
|
static VersandStatus |
VERSAND_OK
Konstante.
|
Constructor and Description |
---|
VersandStatus(java.lang.String fehlerMeldung,
boolean erfolg)
Standard Kontstruktor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getVersandErfolg()
Erfragt das Ergebnis.
|
java.lang.String |
getVersandFehlerMeldung()
Erfragt die Begründung im Fall, dass der Versand nicht erfolgreich
war.
|
java.lang.String |
toString() |
public static final VersandStatus NICHT_VERSENDET
public static final VersandStatus VERSAND_OK
public VersandStatus(java.lang.String fehlerMeldung, boolean erfolg)
fehlerMeldung
- Die Meldung die das Ergebnis erklärterfolg
- Ergebnis des Versuchespublic boolean getVersandErfolg()
true
, wenn Versand erfolgreich warpublic java.lang.String getVersandFehlerMeldung()
public java.lang.String toString()
toString
in class java.lang.Object