public class FlatFileInformation extends Object
| Constructor and Description | 
|---|
| FlatFileInformation()Constructs a new FlatFileInformation | 
| FlatFileInformation(String fileName)Constructs a new FlatFileInformation | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addFileErrorMessage(String message)Adds an error message for this logical file | 
| void | addFileInfoMessage(String message)Adds an informative message for this logical file | 
| String | getFileName() | 
| Map<String,FlatFileTransactionInformation> | getFlatFileIdentifierToTransactionInfomationMap() | 
| List<String[]> | getMessages() | 
| FlatFileTransactionInformation | getOrAddFlatFileData(String flatFileDataIdentifier,
                                        FlatFileTransactionInformation flatFileTransactionInformation)Adds the given messages about a transaction to the map of transaction messages if necessary and returns the first set of messages about a transaction put into the map | 
| void | setFileName(String fileName)Sets the name of the physical file the logical file this holds messages for is associated with | 
| void | setFlatFileIdentifierToTransactionInfomationMap(Map<String,FlatFileTransactionInformation> flatFileIdentifierToTransactionInfomationMap)Sets the map that associates the transaction identifier to its associated messages | 
| void | setMessages(List<String[]> messages)Sets the full List of messages associated with this logical file | 
public FlatFileInformation()
public FlatFileInformation(String fileName)
fileName - the file name of the physical file with the encapsulated logical file thereinpublic FlatFileTransactionInformation getOrAddFlatFileData(String flatFileDataIdentifier, FlatFileTransactionInformation flatFileTransactionInformation)
flatFileDataIdentifier - the identifier of the transactionflatFileTransactionInformation - the messages about that transactionpublic void addFileErrorMessage(String message)
message - the error messagepublic void addFileInfoMessage(String message)
message - the informative messagepublic String getFileName()
public void setFileName(String fileName)
fileName - the name of the physical file the logical file this holds messages for is associated withpublic List<String[]> getMessages()
public void setMessages(List<String[]> messages)
messages - the List of messagespublic Map<String,FlatFileTransactionInformation> getFlatFileIdentifierToTransactionInfomationMap()
public void setFlatFileIdentifierToTransactionInfomationMap(Map<String,FlatFileTransactionInformation> flatFileIdentifierToTransactionInfomationMap)
flatFileIdentifierToTransactionInfomationMap - the map that associates the transaction identifier to its associated messagesCopyright © 2004–2014 The Kuali Foundation. All rights reserved.