Package nxt

Class Asset


  • public final class Asset
    extends java.lang.Object
    • Method Detail

      • getAllAssets

        public static DbIterator<Asset> getAllAssets​(int from,
                                                     int to)
      • getCount

        public static int getCount()
      • getAsset

        public static Asset getAsset​(long id)
      • getAsset

        public static Asset getAsset​(long id,
                                     int height)
      • getAssetsIssuedBy

        public static DbIterator<Asset> getAssetsIssuedBy​(long accountId,
                                                          int from,
                                                          int to)
      • searchAssets

        public static DbIterator<Asset> searchAssets​(java.lang.String query,
                                                     int from,
                                                     int to)
      • getId

        public long getId()
      • getAccountId

        public long getAccountId()
      • getName

        public java.lang.String getName()
      • getDescription

        public java.lang.String getDescription()
      • getInitialQuantityQNT

        public long getInitialQuantityQNT()
      • getQuantityQNT

        public long getQuantityQNT()
      • getDecimals

        public byte getDecimals()
      • setProperty

        public void setProperty​(long transactionId,
                                Account senderAccount,
                                java.lang.String property,
                                java.lang.String value)
      • getProperty

        public Asset.AssetProperty getProperty​(long setterId,
                                               java.lang.String property)
      • getProperties

        public static DbIterator<Asset.AssetProperty> getProperties​(long assetId,
                                                                    long setterId,
                                                                    java.lang.String property,
                                                                    int firstIndex,
                                                                    int lastIndex)
      • deleteProperty

        public static void deleteProperty​(long propertyId)