Class AbstractCategoryBuilder<T extends AbstractCategoryBuilder<T>>

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

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

    Any AbstractCategoryBuilder is an ExtensibleBuilder.

    Author:
    Michael Jacoby
    • Constructor Detail

      • AbstractCategoryBuilder

        public AbstractCategoryBuilder()
    • Method Detail

      • newBuildingInstance

        protected de.fraunhofer.iosb.ilt.swe.common.simple.Category 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.Category>
        Returns:
        the new instance that will be build by this AbstractBuilder
      • value

        public T value​(String value)
      • constraint

        public T constraint​(de.fraunhofer.iosb.ilt.swe.common.constraint.AllowedTokens allowedTokens)
      • allowedValue

        public T allowedValue​(String value)
      • allowedValues

        public T allowedValues​(List<String> values)
      • allowedValues

        public T allowedValues​(String... values)
      • pattern

        public T pattern​(String pattern)