Class LedgerEntryChange

java.lang.Object
org.stellar.sdk.xdr.LedgerEntryChange
All Implemented Interfaces:
XdrElement

public class LedgerEntryChange extends Object implements XdrElement
LedgerEntryChange's original definition in the XDR file is:
 union LedgerEntryChange switch (LedgerEntryChangeType type)
 {
 case LEDGER_ENTRY_CREATED:
     LedgerEntry created;
 case LEDGER_ENTRY_UPDATED:
     LedgerEntry updated;
 case LEDGER_ENTRY_REMOVED:
     LedgerKey removed;
 case LEDGER_ENTRY_STATE:
     LedgerEntry state;
 case LEDGER_ENTRY_RESTORED:
     LedgerEntry restored;
 };
 
  • Constructor Details

    • LedgerEntryChange

      public LedgerEntryChange()
    • LedgerEntryChange

      public LedgerEntryChange(LedgerEntryChangeType discriminant, LedgerEntry created, LedgerEntry updated, LedgerKey removed, LedgerEntry state, LedgerEntry restored)
      Creates a new LedgerEntryChange instance.
      Parameters:
      discriminant - the discriminant field value
      created - the created field value
      updated - the updated field value
      removed - the removed field value
      state - the state field value
      restored - the restored field value
  • Method Details