Class PropertyDescriptorBuilder<E,​T extends PropertyDescriptorBuilder<E,​T>>

  • Type Parameters:
    E - Value type of the built descriptor
    T - Concrete type of this builder instance. Removes code duplication at the expense of a few unchecked casts. Everything goes well if this parameter's value is correctly set.
    Direct Known Subclasses:
    MultiValuePropertyBuilder, SingleValuePropertyBuilder

    @Deprecated
    public abstract class PropertyDescriptorBuilder<E,​T extends PropertyDescriptorBuilder<E,​T>>
    extends Object
    Deprecated.
    From 7.0.0 on, the only supported way to build properties will be through PropertyFactory. This class hierarchy is replaced by the newer PropertyBuilder.
    Base class for property builders.
    Since:
    6.0.0
    Author:
    Clément Fournier
    • Field Detail

      • name

        protected String name
        Deprecated.
      • description

        protected String description
        Deprecated.
      • uiOrder

        protected float uiOrder
        Deprecated.
      • isDefinedInXML

        protected boolean isDefinedInXML
        Deprecated.
    • Constructor Detail

      • PropertyDescriptorBuilder

        protected PropertyDescriptorBuilder​(String name)
        Deprecated.
    • Method Detail

      • desc

        public T desc​(String desc)
        Deprecated.
        Specify the description of the property.
        Parameters:
        desc - The description
        Returns:
        The same builder
      • getName

        public String getName()
        Deprecated.
        Returns the name of the property to be built.