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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classDataEntryExt's original definition in the XDR file is: -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataEntry.DataEntryBuilderbuilder()static DataEntrydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic DataEntryfromXdrBase64(String xdr) static DataEntryfromXdrByteArray(byte[] xdr) getExt()inthashCode()voidsetAccountID(AccountID accountID) voidsetDataName(String64 dataName) voidsetDataValue(DataValue dataValue) voidtoString()default Stringdefault 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
-