Class ResponseFintEvent

  • All Implemented Interfaces:
    FintEvent

    public class ResponseFintEvent
    extends java.lang.Object
    implements FintEvent
    • Constructor Detail

      • ResponseFintEvent

        public ResponseFintEvent()
      • ResponseFintEvent

        public ResponseFintEvent​(java.lang.String corrId,
                                 java.lang.String orgId,
                                 java.lang.String adapterId,
                                 long handledAt,
                                 SyncPageEntry value,
                                 OperationType operationType,
                                 boolean failed,
                                 java.lang.String errorMessage,
                                 boolean rejected,
                                 java.lang.String rejectReason,
                                 boolean conflicted,
                                 java.lang.String conflictReason)
    • Method Detail

      • getCorrId

        public java.lang.String getCorrId()
        GUID for correlation ID. The same ID should follow the request both upstream and downstream.
        Specified by:
        getCorrId in interface FintEvent
      • getOrgId

        public java.lang.String getOrgId()
        OrgId for the current customer.
        Specified by:
        getOrgId in interface FintEvent
      • getHandledAt

        public long getHandledAt()
        When the event was handled.
      • getValue

        public SyncPageEntry getValue()
        The SyncPageEntry of the object that the event produced. The object should be a FINT resource.
      • isFailed

        public boolean isFailed()
        Indicates whether the event has failed.
      • getErrorMessage

        public java.lang.String getErrorMessage()
        A message that explains the reason for the failure of the event.
      • isRejected

        public boolean isRejected()
        Indicates whether the event has been rejected.
      • getRejectReason

        public java.lang.String getRejectReason()
        A message that explains the reason for the rejection of the event.
      • isConflicted

        public boolean isConflicted()
        Indicates whether the event had a conflict.
      • getConflictReason

        public java.lang.String getConflictReason()
        A message that explains the reason for the conflict of the event.
      • setCorrId

        public void setCorrId​(java.lang.String corrId)
        GUID for correlation ID. The same ID should follow the request both upstream and downstream.
      • setOrgId

        public void setOrgId​(java.lang.String orgId)
        OrgId for the current customer.
      • setHandledAt

        public void setHandledAt​(long handledAt)
        When the event was handled.
      • setValue

        public void setValue​(SyncPageEntry value)
        The SyncPageEntry of the object that the event produced. The object should be a FINT resource.
      • setOperationType

        public void setOperationType​(OperationType operationType)
        The type of operation to be performed (CREATE, UPDATE, VALIDATE)
      • setFailed

        public void setFailed​(boolean failed)
        Indicates whether the event has failed.
      • setErrorMessage

        public void setErrorMessage​(java.lang.String errorMessage)
        A message that explains the reason for the failure of the event.
      • setRejected

        public void setRejected​(boolean rejected)
        Indicates whether the event has been rejected.
      • setRejectReason

        public void setRejectReason​(java.lang.String rejectReason)
        A message that explains the reason for the rejection of the event.
      • setConflicted

        public void setConflicted​(boolean conflicted)
        Indicates whether the event had a conflict.
      • setConflictReason

        public void setConflictReason​(java.lang.String conflictReason)
        A message that explains the reason for the conflict of the event.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object