Class AbstractCountBuilder<T extends AbstractCountBuilder<T>>

  • Type Parameters:
    T - the concrete Count type to build
    All Implemented Interfaces:
    Builder<de.fraunhofer.iosb.ilt.swe.common.simple.Count>
    Direct Known Subclasses:
    CountBuilder

    public abstract class AbstractCountBuilder<T extends AbstractCountBuilder<T>>
    extends AbstractSimpleComponentBuilder<de.fraunhofer.iosb.ilt.swe.common.simple.Count,​T>
    /** Base class for any Count builder.

    Any AbstractCountBuilder is an ExtensibleBuilder.

    Author:
    Michael Jacoby
    • Constructor Detail

      • AbstractCountBuilder

        public AbstractCountBuilder()
    • Method Detail

      • newBuildingInstance

        protected de.fraunhofer.iosb.ilt.swe.common.simple.Count newBuildingInstance()
        Description copied from class: AbstractBuilder
        Create the new instance that will be build by this AbstractBuilder
        Specified by:
        newBuildingInstance in class AbstractBuilder<de.fraunhofer.iosb.ilt.swe.common.simple.Count>
        Returns:
        the new instance that will be build by this AbstractBuilder
      • value

        public T value​(Long value)
      • constraint

        public T constraint​(de.fraunhofer.iosb.ilt.swe.common.constraint.AllowedValues allowedValues)
      • allowedValue

        public T allowedValue​(BigDecimal value)
      • allowedValues

        public T allowedValues​(BigDecimal... values)
      • significantFigures

        public T significantFigures​(int significantFigures)