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.
-
-
Field Summary
Fields Modifier and Type Field Description public final String
tag
public final SecureHash
ownerHash
-
Constructor Summary
Constructors Constructor Description UtxoTokenFilterFields(String tag, SecureHash ownerHash)
Creates a new instance of the UtxoTokenFilterFields class. UtxoTokenFilterFields()
Creates a new instance of the UtxoTokenFilterFields class.
-
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. -
-
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.
-
getOwnerHash
@Nullable() SecureHash getOwnerHash()
Gets an optional token owner hash.
-
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.
-
-
-
-