Package org.stellar.sdk.xdr
Class HashIDPreimage.HashIDPreimageOperationID
java.lang.Object
org.stellar.sdk.xdr.HashIDPreimage.HashIDPreimageOperationID
- All Implemented Interfaces:
XdrElement
- Enclosing class:
HashIDPreimage
HashIDPreimageOperationID's original definition in the XDR file is:
struct { AccountID sourceAccount; SequenceNumber seqNum; uint32 opNum; }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorsConstructorDescriptionHashIDPreimageOperationID
(AccountID sourceAccount, SequenceNumber seqNum, Uint32 opNum) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getOpNum()
int
hashCode()
void
void
setSeqNum
(SequenceNumber seqNum) void
setSourceAccount
(AccountID sourceAccount) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
HashIDPreimageOperationID
public HashIDPreimageOperationID() -
HashIDPreimageOperationID
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
public static HashIDPreimage.HashIDPreimageOperationID decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
public static HashIDPreimage.HashIDPreimageOperationID fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-
getSourceAccount
-
getSeqNum
-
getOpNum
-
setSourceAccount
-
setSeqNum
-
setOpNum
-
equals
-
hashCode
public int hashCode() -
toString
-