Class UtxoTokenFilterFields

  • All Implemented Interfaces:

    
    public final class UtxoTokenFilterFields
    
                        

    Represents optional fields to allow CorDapps to filter for subsets of tokens within a token pool.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getTag() Gets an optional user-defined string that can be used for regular expression filters.
      SecureHash getOwnerHash() Gets an optional token owner hash.
      boolean equals(@Nullable() Object obj) Determines whether the specified object is equal to the current object.
      boolean equals(@NotNull() UtxoTokenFilterFields other) Determines whether the specified object is equal to the current object.
      int hashCode() Serves as the default hash function.
      String toString() Returns a string that represents the current object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UtxoTokenFilterFields

        UtxoTokenFilterFields(String tag, SecureHash ownerHash)
        Creates a new instance of the UtxoTokenFilterFields class.
        Parameters:
        tag - Optional user-defined string that can be used for regular expression filters.
        ownerHash - Optional token owner hash.
      • UtxoTokenFilterFields

        UtxoTokenFilterFields()
        Creates a new instance of the UtxoTokenFilterFields class.
    • Method Detail

      • getTag

        @Nullable() String getTag()

        Gets an optional user-defined string that can be used for regular expression filters.

      • equals

         boolean equals(@Nullable() Object obj)

        Determines whether the specified object is equal to the current object.

        Parameters:
        obj - The object to compare with the current object.
      • equals

         boolean equals(@NotNull() UtxoTokenFilterFields other)

        Determines whether the specified object is equal to the current object.

        Parameters:
        other - The Party to compare with the current object.
      • hashCode

         int hashCode()

        Serves as the default hash function.

      • toString

         String toString()

        Returns a string that represents the current object.