Package org.stellar.sdk.xdr
Class SCSpecUDTUnionV0
java.lang.Object
org.stellar.sdk.xdr.SCSpecUDTUnionV0
SCSpecUDTUnionV0's original definition in the XDR file is:
struct SCSpecUDTUnionV0 { string doc<SC_SPEC_DOC_LIMIT>; string lib<80>; string name<60>; SCSpecUDTUnionCaseV0 cases<50>; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSCSpecUDTUnionV0
(XdrString doc, XdrString lib, XdrString name, SCSpecUDTUnionCaseV0[] cases) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCSpecUDTUnionV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCSpecUDTUnionV0
fromXdrBase64
(String xdr) static SCSpecUDTUnionV0
fromXdrByteArray
(byte[] xdr) getCases()
getDoc()
getLib()
getName()
int
hashCode()
void
setCases
(SCSpecUDTUnionCaseV0[] cases) void
void
void
toString()
default String
default byte[]
-
Constructor Details
-
SCSpecUDTUnionV0
public SCSpecUDTUnionV0() -
SCSpecUDTUnionV0
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDoc
-
getLib
-
getName
-
getCases
-
setDoc
-
setLib
-
setName
-
setCases
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-