Class FindTransaction.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class FindTransaction.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for FindTransaction instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
id
public String
transactionStatus
-
Method Summary
Modifier and Type Method Description String
getId()
Gets the value of the 'id' field. FindTransaction.Builder
setId(String value)
Sets the value of the 'id' field. String
getTransactionStatus()
Gets the value of the 'transactionStatus' field. FindTransaction.Builder
setTransactionStatus(String value)
Sets the value of the 'transactionStatus' field. boolean
hasId()
Checks whether the 'id' field has been set. FindTransaction.Builder
clearId()
Clears the value of the 'id' field. boolean
hasTransactionStatus()
Checks whether the 'transactionStatus' field has been set. FindTransaction.Builder
clearTransactionStatus()
Clears the value of the 'transactionStatus' field. FindTransaction
build()
-
-
Method Detail
-
getId
String getId()
Gets the value of the 'id' field. The transaction ID, derived from the root hash of its Merkle tree
-
setId
FindTransaction.Builder setId(String value)
Sets the value of the 'id' field. The transaction ID, derived from the root hash of its Merkle tree
- Parameters:
value
- The value of 'id'.
-
getTransactionStatus
String getTransactionStatus()
Gets the value of the 'transactionStatus' field. The status of the transaction
-
setTransactionStatus
FindTransaction.Builder setTransactionStatus(String value)
Sets the value of the 'transactionStatus' field. The status of the transaction
- Parameters:
value
- The value of 'transactionStatus'.
-
hasId
boolean hasId()
Checks whether the 'id' field has been set. The transaction ID, derived from the root hash of its Merkle tree
-
clearId
FindTransaction.Builder clearId()
Clears the value of the 'id' field. The transaction ID, derived from the root hash of its Merkle tree
-
hasTransactionStatus
boolean hasTransactionStatus()
Checks whether the 'transactionStatus' field has been set. The status of the transaction
-
clearTransactionStatus
FindTransaction.Builder clearTransactionStatus()
Clears the value of the 'transactionStatus' field. The status of the transaction
-
build
FindTransaction build()
-
-
-
-