for (CrisComponentsService service : serviceComponent)
{
for (ICRISComponent component : service.getComponents()
.values())
{
RelationConfiguration relationConfiguration = component
.getRelationConfiguration();
if (Item.class.isAssignableFrom(relationConfiguration.getRelationClass()))
{
Integer key = CrisConstants.getEntityType(component.getTarget());
String query = relationConfiguration.getQuery();
if(!mapRelationFields.containsKey(key)) {
List<String> rels = new LinkedList<String>();
rels.add(query);
mapRelationFields.put(key, rels);
}