Skip to content

Commit

Permalink
Automatically determine model classes from super class
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Sep 21, 2024
1 parent 3b5ca5e commit 21cda35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/org/computate/frFR/java/IndexerClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -2229,7 +2229,10 @@ else if(!StringUtils.contains(classeNomCanoniqueSuper, ".") && StringUtils.isNot
Integer partNumero = 1;

indexerStockerSolr(classeDoc, "classeEstAbstrait", classeQdox.isAbstract());
Boolean classeModele = indexerStockerSolr(classeDoc, "classeModele", regexTrouve("^" + i18nGlobale.getString(I18n.var_Modele) + ": \\s*(true)$", classeCommentaire));
//STUFF0
Boolean classeModele = indexerStockerSolr(classeDoc, "classeModele",
regexTrouve("^" + i18nGlobale.getString(I18n.var_Modele) + ": \\s*(true)$", classeCommentaire)
|| (BooleanUtils.isTrue((Boolean)classeSuperDoc.get("classePromesse_stored_boolean"))));
Boolean classeFiware = indexerStockerSolr(classeDoc, "classeFiware", regexTrouve("^Fiware: \\s*(true)$", classeCommentaire));
String classeModeleAlternatif = indexerStockerSolr(classeDoc, "classeModeleAlternatif", regexLangue(langueNomGlobale, "^" + i18nGlobale.getString(I18n.var_ModeleAlternatif), classeCommentaire, classeNomSimple));
Boolean classeApi = indexerStockerSolr(classeDoc, "classeApi", regexTrouve("^(classe)?Api: \\s*(true)$", classeCommentaire));
Expand Down

0 comments on commit 21cda35

Please sign in to comment.