public class TransactionSet extends java.lang.Object implements XdrElement
struct TransactionSet { Hash previousLedgerHash; TransactionEnvelope txs<>; };
Modifier and Type | Class and Description |
---|---|
static class |
TransactionSet.TransactionSetBuilder |
Constructor and Description |
---|
TransactionSet() |
TransactionSet(Hash previousLedgerHash,
TransactionEnvelope[] txs) |
Modifier and Type | Method and Description |
---|---|
static TransactionSet.TransactionSetBuilder |
builder() |
static TransactionSet |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TransactionSet |
fromXdrBase64(java.lang.String xdr) |
static TransactionSet |
fromXdrByteArray(byte[] xdr) |
Hash |
getPreviousLedgerHash() |
TransactionEnvelope[] |
getTxs() |
int |
hashCode() |
void |
setPreviousLedgerHash(Hash previousLedgerHash) |
void |
setTxs(TransactionEnvelope[] txs) |
TransactionSet.TransactionSetBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TransactionSet()
public TransactionSet(Hash previousLedgerHash, TransactionEnvelope[] txs)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TransactionSet decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TransactionSet fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TransactionSet fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TransactionSet.TransactionSetBuilder builder()
public TransactionSet.TransactionSetBuilder toBuilder()
public Hash getPreviousLedgerHash()
public TransactionEnvelope[] getTxs()
public void setPreviousLedgerHash(Hash previousLedgerHash)
public void setTxs(TransactionEnvelope[] txs)
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