Package org.stellar.sdk.xdr
Class ContractDataEntry
java.lang.Object
org.stellar.sdk.xdr.ContractDataEntry
ContractDataEntry's original definition in the XDR file is:
struct ContractDataEntry { ExtensionPoint ext; SCAddress contract; SCVal key; ContractDataDurability durability; SCVal val; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionContractDataEntry
(ExtensionPoint ext, SCAddress contract, SCVal key, ContractDataDurability durability, SCVal val) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ContractDataEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ContractDataEntry
fromXdrBase64
(String xdr) static ContractDataEntry
fromXdrByteArray
(byte[] xdr) getExt()
getKey()
getVal()
int
hashCode()
void
setContract
(SCAddress contract) void
setDurability
(ContractDataDurability durability) void
setExt
(ExtensionPoint ext) void
void
toString()
default String
default byte[]
-
Constructor Details
-
ContractDataEntry
public ContractDataEntry() -
ContractDataEntry
public ContractDataEntry(ExtensionPoint ext, SCAddress contract, SCVal key, ContractDataDurability durability, SCVal val)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getExt
-
getContract
-
getKey
-
getDurability
-
getVal
-
setExt
-
setContract
-
setKey
-
setDurability
-
setVal
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-