Class OutboxRecord

java.lang.Object
one.tomorrow.transactionaloutbox.model.OutboxRecord

public class OutboxRecord extends Object
Copyright 2022-2023 Tomorrow GmbH @ https://tomorrow.one Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
  • Constructor Details

  • Method Details

    • builder

      public static OutboxRecord.OutboxRecordBuilder builder()
    • getId

      public Long getId()
    • getCreated

      public Timestamp getCreated()
    • getProcessed

      public Instant getProcessed()
    • getTopic

      public String getTopic()
    • getKey

      public String getKey()
    • getValue

      public byte[] getValue()
    • getHeaders

      public Map<String,String> getHeaders()
    • setId

      public void setId(Long id)
    • setCreated

      public void setCreated(Timestamp created)
    • setProcessed

      public void setProcessed(Instant processed)
    • setTopic

      public void setTopic(String topic)
    • setKey

      public void setKey(String key)
    • setValue

      public void setValue(byte[] value)
    • setHeaders

      public void setHeaders(Map<String,String> headers)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object