Entity Modeler has an EOQualifier format parser in it (that is not currently the one being used), and Cayenne has its expression parser. Both of these are open-source and could be easily adapted. In Entity Modeler, look in org.objectstyle.eomodeler.model.qualifiers.

ms

On Feb 1, 2008, at 2:40 PM, Lachlan Deck wrote:

On 02/02/2008, at 1:11 AM, Florijan Stamenkovic wrote:

I am thinking of implementing qualifier creating GUI bindings into the JBND library. The idea is that it would enable really easy creation of complex qualifiers that are based on many fields.

I have the binding part figured out, what I still need is a way to define how individual qualifications combine into a single qualifier (AND, OR, NOT, etc). So, assuming that I have all the qualification keys and values at hand, how can I easily define their structure? I've thought of making a String parsing mechanism, but that is more work then I can afford at the moment. Does someone have this already?

Yes I've recently built a parsing mechanism that's quite flexible. Contact me off list.

Btw, ideally it would be EOF agnostic. What I would do is define a general Qualifier class GUI binding mechanisms, and then provide a translator class that would create EOF qualifiers from that.

Yep.

with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to