Package org.stellar.sdk.xdr
Class LedgerKey.LedgerKeyData
java.lang.Object
org.stellar.sdk.xdr.LedgerKey.LedgerKeyData
- All Implemented Interfaces:
XdrElement
- Enclosing class:
LedgerKey
LedgerKeyData's original definition in the XDR file is:
struct
{
AccountID accountID;
string64 dataName;
}
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerKey.LedgerKeyDatadecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerKey.LedgerKeyDatafromXdrBase64(String xdr) static LedgerKey.LedgerKeyDatafromXdrByteArray(byte[] xdr) inthashCode()voidsetAccountID(AccountID accountID) voidsetDataName(String64 dataName) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerKeyData
public LedgerKeyData() -
LedgerKeyData
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getAccountID
-
getDataName
-
setAccountID
-
setDataName
-
equals
-
hashCode
public int hashCode() -
toString
-