Author: tchemit Date: 2010-11-29 10:02:30 +0100 (Mon, 29 Nov 2010) New Revision: 2159 Url: http://nuiton.org/repositories/revision/topia/2159 Log: prepare release 2.5 Modified: trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/EntityTransformer.java trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/ServiceTransformer.java trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaGeneratorUtil.java trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaStereoTypes.java trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaTagValues.java trunk/topia-persistence/src/test/java/org/nuiton/topia/TestHelper.java Modified: trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/EntityTransformer.java =================================================================== --- trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/EntityTransformer.java 2010-11-28 23:56:18 UTC (rev 2158) +++ trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/EntityTransformer.java 2010-11-29 09:02:30 UTC (rev 2159) @@ -1361,7 +1361,7 @@ /** * - * @deprecated since 2.4.4, use the + * @deprecated since 2.5, use the * {@link ObjectModelTransformerToJava#generateI18nBlock(ObjectModelClassifier, ObjectModelClassifier, String)} */ @Deprecated @@ -1383,7 +1383,7 @@ /** * - * @deprecated since 2.4.4, use the {@link ObjectModelTransformerToJava#addI18n(StringBuilder, String, String)} + * @deprecated since 2.5, use the {@link ObjectModelTransformerToJava#addI18n(StringBuilder, String, String)} */ @Deprecated protected void addI18n(StringBuilder buffer, String i18nPrefix, Modified: trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/ServiceTransformer.java =================================================================== --- trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/ServiceTransformer.java 2010-11-28 23:56:18 UTC (rev 2158) +++ trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/ServiceTransformer.java 2010-11-29 09:02:30 UTC (rev 2159) @@ -199,7 +199,7 @@ * flag to not use any logger code inside service method, globally set * for all the incoming model. * - * @since 2.4.4 + * @since 2.5 */ protected boolean noLog; @@ -787,7 +787,7 @@ * @param model model where to tagvalue can be also set * @return {@code true} if a commit must be generated after the executeXXX invocation * @see TopiaTagValues#TAG_DO_COMMIT - * @since 2.4.4 + * @since 2.5 */ protected boolean isCommit(ObjectModelOperation op, ObjectModel model) { boolean needCommit = false; Modified: trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaGeneratorUtil.java =================================================================== --- trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaGeneratorUtil.java 2010-11-28 23:56:18 UTC (rev 2158) +++ trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaGeneratorUtil.java 2010-11-29 09:02:30 UTC (rev 2159) @@ -151,7 +151,7 @@ * * @param element l'élément à tester * @return le type de persitence pour l'élément donné. - * @deprecated since 2.4.4, prefer use the method {@link #getPersistenceType(ObjectModelClassifier)} + * @deprecated since 2.5, prefer use the method {@link #getPersistenceType(ObjectModelClassifier)} */ @Deprecated public static String getPersistenceType(ObjectModelElement element) { @@ -168,7 +168,7 @@ * * @param classifier l'élément à tester * @return le type de persitence pour l'élément donné. - * @since 2.4.4 + * @since 2.5 */ public static String getPersistenceType(ObjectModelClassifier classifier) { String tag = getPersistenceTypeTagValue(classifier); @@ -181,7 +181,7 @@ /** * @param attr * @return - * @deprecated since 2.4.4, prefer use the methode {@link #getReverseDbName(ObjectModelAttribute)} + * @deprecated since 2.5, prefer use the methode {@link #getReverseDbName(ObjectModelAttribute)} */ @Deprecated public static String getReverseDBName(ObjectModelAttribute attr) { @@ -196,7 +196,7 @@ * * @param attr the attribute to seek * @return the value of the reverse name - * @since 2.4.4 + * @since 2.5 */ public static String getReverseDbName(ObjectModelAttribute attr) { if (attr.getReverseAttribute() != null) { @@ -212,7 +212,7 @@ * * @param element l'élément à tester * @return le nom de table - * @deprecated since 2.4.4, prefer use the method {@link #getDbName(ObjectModelElement)} + * @deprecated since 2.5, prefer use the method {@link #getDbName(ObjectModelElement)} */ @Deprecated public static String getDBName(ObjectModelElement element) { @@ -244,7 +244,7 @@ * @param element l'élément à tester * @param model le modele utilisé * @return le nom du schema ou null - * @deprecated since 2.4.4, prefer use the method {@link #getDbSchemaNameTagValue(ObjectModelClassifier, ObjectModel)} or {@link #getDbSchemaNameTagValue(ObjectModelAttribute, ObjectModel)} + * @deprecated since 2.5, prefer use the method {@link #getDbSchemaNameTagValue(ObjectModelClassifier, ObjectModel)} or {@link #getDbSchemaNameTagValue(ObjectModelAttribute, ObjectModel)} */ @Deprecated public static String getSchemaName(ObjectModelElement element, @@ -259,7 +259,7 @@ * @param element l'élément à tester * @param model le modele utilisé * @return le prefix i18n ou <code>null</code> si non spécifié - * @deprecated since 2.4.4, prefer use the {@link JavaGeneratorUtil#getI18nPrefixTagValue(ObjectModelElement, ObjectModel)} + * @deprecated since 2.5, prefer use the {@link JavaGeneratorUtil#getI18nPrefixTagValue(ObjectModelElement, ObjectModel)} */ @Deprecated public static String getI18nPrefix(ObjectModelElement element, @@ -275,7 +275,7 @@ * @param model le modele utilisé * @return {@code true} si le tag value trouvé dans le modèle, {@code false} * sinon. - * @deprecated since 2.4.4, use now the method {@link #shouldGenerateOperatorForDAOHelper(ObjectModel)} + * @deprecated since 2.5, use now the method {@link #shouldGenerateOperatorForDAOHelper(ObjectModel)} */ @Deprecated public static boolean shouldgenerateOperatorForDAOHelper( @@ -295,7 +295,7 @@ * @param model le modele utilisé * @return {@code true} si le tag value trouvé dans le modèle, {@code false} * sinon. - * @since 2.4.4 + * @since 2.5 */ public static boolean shouldGenerateOperatorForDAOHelper(ObjectModel model) { String tagValue = getGenerateOperatorForDAOHelperTagValue(model); @@ -313,7 +313,7 @@ * @return {@code true} si le tag value trouvé dans le modèle, {@code false} * sinon. * @since 2.4.1 - * @deprecated since 2.4.4, prefer use the method {@link #shouldGenerateStandaloneEnumForDAOHelper(ObjectModel)} + * @deprecated since 2.5, prefer use the method {@link #shouldGenerateStandaloneEnumForDAOHelper(ObjectModel)} */ @Deprecated public static boolean shouldGnerateStandaloneEnumForDAOHelper( @@ -334,7 +334,7 @@ * @param model le modele utilisé * @return {@code true} si le tag value trouvé dans le modèle, {@code false} * sinon. - * @since 2.4.4 + * @since 2.5 */ public static boolean shouldGenerateStandaloneEnumForDAOHelper(ObjectModel model) { String tagValue = getGenerateStandaloneEnumForDAOHelperTagValue(model); @@ -445,7 +445,7 @@ * * @param model le modele utilisé * @return le texte du copyright ou null$ - * @deprecated since 2.4.4 never use anywhere + * @deprecated since 2.5 never use anywhere */ @Deprecated public static String getCopyright(Model model) { @@ -1038,7 +1038,7 @@ * @param classifier classifier to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_FACADE - * @since 2.4.4 + * @since 2.5 */ public static boolean hasFacadeStereotype(ObjectModelClassifier classifier) { return classifier.hasStereotype(TopiaStereoTypes.STEREOTYPE_FACADE); @@ -1051,7 +1051,7 @@ * @param classifier classifier to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_ENTITY - * @since 2.4.4 + * @since 2.5 */ public static boolean hasEntityStereotype(ObjectModelClassifier classifier) { return classifier.hasStereotype(TopiaStereoTypes.STEREOTYPE_ENTITY); @@ -1065,7 +1065,7 @@ * @param attribute attribute to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_ENTITY - * @since 2.4.4 + * @since 2.5 */ public static boolean hasEntityStereotype(ObjectModelAttribute attribute) { return attribute.hasStereotype(TopiaStereoTypes.STEREOTYPE_ENTITY); @@ -1078,7 +1078,7 @@ * @param classifier classifier to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_DTO - * @since 2.4.4 + * @since 2.5 */ public static boolean hasDtoStereotype(ObjectModelClassifier classifier) { return classifier.hasStereotype(TopiaStereoTypes.STEREOTYPE_DTO); @@ -1091,7 +1091,7 @@ * @param classifier classifier to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_SERVICE - * @since 2.4.4 + * @since 2.5 */ public static boolean hasServiceStereotype(ObjectModelClassifier classifier) { return classifier.hasStereotype(TopiaStereoTypes.STEREOTYPE_SERVICE); @@ -1104,7 +1104,7 @@ * @param classifier classifier to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_DAO - * @since 2.4.4 + * @since 2.5 */ public static boolean hasDaoStereotype(ObjectModelClassifier classifier) { return classifier.hasStereotype(TopiaStereoTypes.STEREOTYPE_DAO); @@ -1117,7 +1117,7 @@ * @param operation operation to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_DAO - * @since 2.4.4 + * @since 2.5 */ public static boolean hasDaoStereotype(ObjectModelOperation operation) { return operation.hasStereotype(TopiaStereoTypes.STEREOTYPE_DAO); @@ -1130,7 +1130,7 @@ * @param attribute attribute to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_UNIQUE - * @since 2.4.4 + * @since 2.5 */ public static boolean hasUniqueStereotype(ObjectModelAttribute attribute) { return attribute.hasStereotype(TopiaStereoTypes.STEREOTYPE_UNIQUE); @@ -1143,7 +1143,7 @@ * @param attribute attribute to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_PRIMARYKAY - * @since 2.4.4 + * @since 2.5 */ public static boolean hasPrimaryKeyStereotype(ObjectModelAttribute attribute) { return attribute.hasStereotype(TopiaStereoTypes.STEREOTYPE_PRIMARYKAY); @@ -1156,8 +1156,8 @@ * @param attribute attribute to test * @return {@code true} if stereotype was found, {@code false otherwise} * @see TopiaStereoTypes#STEREOTYPE_ARRAY - * @since 2.4.4 - * @deprecated since 2.4.4 , only BeanTransformer use it and it is a deprecated transformer, will be remove in version 3.0 + * @since 2.5 + * @deprecated since 2.5 , only BeanTransformer use it and it is a deprecated transformer, will be remove in version 3.0 */ @Deprecated public static boolean hasArrayStereotype(ObjectModelAttribute attribute) { @@ -1172,7 +1172,7 @@ * @param classifier classifier to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_PERSISTENCE_TYPE - * @since 2.4.4 + * @since 2.5 */ public static String getPersistenceTypeTagValue(ObjectModelClassifier classifier) { String value = findTagValue(TopiaTagValues.TAG_PERSISTENCE_TYPE, classifier, null); @@ -1187,7 +1187,7 @@ * @param element classifier to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_DB_NAME - * @since 2.4.4 + * @since 2.5 */ public static String getDbNameTagValue(ObjectModelElement element) { String value = findTagValue(TopiaTagValues.TAG_DB_NAME, element, null); @@ -1203,7 +1203,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_SCHEMA_NAME - * @since 2.4.4 + * @since 2.5 */ public static String getDbSchemaNameTagValue(ObjectModelClassifier classifier, ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_SCHEMA_NAME, classifier, model); @@ -1219,7 +1219,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_SCHEMA_NAME - * @since 2.4.4 + * @since 2.5 */ public static String getDbSchemaNameTagValue(ObjectModelAttribute attribute, ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_SCHEMA_NAME, attribute, model); @@ -1234,7 +1234,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_LENGTH - * @since 2.4.4 + * @since 2.5 */ public static String getLengthTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_LENGTH, attribute, null); @@ -1249,7 +1249,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_ANNOTATION - * @since 2.4.4 + * @since 2.5 */ public static String getAnnotationTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_ANNOTATION, attribute, null); @@ -1265,7 +1265,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_ACCESS - * @since 2.4.4 + * @since 2.5 */ public static String getAccessTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_ACCESS, attribute, null); @@ -1280,7 +1280,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_NATURAL_ID - * @since 2.4.4 + * @since 2.5 */ public static String getNaturalIdTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_NATURAL_ID, attribute, null); @@ -1295,7 +1295,7 @@ * @param classifier classifier to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_NATURAL_ID_MUTABLE - * @since 2.4.4 + * @since 2.5 */ public static String getNaturalIdMutableTagValue(ObjectModelClassifier classifier) { String value = findTagValue(TopiaTagValues.TAG_NATURAL_ID_MUTABLE, classifier, null); @@ -1310,7 +1310,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_INVERSE - * @since 2.4.4 + * @since 2.5 */ public static String getInverseTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_INVERSE, attribute, null); @@ -1325,7 +1325,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_LAZY - * @since 2.4.4 + * @since 2.5 */ public static String getLazyTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_LAZY, attribute, null); @@ -1340,7 +1340,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_FETCH - * @since 2.4.4 + * @since 2.5 */ public static String getFetchTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_FETCH, attribute, null); @@ -1355,7 +1355,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_ORDER_BY - * @since 2.4.4 + * @since 2.5 */ public static String getOrderByTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_ORDER_BY, attribute, null); @@ -1370,7 +1370,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_NOT_NULL - * @since 2.4.4 + * @since 2.5 */ public static String getNotNullTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_NOT_NULL, attribute, null); @@ -1386,7 +1386,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_PROXY_INTERFACE - * @since 2.4.4 + * @since 2.5 */ public static String getProxyInterfaceTagValue(ObjectModelClassifier classifier, ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_PROXY_INTERFACE, classifier, model); @@ -1398,7 +1398,7 @@ * * @param classifier the classifier to test * @return {@code true} if there is at least one security tag value on the given class - * @since 2.4.4 + * @since 2.5 */ public static boolean isClassWithSecurity(ObjectModelClassifier classifier) { return StringUtils.isNotEmpty(getSecurityCreateTagValue(classifier)) || @@ -1415,7 +1415,7 @@ * @param classifier classifier to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_SECURITY_CREATE - * @since 2.4.4 + * @since 2.5 */ public static String getSecurityCreateTagValue(ObjectModelClassifier classifier) { String value = findTagValue(TopiaTagValues.TAG_SECURITY_CREATE, classifier, null); @@ -1430,7 +1430,7 @@ * @param classifier classifier to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_SECURITY_DELETE - * @since 2.4.4 + * @since 2.5 */ public static String getSecurityDeleteTagValue(ObjectModelClassifier classifier) { String value = findTagValue(TopiaTagValues.TAG_SECURITY_DELETE, classifier, null); @@ -1445,7 +1445,7 @@ * @param classifier classifier to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_SECURITY_LOAD - * @since 2.4.4 + * @since 2.5 */ public static String getSecurityLoadTagValue(ObjectModelClassifier classifier) { String value = findTagValue(TopiaTagValues.TAG_SECURITY_LOAD, classifier, null); @@ -1460,7 +1460,7 @@ * @param classifier classifier to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_SECURITY_UPDATE - * @since 2.4.4 + * @since 2.5 */ public static String getSecurityUpdateTagValue(ObjectModelClassifier classifier) { String value = findTagValue(TopiaTagValues.TAG_SECURITY_UPDATE, classifier, null); @@ -1476,7 +1476,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_NOT_GENERATE_TO_STRING - * @since 2.4.4 + * @since 2.5 */ public static String getNotGenerateToStringTagValue(ObjectModelClass clazz, ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_NOT_GENERATE_TO_STRING, clazz, model); @@ -1492,7 +1492,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_SORT_ATTRIBUTE - * @since 2.4.4 + * @since 2.5 */ public static String getSortAttributeTagValue(ObjectModelClass clazz, ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_SORT_ATTRIBUTE, clazz, model); @@ -1507,7 +1507,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_GENERATE_STANDALONE_ENUM_FOR_DAO_HELPER - * @since 2.4.4 + * @since 2.5 */ public static String getGenerateStandaloneEnumForDAOHelperTagValue(ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_GENERATE_STANDALONE_ENUM_FOR_DAO_HELPER, null, model); @@ -1521,7 +1521,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_GENERATE_OPERATOR_FOR_DAO_HELPER - * @since 2.4.4 + * @since 2.5 */ public static String getGenerateOperatorForDAOHelperTagValue(ObjectModel model) { @@ -1537,7 +1537,7 @@ * @param attribute attribute to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_TYPE - * @since 2.4.4 + * @since 2.5 */ public static String getTypeTagValue(ObjectModelAttribute attribute) { String value = findTagValue(TopiaTagValues.TAG_TYPE, attribute, null); @@ -1552,7 +1552,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_EXCEPTION_CLASS - * @since 2.4.4 + * @since 2.5 */ public static String getExceptionClassTagValue(ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_EXCEPTION_CLASS, null, model); @@ -1567,7 +1567,7 @@ * @param operation operation to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_TRANSACTION - * @since 2.4.4 + * @since 2.5 */ public static String getTransactionTagValue(ObjectModelOperation operation) { String value = findTagValue(TopiaTagValues.TAG_TRANSACTION, operation, null); @@ -1582,7 +1582,7 @@ * @param interfaze operation to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_TRANSACTION - * @since 2.4.4 + * @since 2.5 */ public static String getTransactionTagValue(ObjectModelInterface interfaze) { String value = findTagValue(TopiaTagValues.TAG_TRANSACTION, interfaze, null); @@ -1598,7 +1598,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_DO_COMMIT - * @since 2.4.4 + * @since 2.5 */ public static String getDoCommitTagValue(ObjectModelOperation operation, ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_DO_COMMIT, operation, model); @@ -1613,7 +1613,7 @@ * @param operation operation to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_ERROR_ARGS - * @since 2.4.4 + * @since 2.5 */ public static String getErrorArgsTagValue(ObjectModelOperation operation) { String value = findTagValue(TopiaTagValues.TAG_ERROR_ARGS, operation, null); @@ -1629,7 +1629,7 @@ * @param model model to seek * @return the none empty value of the found tag value or {@code null} if not found nor empty. * @see TopiaTagValues#TAG_NO_LOG_IN_SERVICE - * @since 2.4.4 + * @since 2.5 */ public static String getNoLogInServiceTagValue(ObjectModelInterface interfaze, ObjectModel model) { String value = findTagValue(TopiaTagValues.TAG_NO_LOG_IN_SERVICE, interfaze, model); Modified: trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaStereoTypes.java =================================================================== --- trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaStereoTypes.java 2010-11-28 23:56:18 UTC (rev 2158) +++ trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaStereoTypes.java 2010-11-29 09:02:30 UTC (rev 2159) @@ -35,7 +35,7 @@ * All extra stereotypes usable in topia generators. * * @author tchemit <chemit@codelutin.com> - * @since 2.4.4 + * @since 2.5 */ public interface TopiaStereoTypes extends EugeneStereoTypes { @@ -43,7 +43,7 @@ * Stéréotype pour les attributs considérés comme des tableaux. * * @see TopiaGeneratorUtil#hasArrayStereotype(ObjectModelAttribute) - * @deprecated since 2.4.4 : only BeanTransformer use it and it is a deprecated transformer, will be remove in version 3.0 + * @deprecated since 2.5 : only BeanTransformer use it and it is a deprecated transformer, will be remove in version 3.0 */ @Deprecated @StereotypeDefinition(target = ObjectModelClassifier.class) @@ -52,7 +52,7 @@ /** * Stéréotype pour les interfaces devant être générées sous forme de facades. * - * @deprecated since 2.4.4 : nobydy use it, will be remove in version 3.0 + * @deprecated since 2.5 : nobydy use it, will be remove in version 3.0 */ @Deprecated String STEREOTYPE_FACADE = "facade"; Modified: trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaTagValues.java =================================================================== --- trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaTagValues.java 2010-11-28 23:56:18 UTC (rev 2158) +++ trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/TopiaTagValues.java 2010-11-29 09:02:30 UTC (rev 2159) @@ -41,15 +41,15 @@ * All extra tag values usable in topia generators. * * @author tchemit <chemit@codelutin.com> - * @since 2.4.4 + * @since 2.5 */ public interface TopiaTagValues extends EugeneTagValues { /** * Tag pour ajouter specifier le copyright d'un fichier. * - * @since 2.4.4 - * @deprecated since 2.4.4 only use in a deprecated method {@link TopiaGeneratorUtil#getCopyright(Model)} + * @since 2.5 + * @deprecated since 2.5 only use in a deprecated method {@link TopiaGeneratorUtil#getCopyright(Model)} */ @Deprecated String TAG_COPYRIGHT = "copyright"; @@ -59,7 +59,7 @@ * * @see TopiaGeneratorUtil#getPersistenceType(ObjectModelClassifier) * @see TopiaGeneratorUtil#getPersistenceTypeTagValue(ObjectModelClassifier) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelClassifier.class}) String TAG_PERSISTENCE_TYPE = "persistenceType"; @@ -79,7 +79,7 @@ * * @see TopiaGeneratorUtil#getDbSchemaNameTagValue(ObjectModelClassifier, ObjectModel) * @see TopiaGeneratorUtil#getDbSchemaNameTagValue(ObjectModelAttribute, ObjectModel) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class, ObjectModelClassifier.class, ObjectModelAttribute.class}) String TAG_SCHEMA_NAME = "dbSchema"; @@ -88,7 +88,7 @@ * Tag pour spécifier la caractère embed-xml d'une association. * * @see TopiaGeneratorUtil#getPersistenceTypeTagValue(ObjectModelClassifier) - * @deprecated @since 2.4.4, use nowhere, will be remove soon + * @deprecated @since 2.5, use nowhere, will be remove soon */ @Deprecated String TAG_EMBED_XML = "embedXml"; @@ -97,7 +97,7 @@ * Tag pour la taille du champ en BD. * * @see TopiaGeneratorUtil#getLengthTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_LENGTH = "length"; @@ -106,7 +106,7 @@ * Tag pour ajouter une annotation à un champ. * * @see TopiaGeneratorUtil#getAnnotationTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_ANNOTATION = "annotation"; @@ -115,7 +115,7 @@ * Tag pour specfier le type d'acces a un champ. * * @see TopiaGeneratorUtil#getAccessTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_ACCESS = "access"; @@ -125,7 +125,7 @@ * * @see TopiaGeneratorUtil#getNaturalIdTagValue(ObjectModelAttribute) * @see TopiaGeneratorUtil#isNaturalId(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_NATURAL_ID = "naturalId"; @@ -135,7 +135,7 @@ * * @see TopiaGeneratorUtil#getNaturalIdMutableTagValue(ObjectModelClassifier) * @see TopiaGeneratorUtil#isNaturalIdMutable(ObjectModelClass) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelClass.class}) String TAG_NATURAL_ID_MUTABLE = "naturalIdMutable"; @@ -148,7 +148,7 @@ * l'ordre alphabétique. * * @see TopiaGeneratorUtil#getInverseTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_INVERSE = "inverse"; @@ -157,7 +157,7 @@ * Tag pour spécifier la caractère lazy d'une association multiple. * * @see TopiaGeneratorUtil#getLazyTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_LAZY = "lazy"; @@ -166,7 +166,7 @@ * Tag pour spécifier la caractère fetch d'une association multiple. * * @see TopiaGeneratorUtil#getFetchTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_FETCH = "fetch"; @@ -175,7 +175,7 @@ * Tag pour spécifier la caractère order-by d'une association multiple. * * @see TopiaGeneratorUtil#getOrderByTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_ORDER_BY = "orderBy"; @@ -184,7 +184,7 @@ * Tag pour spécifier la caractère not-null d'un attribut. * * @see TopiaGeneratorUtil#getNotNullTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_NOT_NULL = "notNull"; @@ -198,7 +198,7 @@ * "none" > laisse la configuration par defaut d'hibernate * * @see TopiaGeneratorUtil#getPersistenceTypeTagValue(ObjectModelClassifier) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class, ObjectModelClassifier.class}) String TAG_PROXY_INTERFACE = "hibernateProxyInterface"; @@ -207,7 +207,7 @@ * Tag pour spécifier le permissions à la création. * * @see TopiaGeneratorUtil#getSecurityCreateTagValue(ObjectModelClassifier) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelClassifier.class}) String TAG_SECURITY_CREATE = "securityCreate"; @@ -216,7 +216,7 @@ * Tag pour spécifier le permissions au chargement. * * @see TopiaGeneratorUtil#getSecurityLoadTagValue(ObjectModelClassifier) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelClassifier.class}) String TAG_SECURITY_LOAD = "securityLoad"; @@ -225,7 +225,7 @@ * Tag pour spécifier le permissions à la mise à jour. * * @see TopiaGeneratorUtil#getSecurityUpdateTagValue(ObjectModelClassifier) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelClassifier.class}) String TAG_SECURITY_UPDATE = "securityUpdate"; @@ -234,7 +234,7 @@ * Tag pour spécifier le permissions à la suppression. * * @see TopiaGeneratorUtil#getSecurityDeleteTagValue(ObjectModelClassifier) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelClassifier.class}) String TAG_SECURITY_DELETE = "securityDelete"; @@ -244,7 +244,7 @@ * * @see TopiaGeneratorUtil#getNotGenerateToStringTagValue(ObjectModelClass,ObjectModel) * @see TopiaGeneratorUtil#generateToString(ObjectModelClass, ObjectModel) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class, ObjectModelClass.class}) String TAG_NOT_GENERATE_TO_STRING = "notGenerateToString"; @@ -254,7 +254,7 @@ * * @see TopiaGeneratorUtil#getSortAttributeTagValue(ObjectModelClass, ObjectModel) * @see TopiaGeneratorUtil#sortAttribute(ObjectModelClass, ObjectModel) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class, ObjectModelClassifier.class}) String TAG_SORT_ATTRIBUTE = "sortAttribute"; @@ -264,7 +264,7 @@ * * @see TopiaGeneratorUtil#getGenerateOperatorForDAOHelperTagValue(ObjectModel) * @see TopiaGeneratorUtil#shouldGenerateOperatorForDAOHelper(ObjectModel) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class}) String TAG_GENERATE_OPERATOR_FOR_DAO_HELPER = "generateOperatorForDAOHelper"; @@ -277,7 +277,7 @@ * * @see TopiaGeneratorUtil#getGenerateStandaloneEnumForDAOHelperTagValue(ObjectModel) * @see TopiaGeneratorUtil#shouldGenerateStandaloneEnumForDAOHelper(ObjectModel) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class}) String TAG_GENERATE_STANDALONE_ENUM_FOR_DAO_HELPER = "generateStandaloneEnumForDAOHelper"; @@ -286,7 +286,7 @@ * Tag pour spécifier le type d'une propriété dans le mapping hibernate. * * @see TopiaGeneratorUtil#getTypeTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModelAttribute.class}) String TAG_TYPE = "type"; @@ -295,7 +295,7 @@ * To use the legacy DAO generation. * * @see TopiaGeneratorUtil#getTypeTagValue(ObjectModelAttribute) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class}) String TAG_USE_LEGACY_DAO = "useLegacyDAO"; @@ -337,7 +337,7 @@ * * @see ServiceTransformer * @see TopiaGeneratorUtil#getDoCommitTagValue(ObjectModelOperation, ObjectModel) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class, ObjectModelOperation.class}) String TAG_DO_COMMIT = "doCommit"; @@ -362,7 +362,7 @@ * * @see ServiceTransformer * @see TopiaGeneratorUtil#getNoLogInServiceTagValue(ObjectModelInterface, ObjectModel) - * @since 2.4.4 + * @since 2.5 */ @TagValueDefinition(target = {ObjectModel.class, ObjectModelInterface.class}) String TAG_NO_LOG_IN_SERVICE = "noLogInService"; Modified: trunk/topia-persistence/src/test/java/org/nuiton/topia/TestHelper.java =================================================================== --- trunk/topia-persistence/src/test/java/org/nuiton/topia/TestHelper.java 2010-11-28 23:56:18 UTC (rev 2158) +++ trunk/topia-persistence/src/test/java/org/nuiton/topia/TestHelper.java 2010-11-29 09:02:30 UTC (rev 2159) @@ -38,7 +38,7 @@ * Helper for all topia tests. * * @author tchemit <chemit@codelutin.com> - * @since 2.4.4 + * @since 2.5 */ @Ignore // this is not a test :)