Package org.stellar.sdk.xdr
Class DataEntry
java.lang.Object
org.stellar.sdk.xdr.DataEntry
DataEntry's original definition in the XDR file is:
struct DataEntry { AccountID accountID; // account this data belongs to string64 dataName; DataValue dataValue; // reserved for future use union switch (int v) { case 0: void; } ext; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
DataEntryExt's original definition in the XDR file is: -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataEntry.DataEntryBuilder
builder()
static DataEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static DataEntry
fromXdrBase64
(String xdr) static DataEntry
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
setAccountID
(AccountID accountID) void
setDataName
(String64 dataName) void
setDataValue
(DataValue dataValue) void
toString()
default String
default byte[]
-
Constructor Details
-
DataEntry
public DataEntry() -
DataEntry
public DataEntry(AccountID accountID, String64 dataName, DataValue dataValue, DataEntry.DataEntryExt ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getAccountID
-
getDataName
-
getDataValue
-
getExt
-
setAccountID
-
setDataName
-
setDataValue
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-