Package org.stellar.sdk.xdr
Class LedgerEntry.LedgerEntryData
java.lang.Object
org.stellar.sdk.xdr.LedgerEntry.LedgerEntryData
- Enclosing class:
LedgerEntry
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LedgerEntry.LedgerEntryDatadecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, LedgerEntry.LedgerEntryData encodedLedgerEntryData) booleanstatic LedgerEntry.LedgerEntryDatafromXdrBase64(String xdr) static LedgerEntry.LedgerEntryDatafromXdrByteArray(byte[] xdr) getData()getOffer()getTtl()inthashCode()voidsetAccount(AccountEntry value) voidvoidvoidsetContractCode(ContractCodeEntry value) voidsetContractData(ContractDataEntry value) voidvoidsetDiscriminant(LedgerEntryType value) voidvoidsetOffer(OfferEntry value) voidsetTrustLine(TrustLineEntry value) voidbyte[]
-
Constructor Details
-
LedgerEntryData
public LedgerEntryData()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getAccount
-
setAccount
-
getTrustLine
-
setTrustLine
-
getOffer
-
setOffer
-
getData
-
setData
-
getClaimableBalance
-
setClaimableBalance
-
getLiquidityPool
-
setLiquidityPool
-
getContractData
-
setContractData
-
getContractCode
-
setContractCode
-
getConfigSetting
-
setConfigSetting
-
getTtl
-
setTtl
-
encode
public static void encode(XdrDataOutputStream stream, LedgerEntry.LedgerEntryData encodedLedgerEntryData) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-