See section 5.7.6 of the Drools Expert manual:
http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_single/index.html#d0e3418
You cannot directly import the declared types into your code, and not at all into your development environment. What you need to do, is to use the generic
class ord.drools.definition.type.FactType to represent the declared datatype in java.
Example 5.23 shows a very specific example that fully details how this is done. All get/set functions will be performed using FactType.get() and FactType.set()
instance methods.
From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
On Behalf Of Manohar Kokkula
Sent: Tuesday, November 22, 2011 6:02 AM
To: Rules Users List
Subject: [rules-users] How to import Declarative model from Guvnor to eclispe ?
Hi to All,
I am new to Guvnor.
I want to import Declarative model from Guvnor into Eclipse. How can I declare it in
eclipse?.
I used API's from BRMS userguide, but i am unable to get it.
Please guide me in proper way.
Thanks,
Manohar Kokkula
Mailto: manohar.kokkula@tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you