cincamipd/src/main/java/org/ciedayap/ipd/IPD.java
public static IPD create(ArrayList<MeasurementProject> list)
    {
        if(list==null || list.isEmpty()) return null;
        
        IPD var=create();
        
        if(var==null || var.getProjects()==null || var.getProjects().getProjects()==null) return null;
        
        var.getProjects().setProjects(list);
        
        return var;
    }
/**
     * It creates a message contemplating the list of projects 
     * @param list List of projects
     * @return  An instance of IPD, null otherwise
     */
It creates a message contemplating the list of projects
@param list List of projects
@return  An instance of IPD, null otherwise
It creates a message contemplating the list of projects @param list List of projects @return An instance of IPD null otherwise
public static IPD create(ArrayList<MeasurementProject> list)
    {
        if(list==null || list.isEmpty()) return null;
        IPD var=create();
        if(var==null || var.getProjects()==null || var.getProjects().getProjects()==null) return null;
        var.getProjects().setProjects(list);
        return var;
    }
public static IPD create ( ArrayList < MeasurementProject > list ) { if ( list == null || list . isEmpty ( ) ) return null ; IPD var = create ( ) ; if ( var == null || var . getProjects ( ) == null || var . getProjects ( ) . getProjects ( ) == null ) return null ; var . getProjects ( ) . setProjects ( list ) ; return var ; }
It creates a message contemplating the list of projects
 @param list List of projects
 @return  An instance of IPD, null otherwise
It creates a message contemplating the list of projects @param list List of projects @return An instance of IPD null otherwise