Class Trid

All Implemented Interfaces:
UnsafeSerializable, Serializable, Cloneable

@Embeddable public class Trid extends ImmutableObject implements UnsafeSerializable
"A TRID (transaction identifier) element containing the transaction identifier assigned by the server to the command for which the response is being returned. The transaction identifier is formed using the clTRID associated with the command if supplied by the client and a svTRID (server transaction identifier) that is assigned by and unique to the server."
See Also:
  • Constructor Details

    • Trid

      public Trid()
  • Method Details

    • getServerTransactionId

      public String getServerTransactionId()
    • getClientTransactionId

      public Optional<String> getClientTransactionId()
    • create

      public static Trid create(@Nullable String clientTransactionId, String serverTransactionId)