คอมโพเนนต์: แอตทริบิวต์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
คำอธิบายประกอบ |
ข้อมูลที่เป็นข้อความเกี่ยวกับแอตทริบิวต์ |
แผนภาพ |
 |
ประเภท |
ข้อมูล |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
minOccurs: |
0 |
|
รุ่น |
name , description{0,1} , url{0,1} |
เด็ก |
รายละเอียด, ชื่อ, URL |
อินสแตนซ์ |
<info>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</info>
|
แหล่งที่มา |
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the attribute.</xs:documentation>
</xs:annotation>
</xs:element>
|
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
คำอธิบายประกอบ |
ประเภทข้อมูลของแอตทริบิวต์ |
แผนภาพ |
 |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
minOccurs: |
0 |
|
Attributes |
QName |
ประเภท |
คงที่ |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
รูปแบบ |
xs:string |
|
|
ไม่บังคับ |
รูปแบบสำหรับค่า ใช้เพื่อแยกวิเคราะห์ข้อความ
ซึ่งเป็นการแทนค่าต่างๆ ดูวันที่ได้ที่ [ข้อกำหนดรูปแบบวันที่] |
อ้างอิง |
DataType |
|
|
จำเป็น |
|
|
แหล่งที่มา |
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
ประเภทที่ซับซ้อน: แอตทริบิวต์
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
คำอธิบายประกอบ |
แอตทริบิวต์ของชุดข้อมูลหรือแนวคิด |
แผนภาพ |
 |
