Class Property.BuilderBase.PropertyImpl

java.lang.Object
io.helidon.data.codegen.query.Property.BuilderBase.PropertyImpl
All Implemented Interfaces:
Prototype.Api, Property
Enclosing class:
Property.BuilderBase<BUILDER extends Property.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends Property>

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

    • PropertyImpl

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

    • toString

      public String toString()
      Description copied from interface: Property
      Property name. Builds new String from stored property name elements.
      Specified by:
      toString in interface Property
      Overrides:
      toString in class Object
      Returns:
      the property name
    • nameParts

      public List<CharSequence> nameParts()
      Description copied from interface: Property
      List of property name elements. Property name consists of individual elements separated by '.' character, e.g. person.name.
      Specified by:
      nameParts in interface Property
      Returns:
      List of property name elements
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • name

      default CharSequence name()
      Property name. Builds new CharSequence from stored property name elements.
      Returns:
      the property name