public void translateToMap() { if (ProvClsFindIn != null) { Integer index = ProvClsFindIn.getIndex(); if (index != null) addInput("Index", index); addInput( "ProviderClass", ProvClsObjectHelper.toMap(ProvClsFindIn, new HashMap(), "ProviderClass") .get("ProviderClass")); } }