private static int getIdFromString(String idMeta) {
        String data;
        if(idMeta.contains(":")) {
            String[] s = idMeta.split(":");
            if(s.length == 0) {
                data = idMeta.replace(":", "");
            } else {
                data = s[0];
            }
        } else {
            data = idMeta;
        }
        return Integer.valueOf(data);
    }