public class UpgradeType extends java.lang.Object implements XdrElement
typedef opaque UpgradeType<128>;
Constructor and Description |
---|
UpgradeType() |
UpgradeType(byte[] UpgradeType) |
Modifier and Type | Method and Description |
---|---|
static UpgradeType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static UpgradeType |
fromXdrBase64(java.lang.String xdr) |
static UpgradeType |
fromXdrByteArray(byte[] xdr) |
byte[] |
getUpgradeType() |
int |
hashCode() |
void |
setUpgradeType(byte[] UpgradeType) |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public UpgradeType()
public UpgradeType(byte[] UpgradeType)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static UpgradeType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static UpgradeType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static UpgradeType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public byte[] getUpgradeType()
public void setUpgradeType(byte[] UpgradeType)
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