public class UpgradeEntryMeta extends java.lang.Object implements XdrElement
struct UpgradeEntryMeta { LedgerUpgrade upgrade; LedgerEntryChanges changes; };
Modifier and Type | Class and Description |
---|---|
static class |
UpgradeEntryMeta.UpgradeEntryMetaBuilder |
Constructor and Description |
---|
UpgradeEntryMeta() |
UpgradeEntryMeta(LedgerUpgrade upgrade,
LedgerEntryChanges changes) |
Modifier and Type | Method and Description |
---|---|
static UpgradeEntryMeta.UpgradeEntryMetaBuilder |
builder() |
static UpgradeEntryMeta |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static UpgradeEntryMeta |
fromXdrBase64(java.lang.String xdr) |
static UpgradeEntryMeta |
fromXdrByteArray(byte[] xdr) |
LedgerEntryChanges |
getChanges() |
LedgerUpgrade |
getUpgrade() |
int |
hashCode() |
void |
setChanges(LedgerEntryChanges changes) |
void |
setUpgrade(LedgerUpgrade upgrade) |
UpgradeEntryMeta.UpgradeEntryMetaBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public UpgradeEntryMeta()
public UpgradeEntryMeta(LedgerUpgrade upgrade, LedgerEntryChanges changes)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static UpgradeEntryMeta decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static UpgradeEntryMeta fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static UpgradeEntryMeta fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static UpgradeEntryMeta.UpgradeEntryMetaBuilder builder()
public UpgradeEntryMeta.UpgradeEntryMetaBuilder toBuilder()
public LedgerUpgrade getUpgrade()
public LedgerEntryChanges getChanges()
public void setUpgrade(LedgerUpgrade upgrade)
public void setChanges(LedgerEntryChanges changes)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object