Index: topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityAttributesUIModel.java diff -u topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityAttributesUIModel.java:1.7 topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityAttributesUIModel.java:1.8 --- topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityAttributesUIModel.java:1.7 Fri Sep 17 15:47:34 2004 +++ topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityAttributesUIModel.java Fri Sep 24 15:11:42 2004 @@ -23,9 +23,9 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * - * Mise a jour: $Date: 2004/09/17 15:47:34 $ + * Mise a jour: $Date: 2004/09/24 15:11:42 $ * par : $Author: mazelier $ */ @@ -272,7 +272,7 @@ }*/ - }else{ + }else if(att.getMaxMultiplicity()==1){ /*{ }*/ @@ -312,7 +312,9 @@ }*/ - if (att.getMaxMultiplicity()>1 || att.getMaxMultiplicity()==-1){ +// if (att.getMaxMultiplicity()>1 || att.getMaxMultiplicity()==-1){ + ObjectModelAttribute attRev = att.getReverseAttribute(); + if (attRev != null){ /*{ @@ -328,16 +330,16 @@ }*/ - ObjectModelAttribute attRev = att.getReverseAttribute(); - if (attRev != null && attRev.getMinMultiplicity()>=1){ -/*{ - - - false - - -}*/ - } +// ObjectModelAttribute attRev = att.getReverseAttribute(); +// if (attRev != null && attRev.getMinMultiplicity()>=1){ +// +// +// +// false +// +// +// +// } /*{