public final class FlatFileTransactionInformation extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | FlatFileTransactionInformation.EntryType | 
| static class  | FlatFileTransactionInformation.ResultCode | 
| Constructor and Description | 
|---|
| FlatFileTransactionInformation()Constructs a FlatFileTransactionInformation | 
| FlatFileTransactionInformation(String flatFileDataIdentifier)Constructs a FlatFileTransactionInformation | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addErrorMessage(String message)Adds an error message for this transaction | 
| void | addInfoMessage(String message)Adds an informative message for this transaction | 
| void | addWarnMessage(String message)Adds a warning message for this transaction | 
| static String | getEntryTypeString(FlatFileTransactionInformation.EntryType type)Creates a String representation for the given entry type | 
| String | getFlatFileDataIdentifier() | 
| List<String[]> | getMessages() | 
| FlatFileTransactionInformation.ResultCode | getResult() | 
| static String | getResultCodeString(FlatFileTransactionInformation.ResultCode resultCode)Creates a String representation for the given result code | 
| String | getResultString() | 
| void | setErrorResult()Sets the result code to error for the transaction | 
| void | setFailureResult()Sets the result code to failure for the transaction | 
| void | setFlatFileDataIdentifier(String flatFileDataIdentifier)Sets the identifier for the flat file this is associated with | 
| void | setSuccessResult()Declares the logical file a success! | 
public FlatFileTransactionInformation()
public FlatFileTransactionInformation(String flatFileDataIdentifier)
flatFileDataIdentifier - the identifier for the file the business object this object holds messages for was parsed frompublic static String getEntryTypeString(FlatFileTransactionInformation.EntryType type)
type - the entry type to get a String representation forpublic static String getResultCodeString(FlatFileTransactionInformation.ResultCode resultCode)
type - the resultCode to get a String representation forpublic FlatFileTransactionInformation.ResultCode getResult()
public String getResultString()
public void setSuccessResult()
public void setFailureResult()
public void setErrorResult()
public String getFlatFileDataIdentifier()
public void setFlatFileDataIdentifier(String flatFileDataIdentifier)
flatFileDataIdentifier - the identifier for the flat file this is associated withpublic List<String[]> getMessages()
public void addErrorMessage(String message)
message - the message to explain the errorpublic void addInfoMessage(String message)
message - the informative message, hopefully something more explanatory than this javadocpublic void addWarnMessage(String message)
message - the warning messageCopyright © 2004–2015 The Kuali Foundation. All rights reserved.