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