Class ImmutableConstitution.AppliedNameForms.Builder

  • Enclosing class:
    ImmutableConstitution.AppliedNameForms

    @NotThreadSafe
    public static final class ImmutableConstitution.AppliedNameForms.Builder
    extends java.lang.Object
    Builds instances of type AppliedNameForms. Initialize attributes and then invoke the build() method to create an immutable instance.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Field Detail

      • initBits

        private long initBits
      • optBits

        private long optBits
      • absolute

        @Nullable
        private java.lang.String absolute
      • absoluteRaw

        @Nullable
        private java.lang.String absoluteRaw
      • applied

        @Nullable
        private java.lang.String applied
    • Constructor Detail

      • Builder

        private Builder()
    • Method Detail

      • absolute

        public final ImmutableConstitution.AppliedNameForms.Builder absolute​(java.lang.String absolute)
        Initializes the value for the absolute attribute.

        If not set, this attribute will have a default value as returned by the initializer of absolute.

        Parameters:
        absolute - The value for absolute
        Returns:
        this builder for use in a chained invocation
      • absoluteRaw

        public final ImmutableConstitution.AppliedNameForms.Builder absoluteRaw​(java.lang.String absoluteRaw)
        Initializes the value for the absoluteRaw attribute.

        If not set, this attribute will have a default value as returned by the initializer of absoluteRaw.

        Parameters:
        absoluteRaw - The value for absoluteRaw
        Returns:
        this builder for use in a chained invocation
      • absoluteIsSet

        private boolean absoluteIsSet()
      • absoluteRawIsSet

        private boolean absoluteRawIsSet()
      • formsIsSet

        private boolean formsIsSet()
      • appliedIsSet

        private boolean appliedIsSet()
      • checkNotIsSet

        private static void checkNotIsSet​(boolean isSet,
                                          java.lang.String name)
      • checkRequiredAttributes

        private void checkRequiredAttributes()
      • formatRequiredAttributesMessage

        private java.lang.String formatRequiredAttributesMessage()