private static boolean isValidPropertyClass ( final PropertyDescriptor _property ) { final Class type = _property . getPropertyType ( ) ; return Number . class . isAssignableFrom ( type ) || type == String . class || Date . class . isAssignableFrom ( type ) || type == Boolean . class ; }
Checks if a property s type is valid to be included in the report .