Class AS4DuplicateItem

java.lang.Object
com.helger.phase4.duplicate.AS4DuplicateItem
All Implemented Interfaces:
com.helger.base.id.IHasID<String>, IAS4DuplicateItem, Serializable

public class AS4DuplicateItem extends Object implements IAS4DuplicateItem
This class represents a single "duplication check" item. It works for incoming and outgoing duplication checks
Author:
Martin Bayerl, Philip Helger
See Also:
  • Constructor Details

    • AS4DuplicateItem

      public AS4DuplicateItem(@Nonnull @Nonempty String sMessageID, @Nullable String sProfileID, @Nullable String sPModeID)
    • AS4DuplicateItem

      protected AS4DuplicateItem(@Nonnull OffsetDateTime aDT, @Nonnull @Nonempty String sMessageID, @Nullable String sProfileID, @Nullable String sPModeID)
  • Method Details

    • getDateTime

      @Nonnull public final OffsetDateTime getDateTime()
      Specified by:
      getDateTime in interface IAS4DuplicateItem
      Returns:
      The date time when the entry was created. Never null.
    • getID

      @Nonnull @Nonempty public final String getID()
      Specified by:
      getID in interface com.helger.base.id.IHasID<String>
      Returns:
      The message ID. Neither null nor empty.
      See Also:
    • getMessageID

      @Nonnull @Nonempty public final String getMessageID()
      Specified by:
      getMessageID in interface IAS4DuplicateItem
      Returns:
      The message ID. Neither null nor empty.
    • getProfileID

      @Nullable public final String getProfileID()
      Specified by:
      getProfileID in interface IAS4DuplicateItem
      Returns:
      The AS4 profile ID in use. May be null.
    • getPModeID

      @Nullable public final String getPModeID()
      Specified by:
      getPModeID in interface IAS4DuplicateItem
      Returns:
      The AS4 PMode ID in use. May be null.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object