Package org.stellar.sdk.xdr
Class TrustLineEntry.TrustLineEntryExt
java.lang.Object
org.stellar.sdk.xdr.TrustLineEntry.TrustLineEntryExt
- Enclosing class:
TrustLineEntry
TrustLineEntryExt's original definition in the XDR file is:
union switch (int v)
{
case 0:
void;
case 1:
struct
{
Liabilities liabilities;
union switch (int v)
{
case 0:
void;
case 2:
TrustLineEntryExtensionV2 v2;
}
ext;
} v1;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classTrustLineEntryV1's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionTrustLineEntryExt(Integer discriminant, TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 v1) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getV1()inthashCode()voidsetDiscriminant(Integer discriminant) voidtoString()default Stringdefault byte[]
-
Constructor Details
-
TrustLineEntryExt
public TrustLineEntryExt() -
TrustLineEntryExt
public TrustLineEntryExt(Integer discriminant, TrustLineEntry.TrustLineEntryExt.TrustLineEntryV1 v1)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV1
-
setDiscriminant
-
setV1
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-