class ConvertRecord {

    public static void fillTodoCustomPropertyInfo(List<Obligation> obligations, List<PropertyWithValueAndId> customProperties, SetMultimap<String, Integer> obligCustomPropertyMap) {
        int nextPropertyId = 0;
        for(Obligation oblig : obligations){
            if(oblig.isSetCustomPropertyToValue()){
                for(Map.Entry<String, String> entry : oblig.getCustomPropertyToValue().entrySet()){
                    customProperties.add(new PropertyWithValueAndId(nextPropertyId, entry.getKey(), entry.getValue()));
                    obligCustomPropertyMap.put(oblig.getId(), nextPropertyId);
                    nextPropertyId++;
                }
            }
        }
    }

    private  ConvertRecord();

}