Package org.stellar.sdk.xdr
Class StoredTransactionSet
java.lang.Object
org.stellar.sdk.xdr.StoredTransactionSet
StoredTransactionSet's original definition in the XDR file is:
union StoredTransactionSet switch (int v) { case 0: TransactionSet txSet; case 1: GeneralizedTransactionSet generalizedTxSet; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionStoredTransactionSet
(Integer discriminant, TransactionSet txSet, GeneralizedTransactionSet generalizedTxSet) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static StoredTransactionSet
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static StoredTransactionSet
fromXdrBase64
(String xdr) static StoredTransactionSet
fromXdrByteArray
(byte[] xdr) getTxSet()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
setGeneralizedTxSet
(GeneralizedTransactionSet generalizedTxSet) void
setTxSet
(TransactionSet txSet) toString()
default String
default byte[]
-
Constructor Details
-
StoredTransactionSet
public StoredTransactionSet() -
StoredTransactionSet
public StoredTransactionSet(Integer discriminant, TransactionSet txSet, GeneralizedTransactionSet generalizedTxSet)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getTxSet
-
getGeneralizedTxSet
-
setDiscriminant
-
setTxSet
-
setGeneralizedTxSet
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-