คอมโพเนนต์: ConceptTableMapping
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
คำอธิบายประกอบ |
การแมปกับรหัสของคอลัมน์ในตารางซึ่งมีฟิลด์
คุณค่าของแนวคิด การแมปนี้อาจละเว้นได้หากคอลัมน์ของตาราง
ที่มีค่าแนวคิดมีรหัสเดียวกันกับแนวคิด
|
แผนภาพ |
 |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
0 |
|
Attributes |
QName |
ประเภท |
คงที่ |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
toColumn |
LocalId |
|
|
จำเป็น |
รหัสของคอลัมน์ในตารางที่แมป |
|
แหล่งที่มา |
<xs:element name="mapConcept" minOccurs="0">
<xs:annotation>
<xs:documentation>A mapping to the id of the table column that contains the
values of the concept. This mapping may be omitted if the
table column that contains the concept values has the same
id as the concept id.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="toColumn" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
คำอธิบายประกอบ |
การแมปกับรหัสของคอลัมน์ในตารางซึ่งมีฟิลด์
ค่าของพร็อพเพอร์ตี้ของแนวคิด การแมปนี้อาจถูกตัดออกหาก
คอลัมน์ตารางที่มีค่าพร็อพเพอร์ตี้แนวคิดมีพร็อพเพอร์ตี้
เป็นรหัส พร็อพเพอร์ตี้เดียวจะแมปกับคอลัมน์ในตารางหลายคอลัมน์ได้
(หนึ่งค่าต่อภาษา) ด้วยการระบุค่าที่แตกต่างกันสำหรับภาษานั้นๆ
|
แผนภาพ |
 |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
0 |
maxOccurs: |
ไร้ขอบเขต |
|
Attributes |
QName |
ประเภท |
คงที่ |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
lang |
|
|
|
ไม่บังคับ |
|
อ้างอิง |
LocalId |
|
|
จำเป็น |
รหัสของพร็อพเพอร์ตี้แนวคิดที่แมป |
toColumn |
LocalId |
|
|
จำเป็น |
รหัสของคอลัมน์ในตารางที่แมป |
|
แหล่งที่มา |
<xs:element name="mapProperty" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A mapping to the id of the table column that contains the
values of a property of the concept. This mapping may be
omitted if the table column that contains the concept
property values has the property id as its id.
A single property can be mapped to multiple table columns
(one per language) by specifying different values for the
language attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped concept property.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="toColumn" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="xml:lang" use="optional">
<xs:annotation>
<xs:documentation>The language/locale of the values in the mapped column.
See [BCP 47] for possible values of the xml:lang
attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
ประเภทที่ซับซ้อน: ConceptTableMapping
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
คำอธิบายประกอบ |
การแมปกับตารางที่ให้ข้อมูลสำหรับ
แนวคิด |
แผนภาพ |
 |
ใช้โดย |
|
รุ่น |
mapConcept{0,1} , mapProperty* |
เด็ก |
mapConcept, mapProperty |
Attributes |
QName |
ประเภท |
คงที่ |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
อ้างอิง |
LocalId |
|
|
จำเป็น |
รหัสของตารางที่มีข้อมูลสำหรับ
แนวคิด |
|
แหล่งที่มา |
<xs:complexType name="ConceptTableMapping">
<xs:annotation>
<xs:documentation>A mapping to a table that provides data for a concept.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="mapConcept" minOccurs="0">
<xs:annotation>
<xs:documentation>A mapping to the id of the table column that contains the
values of the concept. This mapping may be omitted if the
table column that contains the concept values has the same
id as the concept id.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="toColumn" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="mapProperty" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A mapping to the id of the table column that contains the
values of a property of the concept. This mapping may be
omitted if the table column that contains the concept
property values has the property id as its id.
A single property can be mapped to multiple table columns
(one per language) by specifying different values for the
language attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped concept property.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="toColumn" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="xml:lang" use="optional">
<xs:annotation>
<xs:documentation>The language/locale of the values in the mapped column.
See [BCP 47] for possible values of the xml:lang
attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ref" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the table that contains data for the concept.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|
เนมสเปซ |
ไม่มีเนมสเปซ |
คำอธิบายประกอบ |
รหัสของคอลัมน์ในตารางที่แมป |
ประเภท |
LocalId |
พร็อพเพอร์ตี้ |
|
ข้อมูลประกอบ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="toColumn" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
เนมสเปซ |
ไม่มีเนมสเปซ |
คำอธิบายประกอบ |
รหัสของพร็อพเพอร์ตี้แนวคิดที่แมป |
ประเภท |
LocalId |
พร็อพเพอร์ตี้ |
|
ข้อมูลประกอบ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="ref" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped concept property.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
เนมสเปซ |
ไม่มีเนมสเปซ |
คำอธิบายประกอบ |
รหัสของคอลัมน์ในตารางที่แมป |
ประเภท |
LocalId |
พร็อพเพอร์ตี้ |
|
ข้อมูลประกอบ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="toColumn" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the mapped table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
เนมสเปซ |
ไม่มีเนมสเปซ |
คำอธิบายประกอบ |
รหัสของตารางที่มีข้อมูลสำหรับ
แนวคิด |
ประเภท |
LocalId |
พร็อพเพอร์ตี้ |
|
ข้อมูลประกอบ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="ref" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The id of the table that contains data for the concept.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
สร้างโดยใช้
ตัวแก้ไข XML ของ oXygen
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-25 UTC"],[],["`ConceptTableMapping` defines how to link a concept to its data table. `mapConcept` maps a concept's values to a specific table column (`toColumn`), which can be omitted if the column ID matches the concept ID. `mapProperty` maps concept properties to table columns, using `ref` for the property ID and `toColumn` for the column ID; it can specify different columns for different languages via the `lang` attribute. Both can be omitted in specific circumstances. The `@ref` attribute of `ConceptTableMapping` refers to the ID of the table.\n"]]