Interface EncumbranceGroup

  • All Implemented Interfaces:

    @DoNotImplement() 
    public interface EncumbranceGroup
    
                        

    Identifies the encumbrance of a [TransactionState].

    The encumbrance is identified by a tag. The encumbrance group has the tag and the size of the encumbrance group, that is, the number of states encumbered with the same tag in the same transaction. This allows to easily check that all states of one encumbrance group are present.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String getTag() Gets the encumbrance tag.
      abstract int getSize() Gets the number of states encumbered with the tag of this group.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getTag

        @NotNull() abstract String getTag()

        Gets the encumbrance tag.

      • getSize

         abstract int getSize()

        Gets the number of states encumbered with the tag of this group.