.getAnagraficaProperties().get(
UtilsXML.GRANT_TAG_INVESTIGATOR);
for (ValoreDTO vv : investigatorDTO)
{
EmbeddedLinkValue link = (EmbeddedLinkValue) vv
.getObject();
if (link != null)
{
if (link.getValueLink() != null
&& !link.getValueLink().isEmpty())
{
dtoRG.getAnagraficaProperties()
.put("principalinvestigator",
dtoNested
.getAnagraficaProperties()
.get("principalinvestigator")
);
}
else
{
dtoRG.getAnagraficaProperties()
.put("extprincipalinvestigator",
dtoNested
.getAnagraficaProperties()
.get("extprincipalinvestigator")
);
}
}
}
List<ValoreDTO> coinvestigatorDTO = dtoRG
.getAnagraficaProperties().get(
UtilsXML.GRANT_TAG_COINVESTIGATOR);
for (ValoreDTO vv : coinvestigatorDTO)
{
EmbeddedLinkValue link = (EmbeddedLinkValue) vv
.getObject();
if (link != null)
{
if (link.getValueLink() != null
&& !link.getValueLink().isEmpty())
{
dtoRG.getAnagraficaProperties()
.put("coinvestigator",
dtoNested
.getAnagraficaProperties()