コンポーネント: 属性
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
要素: 属性 / 情報
名前空間 |
http://schemas.google.com/dspl/2010 |
アノテーション |
属性に関するテキスト情報。 |
図 |
|
タイプ |
情報 |
プロパティ |
|
モデル |
name、description{0,1}、url{0,1} |
Children |
description、name、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 |
アノテーション |
属性のデータ型。 |
図 |
|
プロパティ |
|
属性 |
QName |
タイプ |
固定 |
Default |
用途 |
Annotation |
形式 |
xs:文字列 |
|
|
省略可 |
値の形式: 値のテキスト表現の解析に使用されます。日付については [日付形式の仕様] をご覧ください。 |
参照 |
DataType |
|
|
required |
|
|
ソース |
<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}) |
Children |
conceptValue、info、type、value |
属性 |
QName |
タイプ |
固定 |
Default |
用途 |
Annotation |
コンセプト |
xs:QName |
|
|
省略可 |
属性の値に対応するコンセプトへの参照。属性がタイプを指定する場合、その型は参照されるコンセプトの型と一致する必要があります。外部コンセプトへの参照は、「接頭辞:other_concept_id」の形式にする必要があります。「接頭辞」は、外部データセットの名前空間に使用される接頭辞です(XML 名前空間を参照)。 |
id |
ローカル ID |
|
|
省略可 |
コンセプト属性の ID。この識別子は、(属性とプロパティ全体で)コンセプト内で一意である必要があります。コンセプト属性が指定されている場合、この ID を省略できます。その場合、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>
|
属性: 属性 / タイプ / @ref
名前空間 |
名前空間がありません |
タイプ |
DataType |
プロパティ |
|
Facets |
enumeration |
文字列 |
|
enumeration |
float |
|
enumeration |
整数 |
|
enumeration |
boolean |
|
enumeration |
date |
|
enumeration |
concept |
|
|
使用アカウント |
|
ソース |
<xs:attribute name="ref" type="DataType" use="required"/>
|
名前空間 |
名前空間がありません |
アノテーション |
値の形式: 値のテキスト表現の解析に使用されます。日付については [日付形式の仕様] をご覧ください。 |
タイプ |
xs:文字列 |
プロパティ |
|
使用アカウント |
|
ソース |
<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>
|
属性: 属性 / @id
名前空間 |
名前空間がありません |
アノテーション |
コンセプト属性の ID。この識別子は、(属性とプロパティ全体で)コンセプト内で一意である必要があります。コンセプト属性が指定されている場合、この ID を省略できます。その場合、ID は暗黙的に、参照されるコンセプトのローカル名で作成されます。たとえば、<attribute concept="unit:currency;" は <attribute id="currency"
concept="unit:currency"/> と同等です |
タイプ |
ローカル ID |
プロパティ |
|
Facets |
|
使用アカウント |
|
ソース |
<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>
|
属性: 属性 / @concept
名前空間 |
名前空間がありません |
アノテーション |
属性の値に対応するコンセプトへの参照。属性で型を指定する場合は、型が参照するコンセプトの型と一致する必要があります。外部コンセプトへの参照は、「接頭辞: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 および関連会社の登録商標です。
最終更新日 2023-01-19 UTC。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]