/** * Add or replace an entry in the environment to generate. * * @param name * name of the entry * @param classToUse * implementation * @param fieldKeys * list of fields to set * @param refKeys * value to set to the fields * @return previous declaration for this name */ public String setApplicationEntry(final String name, final Class< ? > classToUse, String[] fieldKeys, String[] refKeys) { String xml = getObjectDeclWithFields(name, classToUse, fieldKeys, refKeys); return setApplicationEntry(name, xml); }
/** * Add or replace an entry in the environment to generate. * * @param name * name of the entry * @param classToUse * implementation * @param fieldKeys * list of fields to set * @param refKeys * value to set to the fields * @return previous declaration for this name */ public String setBlockEntry(final String name, final Class< ? > classToUse, final String[] fieldKeys, final String[] refKeys) { String xml = getObjectDeclWithFields(name, classToUse, fieldKeys, refKeys); return setBlockEntry(name, xml); }