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