@SuppressWarnings({ "unchecked", "rawtypes" })
    public List<Map> initNavigationData(List list,RuleNavigation navigation){
        if(navigation!=null)
        {
            HashMap hm = new HashMap();
            if(navigation.getText()!=null)
                hm.put(navigation.getText(), "text");
            if(navigation.getGroup()!=null)
                hm.put(navigation.getGroup(), "pid");
            if(navigation.getId()!=null)
                hm.put(navigation.getId(), "id");
            if(navigation.getUrl()!=null)
                hm.put(navigation.getUrl(), "url");
            if(navigation.getTarget()!=null)
                hm.put(navigation.getTarget(), "target");
            if(navigation.getIco()!=null)
                hm.put(navigation.getIco(), "ico");
            if(navigation.getNum()!=null)
                hm.put(navigation.getNum(), "num");            
            return setAttributeValue(list, hm);
        }else
            return null;
    }