Package org.stellar.sdk.xdr
Class SCSpecUDTEnumV0
java.lang.Object
org.stellar.sdk.xdr.SCSpecUDTEnumV0
SCSpecUDTEnumV0's original definition in the XDR file is:
struct SCSpecUDTEnumV0 { string doc<SC_SPEC_DOC_LIMIT>; string lib<80>; string name<60>; SCSpecUDTEnumCaseV0 cases<50>; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSCSpecUDTEnumV0
(XdrString doc, XdrString lib, XdrString name, SCSpecUDTEnumCaseV0[] cases) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCSpecUDTEnumV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCSpecUDTEnumV0
fromXdrBase64
(String xdr) static SCSpecUDTEnumV0
fromXdrByteArray
(byte[] xdr) getCases()
getDoc()
getLib()
getName()
int
hashCode()
void
setCases
(SCSpecUDTEnumCaseV0[] cases) void
void
void
toString()
default String
default byte[]
-
Constructor Details
-
SCSpecUDTEnumV0
public SCSpecUDTEnumV0() -
SCSpecUDTEnumV0
-
-
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
-