org.neociclo.odetteftp.protocol
Class DefaultDeliveryNotification

java.lang.Object
  extended by org.neociclo.odetteftp.protocol.DefaultDeliveryNotification
All Implemented Interfaces:
Serializable, DeliveryNotification, OdetteFtpObject
Direct Known Subclasses:
DefaultSignedDeliveryNotification

public class DefaultDeliveryNotification
extends Object
implements DeliveryNotification

Version:
$Rev: 800 $ $Date: 2010-10-19 20:55:25 -0200 (Tue, 19 Oct 2010) $
Author:
Rafael Marins
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.neociclo.odetteftp.protocol.DeliveryNotification
DeliveryNotification.EndResponseType
 
Constructor Summary
DefaultDeliveryNotification(DeliveryNotification.EndResponseType type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCreator()
          It is the location that created the NERP.
 String getDatasetName()
           
 Date getDateTime()
           
 String getDestination()
           
 String getOriginator()
           
 NegativeResponseReason getReason()
          This attribute will specify why transmission cannot proceed or why processing of the file failed.
 String getReasonText()
           
 Short getTicker()
           
 DeliveryNotification.EndResponseType getType()
           
 String getUserData()
           
 int hashCode()
           
 void setCreator(String creator)
           
 void setDatasetName(String datasetName)
           
 void setDateTime(Date dateTime)
           
 void setDestination(String destination)
           
 void setOriginator(String originator)
           
 void setReason(NegativeResponseReason reason)
           
 void setReasonText(String reasonText)
           
 void setTicker(Short ticker)
           
 void setUserData(String userData)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultDeliveryNotification

public DefaultDeliveryNotification(DeliveryNotification.EndResponseType type)
Method Detail

getDatasetName

public String getDatasetName()
Specified by:
getDatasetName in interface OdetteFtpObject

setDatasetName

public void setDatasetName(String datasetName)

getDateTime

public Date getDateTime()
Specified by:
getDateTime in interface OdetteFtpObject

getTicker

public Short getTicker()
Specified by:
getTicker in interface OdetteFtpObject

setDateTime

public void setDateTime(Date dateTime)

setTicker

public void setTicker(Short ticker)

getDestination

public String getDestination()
Specified by:
getDestination in interface OdetteFtpObject

setDestination

public void setDestination(String destination)

getOriginator

public String getOriginator()
Specified by:
getOriginator in interface OdetteFtpObject

setOriginator

public void setOriginator(String originator)

getUserData

public String getUserData()
Specified by:
getUserData in interface OdetteFtpObject

setUserData

public void setUserData(String userData)

getType

public DeliveryNotification.EndResponseType getType()
Specified by:
getType in interface DeliveryNotification

getCreator

public String getCreator()
Description copied from interface: DeliveryNotification
It is the location that created the NERP.

Specified by:
getCreator in interface DeliveryNotification
Returns:
the Identification Code

setCreator

public void setCreator(String creator)

getReason

public NegativeResponseReason getReason()
Description copied from interface: DeliveryNotification
This attribute will specify why transmission cannot proceed or why processing of the file failed.

Specified by:
getReason in interface DeliveryNotification
Returns:
reason code enum
See Also:
NegativeResponseReason

setReason

public void setReason(NegativeResponseReason reason)

getReasonText

public String getReasonText()
Specified by:
getReasonText in interface DeliveryNotification

setReasonText

public void setReasonText(String reasonText)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


ACCORD