adminentities.add(ae.getAdminEntity(getCAId()));
adminentities.add(ae.getAdminEntity(getCaId()));
    public AdminGroup getAdminGroup() {        ArrayList accessrules = new ArrayList();        ArrayList adminentities = new ArrayList();        Iterator i = null;        i = getAdminEntities().iterator();        while (i.hasNext()) {            AdminEntityDataLocal ae = (AdminEntityDataLocal) i.next();            adminentities.add(ae.getAdminEntity(getCAId()));        }        i = getAccessRules().iterator();        while (i.hasNext()) {            AccessRulesDataLocal ar = (AccessRulesDataLocal) i.next();            accessrules.add(ar.getAccessRuleObject());        }        return new AdminGroup(getPK().intValue(), getAdminGroupName(), getCAId(), accessrules, adminentities);    } // getAdminGroup