Package org.stellar.sdk.xdr
Class SCSpecUDTUnionV0
java.lang.Object
org.stellar.sdk.xdr.SCSpecUDTUnionV0
- All Implemented Interfaces:
XdrElement
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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSCSpecUDTUnionV0(XdrString doc, XdrString lib, XdrString name, SCSpecUDTUnionCaseV0[] cases) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SCSpecUDTUnionV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCSpecUDTUnionV0fromXdrBase64(String xdr) static SCSpecUDTUnionV0fromXdrByteArray(byte[] xdr) getCases()getDoc()getLib()getName()inthashCode()voidsetCases(SCSpecUDTUnionCaseV0[] cases) voidvoidvoidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCSpecUDTUnionV0
public SCSpecUDTUnionV0() -
SCSpecUDTUnionV0
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-