Component: ConceptTableMapping
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
ConceptTableMapping defines how a concept's data is mapped to a specific table within a dataset.
It uses mapConcept to optionally map the concept itself to a column and mapProperty to map the concept's properties to columns, potentially with language specifications.
Both mapConcept and mapProperty elements require toColumn and ref attributes to identify the target column and the concept/property being mapped, respectively.
The ConceptTableMapping complex type uses a ref attribute to identify the table containing the concept's data.
Namespace
http://schemas.google.com/dspl/2010
Annotations
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.
Diagram
Properties
content:
complex
minOccurs:
0
Attributes
QName
Type
Fixed
Default
Use
Annotation
toColumn
LocalId
required
The id of the mapped table column.
Source
<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 >
Namespace
http://schemas.google.com/dspl/2010
Annotations
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.
Diagram
Properties
content:
complex
minOccurs:
0
maxOccurs:
unbounded
Attributes
QName
Type
Fixed
Default
Use
Annotation
lang
optional
ref
LocalId
required
The id of the mapped concept property.
toColumn
LocalId
required
The id of the mapped table column.
Source
<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 >
Complex Type: ConceptTableMapping
Namespace
http://schemas.google.com/dspl/2010
Annotations
A mapping to a table that provides data for a
concept.
Diagram
Used by
Model
mapConcept{0,1} , mapProperty*
Children
mapConcept , mapProperty
Attributes
QName
Type
Fixed
Default
Use
Annotation
ref
LocalId
required
The id of the table that contains data for the
concept.
Source
<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 >
Namespace
No namespace
Annotations
The id of the mapped table column.
Type
LocalId
Properties
Facets
Used by
Source
<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 >
Namespace
No namespace
Annotations
The id of the mapped concept property.
Type
LocalId
Properties
Facets
Used by
Source
<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 >
Namespace
No namespace
Annotations
The id of the mapped table column.
Type
LocalId
Properties
Facets
Used by
Source
<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 >
Namespace
No namespace
Annotations
The id of the table that contains data for the
concept.
Type
LocalId
Properties
Facets
Used by
Source
<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 >
Created using the
oXygen XML Editor .
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[null,null,["Last updated 2024-06-26 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"]]