Class Token.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class Token.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for Token instances.

    • Constructor Detail

    • Method Detail

      • getStateRef

         String getStateRef()

        Gets the value of the 'stateRef' field. The unique ID of the token state

      • setStateRef

         Token.Builder setStateRef(String value)

        Sets the value of the 'stateRef' field. The unique ID of the token state

        Parameters:
        value - The value of 'stateRef'.
      • getOwnerHash

         String getOwnerHash()

        Gets the value of the 'ownerHash' field. Optional owner of the token

      • setOwnerHash

         Token.Builder setOwnerHash(String value)

        Sets the value of the 'ownerHash' field. Optional owner of the token

        Parameters:
        value - The value of 'ownerHash'.
      • getTag

         String getTag()

        Gets the value of the 'tag' field. Optional user defined tag of the token

      • setTag

         Token.Builder setTag(String value)

        Sets the value of the 'tag' field. Optional user defined tag of the token

        Parameters:
        value - The value of 'tag'.
      • hasStateRef

         boolean hasStateRef()

        Checks whether the 'stateRef' field has been set. The unique ID of the token state

      • hasAmount

         boolean hasAmount()

        Checks whether the 'amount' field has been set. The amount of the token

      • hasAmountBuilder

         boolean hasAmountBuilder()

        Checks whether the 'amount' field has an active Builder instance The amount of the token

      • hasOwnerHash

         boolean hasOwnerHash()

        Checks whether the 'ownerHash' field has been set. Optional owner of the token

      • hasTag

         boolean hasTag()

        Checks whether the 'tag' field has been set. Optional user defined tag of the token

      • clearTag

         Token.Builder clearTag()

        Clears the value of the 'tag' field. Optional user defined tag of the token