Class TransactionVO

java.lang.Object
org.springframework.hateoas.RepresentationModel<TransactionVO>
org.ameba.http.AbstractBase<TransactionVO>
org.openwms.common.spi.transactions.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.
    • 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)
    • 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)
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel<TransactionVO>
    • hashCode

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

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