Class OptionSingular.BuilderBase.OptionSingularImpl

java.lang.Object
io.helidon.builder.codegen.OptionSingular.BuilderBase.OptionSingularImpl
All Implemented Interfaces:
Prototype.Api, OptionSingular
Enclosing class:
OptionSingular.BuilderBase<BUILDER extends OptionSingular.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OptionSingular>

protected static class OptionSingular.BuilderBase.OptionSingularImpl extends Object implements OptionSingular
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • OptionSingularImpl

      protected OptionSingularImpl(OptionSingular.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • name

      public String name()
      Description copied from interface: OptionSingular
      Singular form of the option name. For lines, this would be line. For properties, this should be property, so we allow customization by the user.
      Specified by:
      name in interface OptionSingular
      Returns:
      singular name
    • methodName

      public String methodName()
      Description copied from interface: OptionSingular
      Name of the singular setter method.
      Specified by:
      methodName in interface OptionSingular
      Returns:
      method name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object