public class TransactionMetaV2 extends java.lang.Object implements XdrElement
struct TransactionMetaV2 { LedgerEntryChanges txChangesBefore; // tx level changes before operations // are applied if any OperationMeta operations<>; // meta for each operation LedgerEntryChanges txChangesAfter; // tx level changes after operations are // applied if any };
Modifier and Type | Class and Description |
---|---|
static class |
TransactionMetaV2.TransactionMetaV2Builder |
Constructor and Description |
---|
TransactionMetaV2() |
TransactionMetaV2(LedgerEntryChanges txChangesBefore,
OperationMeta[] operations,
LedgerEntryChanges txChangesAfter) |
Modifier and Type | Method and Description |
---|---|
static TransactionMetaV2.TransactionMetaV2Builder |
builder() |
static TransactionMetaV2 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TransactionMetaV2 |
fromXdrBase64(java.lang.String xdr) |
static TransactionMetaV2 |
fromXdrByteArray(byte[] xdr) |
OperationMeta[] |
getOperations() |
LedgerEntryChanges |
getTxChangesAfter() |
LedgerEntryChanges |
getTxChangesBefore() |
int |
hashCode() |
void |
setOperations(OperationMeta[] operations) |
void |
setTxChangesAfter(LedgerEntryChanges txChangesAfter) |
void |
setTxChangesBefore(LedgerEntryChanges txChangesBefore) |
TransactionMetaV2.TransactionMetaV2Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TransactionMetaV2()
public TransactionMetaV2(LedgerEntryChanges txChangesBefore, OperationMeta[] operations, LedgerEntryChanges txChangesAfter)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TransactionMetaV2 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TransactionMetaV2 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TransactionMetaV2 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TransactionMetaV2.TransactionMetaV2Builder builder()
public TransactionMetaV2.TransactionMetaV2Builder toBuilder()
public LedgerEntryChanges getTxChangesBefore()
public OperationMeta[] getOperations()
public LedgerEntryChanges getTxChangesAfter()
public void setTxChangesBefore(LedgerEntryChanges txChangesBefore)
public void setOperations(OperationMeta[] operations)
public void setTxChangesAfter(LedgerEntryChanges txChangesAfter)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object