AutomaticHashConstraint
Keywords: net.corda.core.contracts.AutomaticHashConstraint class
Date: 2023-09-18

net.corda.core.contracts

## Class AutomaticHashConstraint

- net.corda.core.contracts.AutomaticHashConstraint

- All Implemented Interfaces:
    AttachmentConstraint

  Deprecated.

      @Deprecated
      public class AutomaticHashConstraint
      implements AttachmentConstraint

- - ### Field Detail

    - #### INSTANCE

          public static AutomaticHashConstraint INSTANCE

      Deprecated.

  - ### Method Detail

    - #### isSatisfiedBy

          public boolean isSatisfiedBy(@NotNull
                                       Attachment attachment)

      Deprecated.

      Returns whether the given contract attachment can be used with the `interface ContractState` associated with this constraint object.

      See Also:
        `interface ContractState`