Class StandardPropertyBuilders

  • All Implemented Interfaces:
    io.github.mmm.property.builder.PropertyBuilders, Consumer<io.github.mmm.property.WritableProperty<?>>

    public class StandardPropertyBuilders
    extends Object
    implements io.github.mmm.property.builder.PropertyBuilders, Consumer<io.github.mmm.property.WritableProperty<?>>
    Implementation of PropertyBuilders that auto registers build properties and redirects to read-only properties if read-only.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(io.github.mmm.property.WritableProperty<?> property)  
      io.github.mmm.property.AttributeReadOnly getLock()  
      • Methods inherited from interface io.github.mmm.property.builder.PropertyBuilders

        newBigDecimal, newBigDecimal, newBigInteger, newBigInteger, newBoolean, newBoolean, newByte, newByte, newDouble, newDouble, newFloat, newFloat, newInstant, newInstant, newInteger, newInteger, newLocalDate, newLocalDate, newLocalDateTime, newLocalDateTime, newLocalTime, newLocalTime, newLong, newLong, newOffsetDateTime, newOffsetDateTime, newOffsetTime, newOffsetTime, newPattern, newPattern, newShort, newShort, newString, newString, newZonedDateTime, newZonedDateTime
    • Constructor Detail

      • StandardPropertyBuilders

        public StandardPropertyBuilders​(WritableBean bean)
        The constructor.
        Parameters:
        bean - WritableBean to build the properties for.
    • Method Detail

      • accept

        public void accept​(io.github.mmm.property.WritableProperty<?> property)
        Specified by:
        accept in interface Consumer<io.github.mmm.property.WritableProperty<?>>
      • getLock

        public io.github.mmm.property.AttributeReadOnly getLock()
        Specified by:
        getLock in interface io.github.mmm.property.builder.PropertyBuilders