Package org.stellar.sdk
Class TrustLineAsset.Wrapper
- java.lang.Object
-
- org.stellar.sdk.TrustLineAsset
-
- org.stellar.sdk.TrustLineAsset.Wrapper
-
- All Implemented Interfaces:
java.lang.Comparable<TrustLineAsset>
- Enclosing class:
- TrustLineAsset
public static final class TrustLineAsset.Wrapper extends TrustLineAsset
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.stellar.sdk.TrustLineAsset
TrustLineAsset.Wrapper
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TrustLineAsset other)
boolean
equals(java.lang.Object object)
Asset
getAsset()
java.lang.String
getType()
Get the asset typeorg.stellar.sdk.xdr.TrustLineAsset
toXdr()
Generates XDR object from a given TrustLineAsset object-
Methods inherited from class org.stellar.sdk.TrustLineAsset
create, create, create, create, create, create, create, createNonNativeAsset, fromXdr
-
-
-
-
Constructor Detail
-
Wrapper
public Wrapper(Asset baseAsset)
-
-
Method Detail
-
getAsset
public Asset getAsset()
-
getType
public java.lang.String getType()
Description copied from class:TrustLineAsset
Get the asset type- Specified by:
getType
in classTrustLineAsset
- Returns:
- the asset type
-
equals
public final boolean equals(java.lang.Object object)
- Specified by:
equals
in classTrustLineAsset
-
compareTo
public int compareTo(TrustLineAsset other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<TrustLineAsset>
- Specified by:
compareTo
in classTrustLineAsset
-
toXdr
public org.stellar.sdk.xdr.TrustLineAsset toXdr()
Description copied from class:TrustLineAsset
Generates XDR object from a given TrustLineAsset object- Specified by:
toXdr
in classTrustLineAsset
- Returns:
- xdr model
-
-