Class RegistrationState.Builder

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

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

    RecordBuilder for RegistrationState instances.

    • Constructor Detail

    • Method Detail

      • getRegistrationId

         String getRegistrationId()

        Gets the value of the 'registrationId' field. UUID identifying this registration request

      • getRegisteringMember

         HoldingIdentity getRegisteringMember()

        Gets the value of the 'registeringMember' field. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.

      • setRegisteringMember

         RegistrationState.Builder setRegisteringMember(HoldingIdentity value)

        Sets the value of the 'registeringMember' field. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.

        Parameters:
        value - The value of 'registeringMember'.
      • getRegisteringMemberBuilder

         HoldingIdentity.Builder getRegisteringMemberBuilder()

        Gets the Builder instance for the 'registeringMember' field and creates one if it doesn't exist yet. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.

      • hasRegistrationId

         boolean hasRegistrationId()

        Checks whether the 'registrationId' field has been set. UUID identifying this registration request

      • hasRegisteringMember

         boolean hasRegisteringMember()

        Checks whether the 'registeringMember' field has been set. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.

      • hasRegisteringMemberBuilder

         boolean hasRegisteringMemberBuilder()

        Checks whether the 'registeringMember' field has an active Builder instance Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.

      • clearRegisteringMember

         RegistrationState.Builder clearRegisteringMember()

        Clears the value of the 'registeringMember' field. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.

      • hasMgm

         boolean hasMgm()

        Checks whether the 'mgm' field has been set. Holding identity of the MGM.

      • hasMgmBuilder

         boolean hasMgmBuilder()

        Checks whether the 'mgm' field has an active Builder instance Holding identity of the MGM.

      • hasPreviouslyCompletedCommands

         boolean hasPreviouslyCompletedCommands()

        Checks whether the 'previouslyCompletedCommands' field has been set. A list of all the previously completed commands during registration. Can be used for idempotency in the case of message replays.

      • clearPreviouslyCompletedCommands

         RegistrationState.Builder clearPreviouslyCompletedCommands()

        Clears the value of the 'previouslyCompletedCommands' field. A list of all the previously completed commands during registration. Can be used for idempotency in the case of message replays.