Questions tagged as 'collection'

2
answers

Sort Collection

I have a class called Object and inside it has a Collection of Events , summarizing it like this: public class Objeto{ private Collection<Evento> eventos; } In the Event class, I have my attributes and I have one of them: @Gette...
asked by 27.03.2017 / 18:51
1
answer

Problem adding an element to a Collection at runtime

In this method, I have to fill out a collection, regardless of its type. public void loadBeanCollectionItems(B bean, Collection collection, JSONArray collectionJson) { for(int index = 0; index < collectionJson.length(); index++) {...
asked by 27.10.2014 / 23:25
1
answer

Spring Bind's with Collections

I have not been able to find a solution on how to solve this question yet, after researching and searching I found something about how I can bind elements from my form to a collection in a POJO. But first I would like to explain the business rul...
asked by 14.10.2014 / 20:51
0
answers

Group Data - Collection Laravel

I need to group the data of a SQL function in Indicators and Data, but in my attempt to group, I'm only getting by date (Column), so the data repeats. Model: public static function makeCluster($date, $flag_negocio) { /** @var static $in...
asked by 04.11.2018 / 05:25
0
answers

What is capped collection?

Hello, I would like to know what Capped Collection is and what we use in MongoDB.     
asked by 23.04.2018 / 06:29
0
answers

Doubt about implementation of N: N relationship using C #

I'm having to make a relationship between N: N classes but storing objects in memory, follows the following relationship: Imadetheimplementationasfollowsandwouldliketoknowifitiscorrectornot.  ChemicalClasspublicclassChemical{publicintID{get;...
asked by 19.03.2018 / 12:37
1
answer

I can not retrieve a list of Firebase objects

I have a doubt that I found nowhere, I tested part and it worked out with doubts and the other did not. I'll explain, if anyone can help. The problem is as follows, if I have two classes called: Class Student { String key; String nameAlumn...
asked by 01.03.2018 / 14:28
1
answer

How to do a findOneAndUpdate in an array inside another array with Mongoose

I'm a beginner in Mongoose, I would like to make a change ( findOneAndUpdate ) in the second array address in the city field, I tried everything I knew and thank no one that can help. { _id: "573c5ed236c156cc2351d1ea", tit...
asked by 19.05.2016 / 20:48
1
answer

Inputs equal different outputs in Java

I'm experiencing a problem that I can not see a solution to. I'll try to describe what I'm doing, there are many code files, so it's the following. I am combining access policies. I have a certain policy that has some properties like (orga...
asked by 19.09.2015 / 19:45
0
answers

Are there any restrictions on jsf 2.2.5 with the Collection interface?

I'm running an application with jsf 2.2.5 . I used the h:dataTable component to display an object collection on the screen. I added to this component two h:commandLink , one that must perform one edit method and one remove method...
asked by 30.09.2014 / 03:16