Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Custom FilterFieldTypes #4

Open
pocketone opened this issue Sep 19, 2012 · 0 comments
Open

Custom FilterFieldTypes #4

pocketone opened this issue Sep 19, 2012 · 0 comments

Comments

@pocketone
Copy link

Currently a FilterField is only allowed to return a BigDecimal, Date or List of Strings.

Actually the only requirement for a return type should be to implement Comparable.

An open question is: What if we want to support other FilterOperands than greater than, lower than or equals. E.g. it could be desirable to implement "startsWith". Should compareTo return 0 (equals) in the case of a match?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant