Package org.stellar.sdk.xdr
Class SCSpecEventParamV0
java.lang.Object
org.stellar.sdk.xdr.SCSpecEventParamV0
- All Implemented Interfaces:
XdrElement
SCSpecEventParamV0's original definition in the XDR file is:
struct SCSpecEventParamV0 { string doc<SC_SPEC_DOC_LIMIT>; string name<30>; SCSpecTypeDef type; SCSpecEventParamLocationV0 location; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSCSpecEventParamV0
(XdrString doc, XdrString name, SCSpecTypeDef type, SCSpecEventParamLocationV0 location) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCSpecEventParamV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCSpecEventParamV0
fromXdrBase64
(String xdr) static SCSpecEventParamV0
fromXdrByteArray
(byte[] xdr) getDoc()
getName()
getType()
int
hashCode()
void
void
setLocation
(SCSpecEventParamLocationV0 location) void
void
setType
(SCSpecTypeDef type) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCSpecEventParamV0
public SCSpecEventParamV0() -
SCSpecEventParamV0
public SCSpecEventParamV0(XdrString doc, XdrString name, SCSpecTypeDef type, SCSpecEventParamLocationV0 location)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDoc
-
getName
-
getType
-
getLocation
-
setDoc
-
setName
-
setType
-
setLocation
-
equals
-
hashCode
public int hashCode() -
toString
-