See my other reply.
On 11 July 2014 10:08, sumit dhaniya <sumitdhaniya(a)gmail.com> wrote:
After restarting the server it started showing list in import
suggestions
but still it doesn't shows size and other list operation on the list's in
my object. For eg.
class A {
List<B> bList = new ArrayList<B>();
}
now it shows bList as a variable but it doesn't shows size and related
list function instead shows collection functions like contains etc.
Can't I use it like both a collection as well as List?
On Thu, Jul 10, 2014 at 7:53 PM, sumit dhaniya <sumitdhaniya(a)gmail.com>
wrote:
> I already tried building the project do I need to do something else to
> get java.util.List get listed in the import suggestions of my file because
> even when I removed java.lang.Number from the project imports it still
> shows it in the import suggestion in config of my rule files.
>
>
> On Thu, Jul 10, 2014 at 7:41 PM, sumit dhaniya <sumitdhaniya(a)gmail.com>
> wrote:
>
>> First I tried by adding java.util.List, it didn't showed as import type
>> in config of the file.
>> Then I thought it might not pick interfaces so I also
>> imported java.util.ArrayList but still it doesn't shows it.
>>
>> I tried building project but still no luck.
>>
>>
>> On Thu, Jul 10, 2014 at 7:15 PM, Michael Anstis <
>> michael.anstis(a)gmail.com> wrote:
>>
>>> You need to add it.
>>>
>>>
>>> On 10 July 2014 14:43, sumit dhaniya <sumitdhaniya(a)gmail.com> wrote:
>>>
>>>> It doesn't shows java.util.List in import suggestions
>>>>
>>>>
>>>> On Thu, Jul 10, 2014 at 7:08 PM, Michael Anstis <
>>>> michael.anstis(a)gmail.com> wrote:
>>>>
>>>>> Did you import java.util.List (in Project Editor's "Import
>>>>> suggestions" and then on the editor's "Config"
tab)?
>>>>>
>>>>>
>>>>> On 10 July 2014 13:10, sumit dhaniya <sumitdhaniya(a)gmail.com>
wrote:
>>>>>
>>>>>> listIf I use model classes created in JAVA with some
java.util.List
>>>>>> it identifies them as Collection(superclass of List) and then
list options
>>>>>> like size,first,last doesn't show up. Is there any way I can
force these
>>>>>> objects as type of List.
>>>>>>
>>>>>>
>>>>>> On Wed, Jul 9, 2014 at 11:52 PM, Michael Anstis <
>>>>>> michael.anstis(a)gmail.com> wrote:
>>>>>>
>>>>>>> Yes.
>>>>>>>
>>>>>>> Create a BRL Condition column and use an expression on the
List
>>>>>>> pattern.
>>>>>>>
>>>>>>> Sent on the move
>>>>>>> On 9 Jul 2014 19:21, "Sumit Dhaniya"
<sumitdhaniya(a)gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I know we can check size of list if we write free form
drl but is
>>>>>>>> it possible
>>>>>>>> to use size of the list as condition in guided decision
table?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context:
>>>>>>>>
http://drools.46999.n3.nabble.com/condition-on-size-of-list-tp4030283.html
>>>>>>>> Sent from the Drools: User forum mailing list archive at
>>>>>>>>
Nabble.com.
>>>>>>>> _______________________________________________
>>>>>>>> rules-users mailing list
>>>>>>>> rules-users(a)lists.jboss.org
>>>>>>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> rules-users mailing list
>>>>>>> rules-users(a)lists.jboss.org
>>>>>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> rules-users mailing list
>>>>>> rules-users(a)lists.jboss.org
>>>>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> rules-users mailing list
>>>>> rules-users(a)lists.jboss.org
>>>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> rules-users mailing list
>>>> rules-users(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>
>>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users