Class ContractWithKey<Id,​Data,​Key>

  • All Implemented Interfaces:
    Contract

    public abstract class ContractWithKey<Id,​Data,​Key>
    extends Contract<Id,​Data>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ContractWithKey​(Id id, Data data, java.util.Optional<java.lang.String> agreementText, java.util.Optional<Key> key, java.util.Set<java.lang.String> signatories, java.util.Set<java.lang.String> observers)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • key

        public final java.util.Optional<Key> key
        The contract's key, if it was present in the event.
    • Constructor Detail

      • ContractWithKey

        protected ContractWithKey​(Id id,
                                  Data data,
                                  java.util.Optional<java.lang.String> agreementText,
                                  java.util.Optional<Key> key,
                                  java.util.Set<java.lang.String> signatories,
                                  java.util.Set<java.lang.String> observers)