ใช้โดย |
|
รุ่น |
info{0,1} , type{0,1} , (value*
| conceptValue{0,1}) |
เด็ก |
conceptValue, info, type,
value |
Attributes |
QName |
ประเภท |
คงที่ |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
แนวคิด |
xs:QName |
|
|
ไม่บังคับ |
การอ้างอิงแนวคิดที่สอดคล้องกับค่าต่างๆ
ของแอตทริบิวต์ หากแอตทริบิวต์ระบุประเภท แล้วประเภท
ต้องตรงกับประเภทของแนวคิดที่อ้างอิง การอ้างอิงถึงแนวคิดภายนอกต้องอยู่ในรูปแบบ "prefix:other_concept_id" โดยที่ "prefix" คือคำนำหน้าที่ใช้สำหรับเนมสเปซของชุดข้อมูลภายนอก (ดูเนมสเปซ XML) |
id |
LocalId |
|
|
ไม่บังคับ |
รหัสของแอตทริบิวต์แนวคิด ตัวระบุนี้ต้องไม่ซ้ำกันภายในแนวคิด (ในแอตทริบิวต์และพร็อพเพอร์ตี้)
อาจละเว้น id ได้หากมีการระบุแอตทริบิวต์แนวคิดไว้ ในนั้น
รหัสคือความเรียบง่ายที่สร้างขึ้นด้วยค่า ชื่อท้องถิ่นของ
แนวคิดที่อ้างอิง เช่น <attribute
concept="unit:currency"/> เทียบเท่ากับ
<attribute id="currency"
concept="unit:currency"/> |
|
แหล่งที่มา |
<xs:complexType name="Attribute">
<xs:annotation>
<xs:documentation>An attribute of a dataset or a concept.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the attribute.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:group ref="ValuesGroup" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept attribute. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept attribute is specified. In that case, an id is
implicity created with value the local name of the referenced concept. For instance
<attribute concept="unit:currency"/>
is equivalent to
<attribute id="currency" concept="unit:currency"/></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concept" type="xs:QName" use="optional">
<xs:annotation>
<xs:documentation>A reference to a concept that corresponds to the values of the attribute.
If the attribute specifies a type, then the type must match the type of
the referenced concept.
A reference to an external concept must be of the form "prefix:other_concept_id",
where "prefix" is the prefix used for the namespace of the external dataset
(see XML namespaces).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|
เนมสเปซ |
ไม่มีเนมสเปซ |
ประเภท |
DataType |
พร็อพเพอร์ตี้ |
|
ข้อมูลประกอบ |
enumeration |
สตริง |
|
enumeration |
จำนวนลอยตัว |
|
การแจงนับ |
จำนวนเต็ม |
|
enumeration |
boolean |
|
enumeration |
วันที่ |
|
enumeration |
แนวคิด |
|
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="ref" type="DataType" use="required"/>
|
เนมสเปซ |
ไม่มีเนมสเปซ |
คำอธิบายประกอบ |
รูปแบบของค่า ใช้เพื่อแยกวิเคราะห์การนำเสนอข้อความ
มูลค่า ดูวันที่ได้ที่ [ข้อกำหนดรูปแบบวันที่] |
ประเภท |
xs:string |
พร็อพเพอร์ตี้ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
เนมสเปซ |
ไม่มีเนมสเปซ |
คำอธิบายประกอบ |
รหัสของแอตทริบิวต์แนวคิด ตัวระบุนี้ต้องไม่ซ้ำกันภายในแนวคิด (ในแอตทริบิวต์และพร็อพเพอร์ตี้) รหัสอาจเป็น
ละเว้นหากระบุแอตทริบิวต์แนวคิดไว้ ในกรณีดังกล่าว รหัสคือ
ความเรียบง่ายที่สร้างขึ้นด้วยชื่อท้องถิ่นของแนวคิดที่อ้างอิง
เช่น <attribute concept="unit:currency"/> เท่ากับ
เทียบเท่ากับ <attribute id="currency"
concept="unit:currency"/> |
ประเภท |
LocalId |
พร็อพเพอร์ตี้ |
|
ข้อมูลประกอบ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept attribute. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept attribute is specified. In that case, an id is
implicity created with value the local name of the referenced concept. For instance
<attribute concept="unit:currency"/>
is equivalent to
<attribute id="currency" concept="unit:currency"/></xs:documentation>
</xs:annotation>
</xs:attribute>
|
แอตทริบิวต์: แอตทริบิวต์ / @แนวคิด
เนมสเปซ |
ไม่มีเนมสเปซ |
คำอธิบายประกอบ |
การอ้างอิงแนวคิดที่สอดคล้องกับค่าของฟิลด์
หากแอตทริบิวต์ระบุประเภท ประเภทนั้นต้องตรงกับประเภทของแนวคิดที่อ้างอิง การอ้างอิงไปยังแนวคิดภายนอก
ต้องอยู่ในรูปแบบ "คำนำหน้า:other_concept_id" โดยที่
"คำนำหน้า" เป็นคำนำหน้าที่ใช้สำหรับเนมสเปซภายนอก
ชุดข้อมูล (ดูเนมสเปซ XML) |
ประเภท |
xs:QName |
พร็อพเพอร์ตี้ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="concept" type="xs:QName" use="optional">
<xs:annotation>
<xs:documentation>A reference to a concept that corresponds to the values of the attribute.
If the attribute specifies a type, then the type must match the type of
the referenced concept.
A reference to an external concept must be of the form "prefix:other_concept_id",
where "prefix" is the prefix used for the namespace of the external dataset
(see XML namespaces).</xs:documentation>
</xs:annotation>
</xs:attribute>
|
สร้างโดยใช้ oXygen XML Editor
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-13 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"]],["อัปเดตล่าสุด 2024-10-13 UTC"],[[["Attribute describes a dataset or concept attribute with optional textual information, data type, and values."],["It can optionally reference a concept corresponding to the attribute values."],["The attribute's data type can be specified using a \"ref\" attribute and optionally formatted using a \"format\" attribute."],["An optional \"id\" can be provided, which must be unique within the concept, otherwise it's implicitly derived from the referenced concept."]]],["The core content describes the structure and properties of an \"Attribute\" within a dataset or concept. An attribute can include optional textual information (`info`), its data `type` (required), and value. The `type` specifies the data type and can have a `format`. Attributes have an optional `id` for unique identification and can refer to another `concept`. The `info` section may include name, description, and URL.\n"]]