org.kuali.kfs.gl.service.impl
Class EnterpriseFeederStatusAndErrorMessagesWrapper

java.lang.Object
  extended by org.kuali.kfs.gl.service.impl.EnterpriseFeederStatusAndErrorMessagesWrapper

public class EnterpriseFeederStatusAndErrorMessagesWrapper
extends Object

This class serves as a wrapper containing references to the feeder status and error messages list. This works around java's inability to return a value and throw an exception at the same time. Exceptions in KFS are generally needed to force the framework to rollback a transaction.


Constructor Summary
EnterpriseFeederStatusAndErrorMessagesWrapper()
          Constructs a EnterpriseFeederStatusAndErrorMessagesWrapper, initializing values to null
 
Method Summary
 String getDataFileName()
          Gets the dataFileName attribute.
 String getDoneFileName()
          Gets the doneFileName attribute.
 List<Message> getErrorMessages()
          Gets the errorMessages attribute.
 String getReconFileName()
          Gets the reconFileName attribute.
 EnterpriseFeederStatus getStatus()
          Gets the status attribute.
 void setErrorMessages(List<Message> errorMessages)
          Sets the errorMessages attribute value.
 void setFileNames(File dataFile, File reconFile, File doneFile)
           
 void setStatus(EnterpriseFeederStatus status)
          Sets the status attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnterpriseFeederStatusAndErrorMessagesWrapper

public EnterpriseFeederStatusAndErrorMessagesWrapper()
Constructs a EnterpriseFeederStatusAndErrorMessagesWrapper, initializing values to null

Method Detail

getErrorMessages

public List<Message> getErrorMessages()
Gets the errorMessages attribute.

Returns:
Returns the errorMessages.

setErrorMessages

public void setErrorMessages(List<Message> errorMessages)
Sets the errorMessages attribute value.

Parameters:
errorMessages - The errorMessages to set.

getStatus

public EnterpriseFeederStatus getStatus()
Gets the status attribute.

Returns:
Returns the status.

setStatus

public void setStatus(EnterpriseFeederStatus status)
Sets the status attribute value.

Parameters:
status - The status to set.

setFileNames

public void setFileNames(File dataFile,
                         File reconFile,
                         File doneFile)

getDoneFileName

public String getDoneFileName()
Gets the doneFileName attribute.

Returns:
Returns the doneFileName.

getReconFileName

public String getReconFileName()
Gets the reconFileName attribute.

Returns:
Returns the reconFileName.

getDataFileName

public String getDataFileName()
Gets the dataFileName attribute.

Returns:
Returns the dataFileName.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.