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