Interface StatusMessage
- All Known Implementing Classes:
EDI824ErrorDef
,EDIErrorDef
,ErrorDef
,FieldErrorDef
,SegmentErrorDef
,TransactionErrorDef
public interface StatusMessage
A Model status message - severity may be Error or Warning, based on the context in
which it is used.
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
getArgs()
If the message value was created using a format which included arguments, this contains those argumentsint
getMajorCode()
Returns a "major error code" which describes the issue - for internal platform issues, this number can be used to get support.int
getMinorCode()
Returns a "minor error code" which further qualifies the major error code.java.lang.String
getValue()
Returns the content of the messageboolean
isSetMajorCode()
boolean
isSetMinorCode()
void
setMajorCode(int value)
void
setMinorCode(int value)
void
setValue(java.lang.String value)
-
Method Details
-
getMajorCode
int getMajorCode()Returns a "major error code" which describes the issue - for internal platform issues, this number can be used to get support. For StatusMessages generated from Modules or Datasets, this is not relevant. -
getMinorCode
int getMinorCode()Returns a "minor error code" which further qualifies the major error code. -
getValue
java.lang.String getValue()Returns the content of the message -
setValue
void setValue(java.lang.String value) -
getArgs
java.util.List<java.lang.String> getArgs()If the message value was created using a format which included arguments, this contains those arguments -
setMajorCode
void setMajorCode(int value) -
setMinorCode
void setMinorCode(int value) -
isSetMajorCode
boolean isSetMajorCode() -
isSetMinorCode
boolean isSetMinorCode()
-