Package google.registry.model.eppcommon
Class Trid
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.eppcommon.Trid
-
- All Implemented Interfaces:
UnsafeSerializable
,java.io.Serializable
,java.lang.Cloneable
@Embeddable public class Trid extends ImmutableObject implements UnsafeSerializable
"ATRID
(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 theclTRID
associated with the command if supplied by the client and asvTRID
(server transaction identifier) that is assigned by and unique to the server."- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
-
Field Summary
-
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Constructor Description Trid()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Trid
create(java.lang.String clientTransactionId, java.lang.String serverTransactionId)
java.util.Optional<java.lang.String>
getClientTransactionId()
java.lang.String
getServerTransactionId()
-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
-
-
-
Method Detail
-
getServerTransactionId
public java.lang.String getServerTransactionId()
-
getClientTransactionId
public java.util.Optional<java.lang.String> getClientTransactionId()
-
create
public static Trid create(@Nullable java.lang.String clientTransactionId, java.lang.String serverTransactionId)
-
-