- New feature - ColorPropertType now you can set which ColorFormat the string reprensentation shall be as, both with Alpha value and with out.
- New feature - ColorPropertType now has the ability to set min and max value on color.
- New feature - ColorPropertType now has even more parsing abilities to validate a color string, and now with alpha value as well, can now parse formats.
- HexColorFormat
- HexAlphaColorFormat
- HSVAColorFormat
- HSVColorFormat
- HSBAColorFormat
- HSBColorFormat
- HSLAColorFormat
- HSAColorFormat
- RGBAColorFormat
- RGBColorFormat
- SVGNamedColorFormat
- New feature - PropertyCollectionRegistry where PropertyCollections is automtically registered, which gives the possible to view all constructed PropertyCollections instances.
- New feature - New PropertyFrameworkGlobals attribute "AutoRegisterPropertyCollections", where you can turn on/off auto register of PropertyCollections in PropertyCollectionRegistry.
- New feature - EmailPropertyType can now validate if the domain/hostname exists. Using "com.sun.jndi.dns.DnsContextFactory". There are options to turn this feature off if you want. But per default it is on.
- New feature - Extended LdapNamePropertyType constructor with a baseDN string value which is append if needed. Either to facilite short paths or ensure correct paths.
- New feature - New ConnectionUrlPropertyType - Validates a database connection url.
- New feature - set/get InitializationPriority on a PropertyType. The higher the number the sooner is the Property initialized.
There by securing that some types is loaded before others.
Fx. when database class driver must be registred before the URL for the database is validated.
- New feature - RangePropertyType where you can have two values (from and to) of type T (comparables) seperated by a divider.
- New feature - IPRangePropertyType where you can define an IP range.
- New feature - New marker interface, "ISubPropertyType" which indicates that a PropertyType has attributes which again is a PropertyType.
- Bugfix - When setting typed values, they where not always validate against PropertyType constraints. PropertyType.toString(name,T) do not call validate - IMPORTANT to get into Write your own PropertyTypes. Be aware not to use "toString(name,T)" when generating error message, otherwise a StackOverflowError occurs.
- Bugfix - PropertyChangeListener - fixed spelling mistake from "changeSuccessful" to "changeSuccessfull"
- Change - Cleanup in password encryption, by adding AbstractPasswordEncryption class.
- Change - In class "PasswordEncryption" method "isEncrypted" can no longer throw a "NullPointerException", but returns false instead.
- Change - Moved methods "getValidCount" and "getInvalidCount" from WebUtils to PropertyCollectionUtil.
- Change - LdapNamePropertyType, no take comma into consideration when appending baseDN, if it is present.
- Change - Method "isEncrypted" in PasswordEncryption interface now throws a PropertyException, if the password value is encrypted with another encryption method.
- Change - Method "setPropertyValidationHandler" added to PropertyCollection interface.
- Framework change - Have changed the definition of PropertyType<T>
I want to make the framework more java bean enabled, so all constraints for PropertyType has a getter and a setter.
To make sure that all PropertyTypes has an empty constructor
I had som user input that invalid PropertyType constraints was not caugth. This way ensure that the constraints are validated.
Posted by
2014-08-06