|
2 | 2 | msgstr "" |
3 | 3 | "Project-Id-Version: doma-docs\n" |
4 | 4 | "Report-Msgid-Bugs-To: \n" |
5 | | -"POT-Creation-Date: 2025-05-03 13:10+0900\n" |
| 5 | +"POT-Creation-Date: 2025-05-05 21:25+0900\n" |
6 | 6 | "Last-Translator: \n" |
7 | 7 | "Language-Team: Japanese\n" |
8 | 8 | "MIME-Version: 1.0\n" |
@@ -48,90 +48,90 @@ msgid "Association linker definition" |
48 | 48 | msgstr "関連付けリンカーの定義" |
49 | 49 |
|
50 | 50 | #: ../../aggregate-strategy.rst:32 |
51 | | -msgid "An aggregate strategy must contain at least one field of type ``BiFunction`` annotated with ``@AssociationLinker``. This ``BiFunction`` is responsible for dynamically associating two entity instances." |
52 | | -msgstr "アグリゲート戦略には、``@AssociationLinker`` で注釈された ``BiFunction`` 型のフィールドが少なくとも1つ含まれている必要があります。``BiFunction`` は、2つのエンティティインスタンスを動的に関連付ける責任があります。" |
53 | | - |
54 | | -#: ../../aggregate-strategy.rst:55 |
55 | | -msgid "In the ``BiFunction``, the first and third type parameters represent the class that owns the property, while the second type parameter represents the property type." |
56 | | -msgstr "``BiFunction`` の最初と 3 番目の型パラメータはプロパティを所有するクラスを表し、2 番目の型パラメータはプロパティの型を表します。" |
| 51 | +msgid "An aggregate strategy must contain at least one field of type ``BiConsumer`` or ``BiFunction``, annotated with ``@AssociationLinker``. These functions are responsible for dynamically associating two entity instances. Use a ``BiFunction`` when associating immutable entities. For mutable entities, you may use either a ``BiConsumer`` or a ``BiFunction``." |
| 52 | +msgstr "アグリゲート戦略には、 ``@AssociationLinker`` で注釈された ``BiConsumer`` または ``BiFunction`` 型のフィールドが少なくとも1つ含まれている必要があります。これらの関数は、2つのエンティティインスタンスを動的に関連付ける責任があります。不変エンティティを関連付ける場合は、``BiFunction`` を使用します。変更可能なエンティティの場合は、``BiConsumer`` または ``BiFunction`` のいずれかを使用できます。" |
57 | 53 |
|
58 | 54 | #: ../../aggregate-strategy.rst:57 |
59 | | -msgid "The ``propertyPath`` element specifies the target property's name as a dot-separated path from the root entity class." |
| 55 | +msgid "The first type parameter of a ``BiConsumer`` or ``BiFunction`` represents the type of the property owner, and the second type parameter represents the type of the property. The third type parameter of a ``BiFunction`` must be the same as the first one and represents the type of the entity after the association is applied." |
| 56 | +msgstr "``BiConsumer`` と ``BiFunction`` の1番目の型パラメータはプロパティオーナーの型を表し、2番目の型パラメータはプロパティの型を表します。 ``BiFunction`` の3番目の型パラメータは1番目のものと同じでなければならず、関連付けが適用された後のエンティティの型を表します。" |
| 57 | + |
| 58 | +#: ../../aggregate-strategy.rst:61 |
| 59 | +msgid "The ``propertyPath`` element specifies the name of the target property as a dot-separated path from the root entity class." |
60 | 60 | msgstr "``propertyPath`` 要素は、ルートエンティティクラスからドットで区切られたパスとしてターゲットプロパティの名前を指定します。" |
61 | 61 |
|
62 | | -#: ../../aggregate-strategy.rst:58 |
63 | | -msgid "The ``tableAlias`` element specifies the alias for the table corresponding to the entity class used as the second type parameter of ``BiFunction``. This alias must be used in the SELECT statement." |
| 62 | +#: ../../aggregate-strategy.rst:62 |
| 63 | +msgid "The ``tableAlias`` element specifies the alias for the table corresponding to the entity class used as the second type parameter of the ``BiConsumer`` or ``BiFunction``. This alias must be used in the SELECT statement." |
64 | 64 | msgstr "``tableAlias`` 要素は、``BiFunction`` の 2 番目の型パラメータとして使用されるエンティティクラスに対応するテーブルのエイリアスを指定します。 このエイリアスはSELECT文で使用する必要があります。" |
65 | 65 |
|
66 | | -#: ../../aggregate-strategy.rst:62 |
| 66 | +#: ../../aggregate-strategy.rst:66 |
67 | 67 | msgid "Example" |
68 | 68 | msgstr "例" |
69 | 69 |
|
70 | | -#: ../../aggregate-strategy.rst:64 |
| 70 | +#: ../../aggregate-strategy.rst:68 |
71 | 71 | msgid "The ``DepartmentAggregateStrategy`` described above is based on the following entity definitions:" |
72 | 72 | msgstr "上記の ``DepartmentAggregateStrategy`` は以下のエンティティ定義に基づいています。" |
73 | 73 |
|
74 | | -#: ../../aggregate-strategy.rst:97 |
| 74 | +#: ../../aggregate-strategy.rst:101 |
75 | 75 | msgid "In entity classes, association properties must be annotated with ``@Association``. These properties can be linked using ``@AssociationLinker``." |
76 | 76 | msgstr "エンティティクラスでは、関連プロパティに ``@Association`` を付与する必要があります。これらのプロパティは ``@AssociationLinker`` を使用してリンクできます。" |
77 | 77 |
|
78 | | -#: ../../aggregate-strategy.rst:101 |
| 78 | +#: ../../aggregate-strategy.rst:105 |
79 | 79 | msgid "Using an aggregate strategy" |
80 | 80 | msgstr "アグリゲート戦略の使用" |
81 | 81 |
|
82 | | -#: ../../aggregate-strategy.rst:103 |
| 82 | +#: ../../aggregate-strategy.rst:107 |
83 | 83 | msgid "``DepartmentAggregateStrategy`` is used by specifying it in the ``aggregateStrategy`` element of ``@Select``:" |
84 | 84 | msgstr "``DepartmentAggregateStrategy`` は ``@Select`` の ``aggregateStrategy`` 要素に指定することで使用されます。" |
85 | 85 |
|
86 | | -#: ../../aggregate-strategy.rst:113 |
| 86 | +#: ../../aggregate-strategy.rst:117 |
87 | 87 | msgid "The ``selectById`` method requires a SELECT statement like the following:" |
88 | 88 | msgstr "``selectById`` メソッドは、次のような SELECT ステートメントを必要とします:" |
89 | 89 |
|
90 | | -#: ../../aggregate-strategy.rst:137 |
| 90 | +#: ../../aggregate-strategy.rst:141 |
91 | 91 | msgid "The SELECT list must include the IDs of all entities that form the aggregate." |
92 | 92 | msgstr "SELECTリストにはアグリゲートを形成するすべてのエンティティのIDを含める必要があります。" |
93 | 93 |
|
94 | | -#: ../../aggregate-strategy.rst:140 |
| 94 | +#: ../../aggregate-strategy.rst:144 |
95 | 95 | msgid "Column aliasing rules" |
96 | 96 | msgstr "カラムエイリアスのルール" |
97 | 97 |
|
98 | | -#: ../../aggregate-strategy.rst:142 |
| 98 | +#: ../../aggregate-strategy.rst:146 |
99 | 99 | msgid "Table aliases must match those defined in ``DepartmentAggregateStrategy``." |
100 | 100 | msgstr "テーブルエイリアスは ``DepartmentAggregateStrategy`` で定義されているものと一致する必要があります。" |
101 | 101 |
|
102 | | -#: ../../aggregate-strategy.rst:143 |
| 102 | +#: ../../aggregate-strategy.rst:147 |
103 | 103 | msgid "Column aliases must begin with the table alias followed by an underscore (``_``). For example, ``d.id`` should be aliased as ``d_id`` and ``e.id`` as ``e_id``." |
104 | 104 | msgstr "カラムのエイリアスは、テーブルのエイリアスにアンダースコア(``_``)を付けた形式で指定する必要があります。例えば、``d.id`` は ``d_id``、``e.id`` は ``e_id`` としてエイリアスされます。" |
105 | 105 |
|
106 | | -#: ../../aggregate-strategy.rst:147 |
| 106 | +#: ../../aggregate-strategy.rst:151 |
107 | 107 | msgid "Using the expansion directive" |
108 | 108 | msgstr "選択カラムリスト展開ディレクティブの使用" |
109 | 109 |
|
110 | | -#: ../../aggregate-strategy.rst:149 |
| 110 | +#: ../../aggregate-strategy.rst:153 |
111 | 111 | msgid "By using the :ref:`expansion directive <expand>`, the above SELECT statement can be written more concisely:" |
112 | 112 | msgstr ":ref:`選択カラムリスト展開ディレクティブ <expand>` を使用することで、上記のSELECT文をより簡潔に記述することができます。" |
113 | 113 |
|
114 | | -#: ../../aggregate-strategy.rst:166 |
| 114 | +#: ../../aggregate-strategy.rst:170 |
115 | 115 | msgid "How expansion works" |
116 | 116 | msgstr "カラムリスト展開の仕組み" |
117 | 117 |
|
118 | | -#: ../../aggregate-strategy.rst:168 |
| 118 | +#: ../../aggregate-strategy.rst:172 |
119 | 119 | msgid "The ``/*%expand*/*`` directive automatically expands into a column list following predefined aliasing rules." |
120 | 120 | msgstr "``/*%expand */*`` ディレクティブは、あらかじめ定義されたエイリアスルールを使用して列リストに自動的に展開します。" |
121 | 121 |
|
122 | | -#: ../../aggregate-strategy.rst:169 |
| 122 | +#: ../../aggregate-strategy.rst:173 |
123 | 123 | msgid "By default, all columns from all tables are included in the result set." |
124 | 124 | msgstr "デフォルトでは、すべてのテーブルのすべての列が結果セットに含まれます。" |
125 | 125 |
|
126 | | -#: ../../aggregate-strategy.rst:171 |
| 126 | +#: ../../aggregate-strategy.rst:175 |
127 | 127 | msgid "To selectively expand only specific tables, pass a comma-separated list of table aliases:" |
128 | 128 | msgstr "特定のテーブルのみを選択的に展開するには、テーブルエイリアスのカンマ区切りリストを渡します。" |
129 | 129 |
|
130 | | -#: ../../aggregate-strategy.rst:188 |
| 130 | +#: ../../aggregate-strategy.rst:192 |
131 | 131 | msgid "Here, only columns from tables ``e`` (``employee``) and ``d`` (``department``) are expanded." |
132 | 132 | msgstr "ここでは、テーブルの ``e`` (``employee``) と ``d`` (``department``) のカラムのみが展開されます。" |
133 | 133 |
|
134 | | -#: ../../aggregate-strategy.rst:189 |
| 134 | +#: ../../aggregate-strategy.rst:193 |
135 | 135 | msgid "The columns from table ``a`` (``address``) are explicitly specified." |
136 | 136 | msgstr "テーブル ``a`` (``address``) の列は明示的に指定されています。" |
137 | 137 |
|
0 commit comments