Class PackagedPropertyModule<T>

  • Direct Known Subclasses:
    MethodPropertyModule, TypePropertyModule

    @Deprecated
    public abstract class PackagedPropertyModule<T>
    extends java.lang.Object
    Deprecated.
    Factorises common functionality for packaged properties.
    Author:
    Clément Fournier
    • Constructor Detail

      • PackagedPropertyModule

        public PackagedPropertyModule​(java.lang.String[] legalPackageNames,
                                      java.util.List<T> defaults)
        Deprecated.
    • Method Detail

      • packageNameOf

        protected abstract java.lang.String packageNameOf​(T item)
        Deprecated.
        Returns the package name of the item.
        Parameters:
        item - Item (not null)
        Returns:
        Package name of the item
      • valueErrorFor

        public java.lang.String valueErrorFor​(T value)
        Deprecated.
      • itemTypeName

        protected abstract java.lang.String itemTypeName()
        Deprecated.
        Returns the name of the type of item.
        Returns:
        The name of the type of item
      • legalPackageNames

        public java.lang.String[] legalPackageNames()
        Deprecated.
      • addAttributesTo

        public void addAttributesTo​(java.util.Map<PropertyDescriptorField,​java.lang.String> attributes)
        Deprecated.
      • packageNamesIn

        public java.lang.String[] packageNamesIn​(java.util.Map<PropertyDescriptorField,​java.lang.String> params)
        Deprecated.