רכיב: Attribute
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
רכיב: מאפיין / מידע
מרחב שמות |
http://schemas.google.com/dspl/2010 |
הערות |
מידע טקסטואלי של המאפיין. |
תרשים |
 |
סוג |
מידע |
מאפיינים |
content: |
מורכב |
minOccurs: |
0 |
|
דגם |
name , description{0,1} , url{0,1} |
ילדים |
description, name, url |
Instance |
<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 |
הערות |
סוג הנתונים של המאפיין. |
תרשים |
 |
מאפיינים |
content: |
מורכב |
minOccurs: |
0 |
|
מאפיינים |
QName |
סוג |
קבוע |
ברירת מחדל |
שימוש |
הערה |
פורמט |
xs:string |
|
|
אופציונלי |
פורמט של הערך, המשמש לניתוח טקסט
ייצוג בווקטור של הערכים. אפשר לעיין ב[מפרט לפורמטים של תאריכים]
תאריכים. |
ref |
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,
ערך |
מאפיינים |
QName |
סוג |
קבוע |
ברירת מחדל |
שימוש |
הערה |
קונספט |
xs:QName |
|
|
אופציונלי |
הפניה למושג שתואם לערכים של המאפיין. אם המאפיין מציין סוג, הסוג חייב להתאים לסוג של הקונספט שאליו קיימת הפניה. הפניה אל
מושג חיצוני חייב להיות בצורה
'prefix:other_Concept_id', כאשר 'prefix' תואם לערך
הקידומת שבה נעשה שימוש במרחב השמות של מערך הנתונים החיצוני (ראו XML
מרחבי שמות). |
id |
LocalId |
|
|
אופציונלי |
המזהה של מאפיין הקונספט. המזהה הזה צריך להיות ייחודי בתוך הקונספט (בכל המאפיינים והנכסים).
ניתן להשמיט את המזהה אם צוין מאפיין הקונספט. במקרה כזה, נוצר מזהה באופן משתמע עם הערך של השם המקומי של הקונספט שאליו קיימת הפניה. לדוגמה: <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 |
מספר ממשי (float) |
|
enumeration |
מספר שלם |
|
ספירה |
בוליאני |
|
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>
|
מרחב שמות |
ללא מרחב שמות |
הערות |
הפניה למושג שתואם לערכים של המאפיין. אם המאפיין מציין סוג, אז הסוג חייב להתאים
ואת הסוג של הקונספט שאליו הוא מפנה. התייחסות לקונספט חיצוני
חייב להיות בפורמט "prefix:other_Concept_id", כאשר
'prefix' היא הקידומת שמשמשת למרחב השמות של
מערך נתונים (ראו מרחבי שמות של 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
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-12 (שעון 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-09-12 (שעון 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"]]