[jboss-cvs] JBossAS SVN: r82594 - in projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator: en-US and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Jan 4 17:28:47 EST 2009


Author: irooskov at redhat.com
Date: 2009-01-04 17:28:47 -0500 (Sun, 04 Jan 2009)
New Revision: 82594

Added:
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Author_Group.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Book_Info.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Checkconstraints.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Defineconstraints.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Feedback.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Hibernate_Validator_Reference_Guide_CP03_FP01.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Introduction.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Preface.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Revision_History.pot
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/extras/
Modified:
   projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/en-US/Book_Info.xml
Log:
Updating POT files

Modified: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/en-US/Book_Info.xml
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/en-US/Book_Info.xml	2009-01-04 22:27:44 UTC (rev 82593)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/en-US/Book_Info.xml	2009-01-04 22:28:47 UTC (rev 82594)
@@ -8,7 +8,7 @@
 	<productname>JBoss Enterprise Application Platform</productname>
 	<productnumber>4.3</productnumber>
 	<edition>1.0</edition>
-	<pubsnumber>2</pubsnumber>
+	<pubsnumber>3</pubsnumber>
 	<pubdate>November, 2008</pubdate>
 	<abstract>
 		<para>	

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Author_Group.pot
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Author_Group.pot	                        (rev 0)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Author_Group.pot	2009-01-04 22:28:47 UTC (rev 82594)
@@ -0,0 +1,29 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2009-01-04 22:28+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: author
+#: Author_Group.xml:6
+#, no-c-format
+msgid "<firstname>Hibernate Development Team</firstname> <surname></surname>"
+msgstr ""
+
+#. Tag: editor
+#: Author_Group.xml:10
+#, no-c-format
+msgid ""
+"<firstname>Red Hat Inc. Engineering Content Services</firstname> <surname></"
+"surname>"
+msgstr ""

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Book_Info.pot
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Book_Info.pot	                        (rev 0)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Book_Info.pot	2009-01-04 22:28:47 UTC (rev 82594)
@@ -0,0 +1,49 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2009-01-04 22:28+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Book_Info.xml:6
+#, no-c-format
+msgid "Hibernate Validator Reference Guide CP03 FP01"
+msgstr ""
+
+#. Tag: subtitle
+#: Book_Info.xml:7
+#, no-c-format
+msgid ""
+"For use with JBoss Enterprise Application Platform 4.3.0 Cumulative Patch 3 "
+"Feature Pack 1"
+msgstr ""
+
+#. Tag: para
+#: Book_Info.xml:14
+#, no-c-format
+msgid ""
+"This book is a Reference Guide to Hibernate Validator for JBoss Enterprise "
+"Application Platform 4.3.0 CP03 FP01"
+msgstr ""
+
+#. Tag: phrase
+#: Book_Info.xml:23
+#, no-c-format
+msgid "Logo"
+msgstr ""
+
+#. Tag: holder
+#: Book_Info.xml:28
+#, no-c-format
+msgid "&HOLDER;"
+msgstr ""

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Checkconstraints.pot
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Checkconstraints.pot	                        (rev 0)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Checkconstraints.pot	2009-01-04 22:28:47 UTC (rev 82594)
@@ -0,0 +1,341 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2009-01-04 22:28+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Checkconstraints.xml:6
+#, no-c-format
+msgid "Using the Validator framework"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:8
+#, no-c-format
+msgid ""
+"Hibernate Validator is intended to be used to implement multi-layered data "
+"validation, where constraints are expressed in a single place (the annotated "
+"domain model) and checked in various different layers of the application."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:13
+#, no-c-format
+msgid "This chapter will cover Hibernate Validator usage for different layers"
+msgstr ""
+
+#. Tag: title
+#: Checkconstraints.xml:17
+#, no-c-format
+msgid "Database schema-level validation"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:19
+#, no-c-format
+msgid ""
+"Out of the box, Hibernate Annotations will translate the constraints you "
+"have defined for your entities into mapping metadata. For example, if a "
+"property of your entity is annotated <literal>@NotNull</literal>, its "
+"columns will be declared as <literal>not null</literal> in the DDL schema "
+"generated by Hibernate."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:25
+#, no-c-format
+msgid ""
+"Using hbm2ddl, domain model constraints will be expressed into the database "
+"schema."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:28
+#, no-c-format
+msgid ""
+"If, for some reason, the feature needs to be disabled, set "
+"<literal>hibernate.validator.apply_to_ddl</literal> to <literal>false</"
+"literal>."
+msgstr ""
+
+#. Tag: title
+#: Checkconstraints.xml:34
+#, no-c-format
+msgid "ORM integration"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:36
+#, no-c-format
+msgid ""
+"Hibernate Validator integrates with both Hibernate and all pure Java "
+"Persistence providers"
+msgstr ""
+
+#. Tag: title
+#: Checkconstraints.xml:40
+#, no-c-format
+msgid "Hibernate event-based validation"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:42
+#, no-c-format
+msgid ""
+"Hibernate Validator has two built-in Hibernate event listeners. Whenever a "
+"<literal>PreInsertEvent</literal> or <literal>PreUpdateEvent</literal> "
+"occurs, the listeners will verify all constraints of the entity instance and "
+"throw an exception if any constraint is violated. Objects will be checked "
+"before any inserts and before any updates made by Hibernate. This includes "
+"changes applied by cascade. This is the most convenient and the easiest way "
+"to activate the validation process. On constraint violation, the event will "
+"raise a runtime <classname>InvalidStateException</classname>, which contains "
+"an array of <literal>InvalidValue</literal>s describing each failure."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:54
+#, no-c-format
+msgid ""
+"If Hibernate Validator is present in the classpath, Hibernate Annotations "
+"(or Hibernate EntityManager) will use it transparently. If, for some reason, "
+"you want to disable this integration, set <literal>hibernate.validator."
+"autoregister_listeners</literal> to false."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:61
+#, no-c-format
+msgid ""
+"If the beans are not annotated with validation annotations, there is no "
+"runtime performance cost."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:65
+#, no-c-format
+msgid ""
+"In case you need to manually set the event listeners for Hibernate Core, use "
+"the following configuration in <literal>hibernate.cfg.xml</literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: Checkconstraints.xml:69
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/hibernate_config.xmlt\" parse=\"text\" xmlns:xi="
+"\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: title
+#: Checkconstraints.xml:73
+#, no-c-format
+msgid "Java Persistence event-based validation"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:75
+#, no-c-format
+msgid ""
+"Hibernate Validator is not tied to Hibernate for event based validation: a "
+"Java Persistence entity listener is available. Whenever an listened entity "
+"is persisted or updated, Hibernate Validator will verify all constraints of "
+"the entity instance and throw an exception if any constraint is violated. "
+"Basically, objects will be checked before any inserts and before any updates "
+"made by the Java Persistence provider. This includes changes applied by "
+"cascade! On constraint violation, the event will raise a runtime "
+"<classname>InvalidStateException</classname> which contains an array of "
+"<literal>InvalidValue</literal>s describing each failure."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:86
+#, no-c-format
+msgid "Here is how to make a class validatable:"
+msgstr ""
+
+#. Tag: programlisting
+#: Checkconstraints.xml:88
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/class_validate.javat\" parse=\"text\" xmlns:xi="
+"\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:91
+#, no-c-format
+msgid ""
+"Compared to the Hibernate event, the Java Persistence listener has two "
+"drawbacks. You need to define the entity listener on every validatable "
+"entity. The DDL generated by your provider will not reflect the constraints."
+msgstr ""
+
+#. Tag: title
+#: Checkconstraints.xml:100
+#, no-c-format
+msgid "Application-level validation"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:102
+#, no-c-format
+msgid "Hibernate Validator can be applied anywhere in your application code."
+msgstr ""
+
+#. Tag: programlisting
+#: Checkconstraints.xml:105
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/app_validate.javat\" parse=\"text\" xmlns:xi="
+"\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:107
+#, no-c-format
+msgid ""
+"The first two lines prepare the Hibernate Validator for class checking. The "
+"first one relies upon the error messages embedded in Hibernate Validator "
+"(see <xref linkend=\"Hibernate_Validator-Defineconstraints-error\"/>), the "
+"second one uses a resource bundle for these messages. It is considered a "
+"good practice to execute these lines once and cache the validator instances."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:112
+#, no-c-format
+msgid ""
+"The third line actually validates the <literal>Address</literal> instance "
+"and returns an array of <literal>InvalidValue</literal>s. Your application "
+"logic will then be able to react to the failure."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:116
+#, no-c-format
+msgid ""
+"You can also check a particular property instead of the whole bean. This "
+"might be useful for property per property user interaction"
+msgstr ""
+
+#. Tag: programlisting
+#: Checkconstraints.xml:119
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/check_property.javat\" parse=\"text\" xmlns:xi="
+"\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: title
+#: Checkconstraints.xml:123
+#, no-c-format
+msgid "Presentation layer validation"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:125
+#, no-c-format
+msgid ""
+"When working with JSF and <productname>JBoss Seam</productname>, one can "
+"triggers the validation process at the presentation layer using Seam's JSF "
+"tags <literal>&lt;s:validate&gt;</literal> and <literal>&lt;s:validateAll/"
+"&gt;</literal>, letting the constraints be expressed on the model, and the "
+"violations presented in the view."
+msgstr ""
+
+#. Tag: programlisting
+#: Checkconstraints.xml:131
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/pres_validation.javat\" parse=\"text\" xmlns:xi="
+"\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:133
+#, no-c-format
+msgid ""
+"Going even further, and adding <productname>Ajax4JSF</productname> to the "
+"loop will bring client side validation with just a couple of additional JSF "
+"tags, again without validation definition duplication."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:138
+#, no-c-format
+msgid ""
+"Check the <ulink url=\"http://www.jboss.com/products/seam\">JBoss Seam</"
+"ulink> documentation for more information."
+msgstr ""
+
+#. Tag: title
+#: Checkconstraints.xml:143
+#, no-c-format
+msgid "Validation information"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:145
+#, no-c-format
+msgid ""
+"As a validation information carrier, Hibernate provides an array of "
+"<classname>InvalidValue</classname>. Each <literal>InvalidValue</literal> "
+"has a range of methods describing the individual issues."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:149
+#, no-c-format
+msgid "<methodname>getBeanClass()</methodname> retrieves the failing bean type"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:152
+#, no-c-format
+msgid ""
+"<methodname>getBean()</methodname>retrieves the failing instance (if any i."
+"e. not when using <methodname>getPotentianInvalidValues()</methodname>)"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:156
+#, no-c-format
+msgid "<methodname>getValue()</methodname> retrieves the failing value"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:159
+#, no-c-format
+msgid ""
+"<methodname>getMessage()</methodname> retrieves the proper internationalized "
+"error message"
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:162
+#, no-c-format
+msgid ""
+"<methodname>getRootBean()</methodname> retrieves the root bean instance "
+"generating the issue (useful in conjunction with <literal>@Valid</literal>), "
+"is null if getPotentianInvalidValues() is used."
+msgstr ""
+
+#. Tag: para
+#: Checkconstraints.xml:167
+#, no-c-format
+msgid ""
+"<literal>getPropertyPath()</literal> retrieves the dotted path of the "
+"failing property starting from the root bean"
+msgstr ""

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Defineconstraints.pot
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Defineconstraints.pot	                        (rev 0)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Defineconstraints.pot	2009-01-04 22:28:47 UTC (rev 82594)
@@ -0,0 +1,618 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2009-01-04 22:28+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Defineconstraints.xml:6
+#, no-c-format
+msgid "Defining constraints"
+msgstr ""
+
+#. Tag: title
+#: Defineconstraints.xml:9
+#, no-c-format
+msgid "What is a constraint?"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:11
+#, no-c-format
+msgid ""
+"A constraint is a rule that a given element (field, property or bean) has to "
+"comply to. The rule semantic is expressed by an annotation. A constraint "
+"usually has some attributes used to parameterize the constraints limits. The "
+"constraint applies to the annotated element."
+msgstr ""
+
+#. Tag: title
+#: Defineconstraints.xml:19
+#, no-c-format
+msgid "Built in constraints"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:21
+#, no-c-format
+msgid ""
+"Hibernate Validator comes with some built-in constraints, which covers most "
+"basic data checks. As we'll see later, you're not limited to them, you can "
+"literally in a minute write your own constraints."
+msgstr ""
+
+#. Tag: title
+#: Defineconstraints.xml:26
+#, no-c-format
+msgid "Built-in constraints"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:33
+#, no-c-format
+msgid "Annotation"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:35
+#, no-c-format
+msgid "Apply on"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:37
+#, no-c-format
+msgid "Runtime checking"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:39
+#, no-c-format
+msgid "Hibernate Metadata impact"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:45
+#, no-c-format
+msgid "@Length(min=, max=)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:47 Defineconstraints.xml:191
+#: Defineconstraints.xml:202
+#, no-c-format
+msgid "property (String)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:49
+#, no-c-format
+msgid "check if the string length match the range"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:51
+#, no-c-format
+msgid "Column length will be set to max"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:55
+#, no-c-format
+msgid "@Max(value=)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:57 Defineconstraints.xml:68 Defineconstraints.xml:133
+#: Defineconstraints.xml:213 Defineconstraints.xml:237
+#, no-c-format
+msgid "property (numeric or string representation of a numeric)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:60
+#, no-c-format
+msgid "check if the value is less than or equals to max"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:62 Defineconstraints.xml:73 Defineconstraints.xml:104
+#: Defineconstraints.xml:139
+#, no-c-format
+msgid "Add a check constraint on the column"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:66
+#, no-c-format
+msgid "@Min(value=)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:71
+#, no-c-format
+msgid "check if the value is more than or equals to min"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:77
+#, no-c-format
+msgid "@NotNull"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:79 Defineconstraints.xml:89 Defineconstraints.xml:156
+#: Defineconstraints.xml:167
+#, no-c-format
+msgid "property"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:81
+#, no-c-format
+msgid "check if the value is not null"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:83
+#, no-c-format
+msgid "Column(s) are not null"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:87
+#, no-c-format
+msgid "@NotEmpty"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:91
+#, no-c-format
+msgid ""
+"check if the string is not null nor empty. Check if the connection is not "
+"null nor empty"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:94
+#, no-c-format
+msgid "Column(s) are not null (for String)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:98
+#, no-c-format
+msgid "@Past"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:100 Defineconstraints.xml:110
+#, no-c-format
+msgid "property (date or calendar)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:102
+#, no-c-format
+msgid "check if the date is in the past"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:108
+#, no-c-format
+msgid "@Future"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:112
+#, no-c-format
+msgid "check if the date is in the future"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:114 Defineconstraints.xml:127
+#: Defineconstraints.xml:150 Defineconstraints.xml:161
+#: Defineconstraints.xml:172 Defineconstraints.xml:185
+#: Defineconstraints.xml:196 Defineconstraints.xml:207
+#: Defineconstraints.xml:231
+#, no-c-format
+msgid "none"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:118
+#, no-c-format
+msgid "@Pattern(regex=\"regexp\", flag=) or @Patterns( {@Pattern(...)} )"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:121 Defineconstraints.xml:226
+#, no-c-format
+msgid "property (string)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:123
+#, no-c-format
+msgid ""
+"check if the property match the regular expression given a match flag (see "
+"<classname>java.util.regex.Pattern </classname> )"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:131
+#, no-c-format
+msgid "@Range(min=, max=)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:136
+#, no-c-format
+msgid "check if the value is between min and max (included)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:143
+#, no-c-format
+msgid "@Size(min=, max=)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:145
+#, no-c-format
+msgid "property (array, collection, map)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:147
+#, no-c-format
+msgid "check if the element size is between min and max (included)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:154
+#, no-c-format
+msgid "@AssertFalse"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:158
+#, no-c-format
+msgid ""
+"check that the method evaluates to false (useful for constraints expressed "
+"in code rather than annotations)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:165
+#, no-c-format
+msgid "@AssertTrue"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:169
+#, no-c-format
+msgid ""
+"check that the method evaluates to true (useful for constraints expressed in "
+"code rather than annotations)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:176
+#, no-c-format
+msgid "@Valid"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:178
+#, no-c-format
+msgid "property (object)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:180
+#, no-c-format
+msgid ""
+"perform validation recursively on the associated object. If the object is a "
+"Collection or an array, the elements are validated recursively. If the "
+"object is a Map, the value elements are validated recursively."
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:189
+#, no-c-format
+msgid "@Email"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:193
+#, no-c-format
+msgid "check whether the string is conform to the email address specification"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:200
+#, no-c-format
+msgid "@CreditCardNumber"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:204
+#, no-c-format
+msgid ""
+"check whether the string is a well formated credit card number (derivative "
+"of the Luhn algorithm)"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:211 Defineconstraints.xml:235
+#, no-c-format
+msgid "@Digits"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:216 Defineconstraints.xml:240
+#, no-c-format
+msgid ""
+"check whether the property is a number having up to <literal>integerDigits</"
+"literal> integer digits and <literal>fractionalDigits</literal> fractonal "
+"digits"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:220 Defineconstraints.xml:244
+#, no-c-format
+msgid "define column precision and scale"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:224
+#, no-c-format
+msgid "@EAN"
+msgstr ""
+
+#. Tag: entry
+#: Defineconstraints.xml:228
+#, no-c-format
+msgid "check whether the string is a properly formated EAN or UPC-A code"
+msgstr ""
+
+#. Tag: title
+#: Defineconstraints.xml:252
+#, no-c-format
+msgid "Error messages"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:254
+#, no-c-format
+msgid ""
+"Hibernate Validator comes with a default set of error messages translated in "
+"about ten languages (if yours is not part of it, please sent us a patch). "
+"You can override those messages by creating a <filename>ValidatorMessages."
+"properties</filename> or ( <filename>ValidatorMessages_loc.properties</"
+"filename> ) and override the needed keys. You can even add your own "
+"additional set of messages while writing your validator annotations. If "
+"Hibernate Validator cannot resolve a key from your resourceBundle nor from "
+"ValidatorMessage, it falls back to the default built-in values."
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:264
+#, no-c-format
+msgid ""
+"Alternatively you can provide a <classname>ResourceBundle</classname> while "
+"checking programmatically the validation rules on a bean or if you want a "
+"completly different interpolation mechanism, you can provide an "
+"implementation of <literal>org.hibernate.validator.MessageInterpolator</"
+"literal> (check the JavaDoc for more informations)."
+msgstr ""
+
+#. Tag: title
+#: Defineconstraints.xml:273
+#, no-c-format
+msgid "Writing your own constraints"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:275
+#, no-c-format
+msgid ""
+"Extending the set of built-in constraints is extremely easy. Any constraint "
+"consists of two pieces: the constraint <emphasis>descriptor</emphasis> (the "
+"annotation) and the constraint <emphasis>validator</emphasis> (the "
+"implementation class). Here is a simple user-defined descriptor:"
+msgstr ""
+
+#. Tag: programlisting
+#: Defineconstraints.xml:281
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/define_descriptor.javat\" parse=\"text\" xmlns:xi="
+"\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:283
+#, no-c-format
+msgid ""
+"<literal>type</literal> is a parameter describing how the property should to "
+"be capitalized. This is a user parameter fully dependant on the annotation "
+"business."
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:287
+#, no-c-format
+msgid ""
+"<literal>message</literal> is the default string used to describe the "
+"constraint violation and is mandatory. You can hard code the string or you "
+"can externalize part/all of it through the Java ResourceBundle mechanism. "
+"Parameters values are going to be injected inside the message when the "
+"<literal>{parameter}</literal> string is found (in our example "
+"<literal>Capitalization is not {type}</literal> would generate "
+"<literal>Capitalization is not FIRST</literal> ), externalizing the whole "
+"string in <filename>ValidatorMessages.properties</filename> is considered "
+"good practice. See <xref linkend=\"Hibernate_Validator-Defineconstraints-"
+"error\"/> ."
+msgstr ""
+
+#. Tag: programlisting
+#: Defineconstraints.xml:298
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/validator_capitalized.javat\" parse=\"text\" xmlns:"
+"xi=\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:300
+#, no-c-format
+msgid "As you can see the {} notation is recursive."
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:302
+#, no-c-format
+msgid ""
+"To link a descriptor to its validator implementation, we use the "
+"<literal>@ValidatorClass</literal> meta-annotation. The validator class "
+"parameter must name a class which implements <literal>Validator&lt;"
+"ConstraintAnnotation&gt;</literal> ."
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:307
+#, no-c-format
+msgid ""
+"We now have to implement the validator (ie. the rule checking "
+"implementation). A validation implementation can check the value of the a "
+"property (by implementing <literal>PropertyConstraint</literal> ) and/or can "
+"modify the hibernate mapping metadata to express the constraint at the "
+"database level (by implementing <literal>PersistentClassConstraint</"
+"literal> )"
+msgstr ""
+
+#. Tag: programlisting
+#: Defineconstraints.xml:314
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/validator_implementation.javat\" parse=\"text\" "
+"xmlns:xi=\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:316
+#, no-c-format
+msgid ""
+"The <literal>isValid()</literal> method should return false if the "
+"constraint has been violated. For more examples, refer to the built-in "
+"validator implementations."
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:320
+#, no-c-format
+msgid ""
+"We only have seen property level validation, but you can write a Bean level "
+"validation annotation. Instead of receiving the return instance of a "
+"property, the bean itself will be passed to the validator. To activate the "
+"validation checking, just annotated the bean itself instead. A small sample "
+"can be found in the unit test suite."
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:326
+#, no-c-format
+msgid ""
+"If your constraint can be applied multiple times (with different parameters) "
+"on the same property or type, you can use the following annotation form:"
+msgstr ""
+
+#. Tag: programlisting
+#: Defineconstraints.xml:330
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/constraint_annotation.javat\" parse=\"text\" xmlns:"
+"xi=\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:332
+#, no-c-format
+msgid ""
+"Basically an annotation containing the value attribute as an array of "
+"validator annotations."
+msgstr ""
+
+#. Tag: title
+#: Defineconstraints.xml:337
+#, no-c-format
+msgid "Annotating your domain model"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:339
+#, no-c-format
+msgid ""
+"Since you are already familiar with annotations now, the syntax should be "
+"very familiar."
+msgstr ""
+
+#. Tag: programlisting
+#: Defineconstraints.xml:342
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/annotation_syntax.javat\" parse=\"text\" xmlns:xi="
+"\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:344
+#, no-c-format
+msgid ""
+"While the example only shows public property validation, you can also "
+"annotate fields of any kind of visibility."
+msgstr ""
+
+#. Tag: programlisting
+#: Defineconstraints.xml:347
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/annotate_constraint.javat\" parse=\"text\" xmlns:"
+"xi=\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:349
+#, no-c-format
+msgid ""
+"You can also annotate interfaces. Hibernate Validator will check all "
+"superclasses and interfaces extended or implemented by a given bean to read "
+"the appropriate validator annotations."
+msgstr ""
+
+#. Tag: programlisting
+#: Defineconstraints.xml:353
+#, no-c-format
+msgid ""
+"<xi:include href=\"extras/annotate_interface.javat\" parse=\"text\" xmlns:xi="
+"\"http://www.w3.org/2001/XInclude\"></xi:include>"
+msgstr ""
+
+#. Tag: para
+#: Defineconstraints.xml:355
+#, no-c-format
+msgid ""
+"The name property will be checked for nullity when the Dog bean is validated."
+msgstr ""

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Feedback.pot
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Feedback.pot	                        (rev 0)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Feedback.pot	2009-01-04 22:28:47 UTC (rev 82594)
@@ -0,0 +1,35 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2009-01-04 22:28+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Feedback.xml:7
+#, no-c-format
+msgid "Feedback"
+msgstr ""
+
+#. Tag: para
+#: Feedback.xml:8
+#, no-c-format
+msgid ""
+"If you spot a typo in this guide, or if you have thought of a way to make "
+"this manual better, we would love to hear from you! Submit a report in "
+"<ulink url=\"http://jira.jboss.com/jira/browse/JBPAPP\">JIRA</ulink> against "
+"the Product: JBoss Enterprise Application Platform, Version: "
+"<replaceable>&lt;version&gt;</replaceable>, Component: <emphasis>Doc</"
+"emphasis>. If you have a suggestion for improving the documentation, try to "
+"be as specific as possible. If you have found an error, include the section "
+"number and some of the surrounding text so we can find it easily."
+msgstr ""

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Hibernate_Validator_Reference_Guide_CP03_FP01.pot
===================================================================

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Introduction.pot
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Introduction.pot	                        (rev 0)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Introduction.pot	2009-01-04 22:28:47 UTC (rev 82594)
@@ -0,0 +1,72 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2009-01-04 22:28+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Introduction.xml:6
+#, no-c-format
+msgid "Introduction"
+msgstr ""
+
+#. Tag: para
+#: Introduction.xml:7
+#, no-c-format
+msgid ""
+"Annotations are a very convenient and elegant way to specify invariant "
+"constraints for a domain model. You can, for example, express that a "
+"property should never be null, that the account balance should be strictly "
+"positive, etc. These domain model constraints are declared in the bean "
+"itself by annotating its properties. A validator can then read them and "
+"check for constraint violations. The validation mechanism can be executed in "
+"different layers in your application without having to duplicate any of "
+"these rules (presentation layer, data access layer). Following the DRY "
+"principle, Hibernate Validator has been designed for that purpose."
+msgstr ""
+
+#. Tag: para
+#: Introduction.xml:20
+#, no-c-format
+msgid ""
+"Hibernate Validator works at two levels. First, it is able to check in-"
+"memory instances of a class for constraint violations. Second, it can apply "
+"the constraints to the Hibernate metamodel and incorporate them into the "
+"generated database schema."
+msgstr ""
+
+#. Tag: para
+#: Introduction.xml:25
+#, no-c-format
+msgid ""
+"Each constraint annotation is associated to a validator implementation "
+"responsible for checking the constraint on the entity instance. A validator "
+"can also (optionally) apply the constraint to the Hibernate metamodel, "
+"allowing Hibernate to generate DDL that expresses the constraint. With the "
+"appropriate event listener, you can execute the checking operation on "
+"inserts and updates done by Hibernate. Hibernate Validator is not limited to "
+"use with Hibernate. You can easily use it anywhere in your application as "
+"well as with any Java Persistence provider (entity listener provided)."
+msgstr ""
+
+#. Tag: para
+#: Introduction.xml:35
+#, no-c-format
+msgid ""
+"When checking instances at runtime, Hibernate Validator returns information "
+"about constraint violations in an array of <classname>InvalidValue</"
+"classname> s. Among other information, the <classname>InvalidValue</"
+"classname> contains an error description message that can embed the "
+"parameter values bundle with the annotation (eg. length limit), and message "
+"strings that may be externalized to a <classname>ResourceBundle</classname> ."
+msgstr ""

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Preface.pot
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Preface.pot	                        (rev 0)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Preface.pot	2009-01-04 22:28:47 UTC (rev 82594)
@@ -0,0 +1,21 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2009-01-04 22:28+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Preface.xml:6
+#, no-c-format
+msgid "Preface"
+msgstr ""

Added: projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Revision_History.pot
===================================================================
--- projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Revision_History.pot	                        (rev 0)
+++ projects/docs/enterprise/4.3.3.1/Hibernate/Hibernate_Validator/pot/Revision_History.pot	2009-01-04 22:28:47 UTC (rev 82594)
@@ -0,0 +1,34 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2009-01-04 22:28+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Revision_History.xml:6
+#, no-c-format
+msgid "Revision History"
+msgstr ""
+
+#. Tag: author
+#: Revision_History.xml:12
+#, no-c-format
+msgid ""
+"<firstname>Danielle</firstname> <surname>Coulson</surname> <email></email>"
+msgstr ""
+
+#. Tag: member
+#: Revision_History.xml:19
+#, no-c-format
+msgid "Content reformat"
+msgstr ""




More information about the jboss-cvs-commits mailing list