Index: lutingenerator/src/java/org/codelutin/generator/Util.java diff -u lutingenerator/src/java/org/codelutin/generator/Util.java:1.18 lutingenerator/src/java/org/codelutin/generator/Util.java:1.19 --- lutingenerator/src/java/org/codelutin/generator/Util.java:1.18 Fri Jun 10 10:02:35 2005 +++ lutingenerator/src/java/org/codelutin/generator/Util.java Fri Jun 10 17:02:16 2005 @@ -17,7 +17,7 @@ *@author Benjamin Poussin * * Copyright Code Lutin - *@version $Revision: 1.18 $ Mise a jour: $Date: 2005/06/10 10:02:35 $ par : + *@version $Revision: 1.19 $ Mise a jour: $Date: 2005/06/10 17:02:16 $ par : * $Author: thimel $ */ @@ -107,10 +107,10 @@ } /** - * Indicates if the specified attribute has a basic type (byte, boolean, ...) - * @return true if the atribute has a basic type + * Indicates if the specified attribute has a primitive type (byte, boolean, ...) + * @return true if the atribute has a primitive type */ - public static boolean isBasicAttributeType(ObjectModelAttribute attribute) { + public static boolean isPrimitiveAttributeType(ObjectModelAttribute attribute) { if (isNMultiplicity(attribute)) return false; String type = attribute.getType(); @@ -202,7 +202,7 @@ /** * @return true is the multiplicity of the given attribute is exactly 1 */ - public static boolean is1Multiplicity(ObjectModelAttribute attribute) { + public static boolean isOneMultiplicity(ObjectModelAttribute attribute) { if (attribute == null) return false; return ((attribute.getMinMultiplicity() == 1) && (attribute.getMaxMultiplicity() == 1));