[jboss-cvs] JBossAS SVN: r96483 - projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/pt-BR.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Nov 18 01:30:19 EST 2009


Author: ldelima at redhat.com
Date: 2009-11-18 01:30:19 -0500 (Wed, 18 Nov 2009)
New Revision: 96483

Modified:
   projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/pt-BR/entity.po
Log:
translation ongoing

Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/pt-BR/entity.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/pt-BR/entity.po	2009-11-18 05:16:32 UTC (rev 96482)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/pt-BR/entity.po	2009-11-18 06:30:19 UTC (rev 96483)
@@ -9,7 +9,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Mime-Version: 1.0Last-Translator: \n"
-"PO-Revision-Date: 2009-11-18 15:13+1000\n"
+"PO-Revision-Date: 2009-11-18 16:08+1000\n"
 "Project-Id-Version: entity\n"
 "Language-Team:  <en at li.org>\n"
 "X-Generator: KBabel 1.11.4\n"
@@ -54,7 +54,7 @@
 "object model, the class associations, etc.) and the physical mapping "
 "annotations (describing the physical schema, tables, columns, indexes, etc). "
 "We will mix annotations from both categories in the following code examples."
-msgstr ""
+msgstr "As entidades são POJOs planos. Na realidade, elas representam exatamente o mesmo conceito ao das entidades de persistência Hibernate. Os seus mapeamentos são definidos através das anotações JDK 5.0 (uma sintaxe do descritor XML para substituição está definida na especificação EJB3). As anotações podem ser divididas em duas categoria, as anotações de mapeamento lógicas (permitindo que você descreva o modelo do objeto, as associações da classe, etc.) e as anotações do mapeamento físico (descrevendo o esquema do mapeamento físico, tabelas, colunas, indexes, etc). Nós misturaremos as anotações a partir de ambas as categorias nas seguintes amostras de código."
 
 #. Tag: para
 #: entity.xml:50
@@ -65,7 +65,7 @@
 "autocomplete annotation interfaces and attributes for you (even without a "
 "specific \"EJB3\" module, since EJB3 annotations are plain JDK 5 "
 "annotations)."
-msgstr ""
+msgstr "As anotações estão no pacote <literal>javax.persistence.*</literal>. A maioria do JDK 5 compliant IDE (como Eclipse, IntelliJ IDEA e Netbeans) podem auto completar os atributos e interfaces da anotação para você (mesmo sem um módulo \"EJB3\" específico, uma vez que as anotações EJB3 são anotações JDK 5 planas)."
 
 #. Tag: para
 #: entity.xml:56
@@ -74,7 +74,7 @@
 "For more and runnable concrete examples read the JBoss EJB 3.0 tutorial or "
 "review the Hibernate Annotations test suite. Most of the unit tests have "
 "been designed to represent a concrete example and be a inspiration source."
-msgstr ""
+msgstr "Para mais e concretas de execução leia o tutorial do JBoss EJB 3.0 ou revise as Anotações Hibernate"
 
 #. Tag: title
 #: entity.xml:62
@@ -517,6 +517,12 @@
 "length=50)\n"
 "public String getName() { ... }"
 msgstr ""
+"@Entity\n"
+"public class Flight implements Serializable {\n"
+"...\n"
+"@Column(updatable = false, name = \"flight_name\", nullable = false, "
+"length=50)\n"
+"public String getName() { ... }"
 
 #. Tag: para
 #: entity.xml:254
@@ -551,6 +557,17 @@
 "    int precision() default 0; // decimal precision\n"
 "    int scale() default 0; // decimal scale"
 msgstr ""
+"@Column(\n"
+"    name=\"columnName\";\n"
+"    boolean unique() default false;\n"
+"    boolean nullable() default true;\n"
+"    boolean insertable() default true;\n"
+"    boolean updatable() default true;\n"
+"    String columnDefinition() default \"\";\n"
+"    String table() default \"\";\n"
+"    int length() default 255;\n"
+"    int precision() default 0; // decimal precision\n"
+"    int scale() default 0; // decimal scale"
 
 #. Tag: para
 #: entity.xml:290
@@ -671,6 +688,22 @@
 "    ...\n"
 "}"
 msgstr ""
+"@Entity\n"
+"public class Person implements Serializable {\n"
+"\n"
+"    // Persistent component using defaults\n"
+"    Address homeAddress;\n"
+"\n"
+"    @Embedded\n"
+"    @AttributeOverrides( {\n"
+"            @AttributeOverride(name=\"iso2\", column = @Column(name="
+"\"bornIso2\") ),\n"
+"            @AttributeOverride(name=\"name\", column = @Column(name="
+"\"bornCountryName\") )\n"
+"    } )\n"
+"    Country bornIn;\n"
+"    ...\n"
+"}"
 
 #. Tag: programlisting
 #: entity.xml:358
@@ -682,6 +715,11 @@
 "    Country nationality; //no overriding here\n"
 "}"
 msgstr ""
+"@Embeddable\n"
+"public class Address implements Serializable {\n"
+"    String city;\n"
+"    Country nationality; //no overriding here\n"
+"}"
 
 #. Tag: programlisting
 #: entity.xml:360
@@ -701,6 +739,19 @@
 "    ...\n"
 "}"
 msgstr ""
+"@Embeddable\n"
+"public class Country implements Serializable {\n"
+"    private String iso2;\n"
+"    @Column(name=\"countryName\") private String name;\n"
+"\n"
+"    public String getIso2() { return iso2; }\n"
+"    public void setIso2(String iso2) { this.iso2 = iso2; }\n"
+"\n"
+"    \n"
+"    public String getName() { return name; }\n"
+"    public void setName(String name) { this.name = name; }\n"
+"    ...\n"
+"}"
 
 #. Tag: para
 #: entity.xml:362




More information about the jboss-cvs-commits mailing list