Class TransactionEO

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.transactions.impl.jpa.TransactionEO
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>

@Entity public class TransactionEO extends org.ameba.integration.jpa.ApplicationEntity implements Serializable
A TransactionEO.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • description

      @Size(max=2048) private @Size(max=2048) String description
      A human-readable descriptive text of the Transaction that happened.
    • type

      @NotBlank private @NotBlank String type
      A defined transaction type that can be used as a key to the custom specific Transaction.
    • createdByUser

      private String createdByUser
      The human user or system that initiated the Transaction.
    • sender

      private String sender
      The service name that created the Transaction.
    • senderId

      private String senderId
      An id to a dataset the Transaction is related to.
    • category

      private String category
      A category name, like Reconciliation or Replenishment the Transaction is part of.
    • traceId

      private String traceId
      An id to the request (business transaction) the Transaction was created in.
    • details

      private Map<String,String> details
      Arbitrary detail information with values according to the specific Transaction.
  • Constructor Details

    • TransactionEO

      public TransactionEO()
  • Method Details

    • setPersistentKey

      public void setPersistentKey(String pKey)
      Overrides:
      setPersistentKey in class org.ameba.integration.jpa.ApplicationEntity
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getCreatedByUser

      public String getCreatedByUser()
    • setCreatedByUser

      public void setCreatedByUser(String createdByUser)
    • getSender

      public String getSender()
    • setSender

      public void setSender(String sender)
    • getSenderId

      public String getSenderId()
    • setSenderId

      public void setSenderId(String senderId)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • getTraceId

      public String getTraceId()
    • setTraceId

      public void setTraceId(String traceId)
    • getDetails

      public Map<String,String> getDetails()
    • setDetails

      public void setDetails(Map<String,String> details)
    • setCreateDt

      public void setCreateDt(LocalDateTime createDt)
      Make available for mapper.
      Overrides:
      setCreateDt in class org.ameba.integration.jpa.BaseEntity
    • equals

      public boolean equals(Object o)
      All fields.
      Overrides:
      equals in class org.ameba.integration.jpa.ApplicationEntity
    • hashCode

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class org.ameba.integration.jpa.ApplicationEntity
    • toString

      public String toString()
      All fields.
      Overrides:
      toString in class Object