Class TransactionVO

java.lang.Object
org.springframework.hateoas.RepresentationModel<T>
org.ameba.http.AbstractBase<TransactionVO>
org.openwms.transactions.api.TransactionVO

public class TransactionVO extends org.ameba.http.AbstractBase<TransactionVO>
A TransactionVO.
Author:
Heiko Scherrer
  • Field Details

    • MEDIA_TYPE

      public static final String MEDIA_TYPE
      HTTP media type representation.
      See Also:
    • pKey

      @Null(groups=Create.class) @Size(max=255) private @Null(groups=Create.class) @Size(max=255) String pKey
      The persistent key.
    • description

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

      @NotEmpty(groups=Create.class) @Size(max=255) private @NotEmpty(groups=Create.class) @Size(max=255) String type
      A defined transaction type or key.
    • createdByUser

      @Size(max=255) private @Size(max=255) String createdByUser
      The human user or system that initiated the Transaction.
    • sender

      @Size(max=255) private @Size(max=255) String sender
      The service name that created the Transaction.
    • senderId

      @Size(max=255) private @Size(max=255) String senderId
      An id to a dataset the Transaction is related to.
    • category

      @Size(max=255) private @Size(max=255) String category
      A category name, like Reconciliation or Replenishment the Transaction is part of.
    • details

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

    • TransactionVO

      public TransactionVO()
  • Method Details

    • getpKey

      public String getpKey()
    • setpKey

      public void setpKey(String pKey)
    • 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)
    • getDetails

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

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

      public void addDetail(String key, String value)
    • equals

      public boolean equals(Object o)
      All fields.
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel<TransactionVO>
    • hashCode

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class org.springframework.hateoas.RepresentationModel<TransactionVO>
    • toString

      public String toString()
      All fields.
      Overrides:
      toString in class org.springframework.hateoas.RepresentationModel<TransactionVO>