Component: ValuesGroup
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
ValuesGroup elements can contain multiple "value" elements or a single "conceptValue" element.
"value" elements can have multiple occurrences and may contain data in various locales using the "lang" attribute.
"conceptValue" elements use the "concept" attribute to link to a specific concept defined by a QName.
The ValuesGroup element itself can have attributes like "id", "type", and "format" to define the column's properties within a table.
ValuesGroup is used to represent a group of atomic values within a dataset's schema.
Namespace
http://schemas.google.com/dspl/2010
Diagram
Type
Value
Properties
content:
complex
minOccurs:
0
maxOccurs:
unbounded
Attributes
QName
Type
Fixed
Default
Use
Annotation
lang
optional
Source
<xs : element name = "value" type = "Value" minOccurs = "0" maxOccurs = "unbounded" / >
Element: ValuesGroup / conceptValue
Namespace
http://schemas.google.com/dspl/2010
Diagram
Properties
content:
complex
minOccurs:
0
Attributes
QName
Type
Fixed
Default
Use
Annotation
concept
xs:QName
required
Source
<xs : element name = "conceptValue" minOccurs = "0" >
<xs : complexType >
<xs : attribute name = "concept" type = "xs:QName" use = "required" / >
</ xs : complexType >
</ xs : element >
Namespace
No namespace
Type
xs:QName
Properties
Used by
Source
<xs : attribute name = "concept" type = "xs:QName" use = "required" / >
Namespace
No namespace
Annotations
The identifier of the table column.
Type
LocalId
Properties
Facets
Used by
Source
<xs : attribute name = "id" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The identifier of the table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Namespace
No namespace
Annotations
The data type of the table column. All values of the column in
the table must conform to this data type.
Type
DataType
Properties
Facets
enumeration
string
enumeration
float
enumeration
integer
enumeration
boolean
enumeration
date
enumeration
concept
Used by
Source
<xs : attribute name = "type" type = "DataType" use = "required" >
<xs : annotation >
<xs : documentation>The data type of the table column . All values of the
column in the table must conform to this data type .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Namespace
No namespace
Annotations
A format for the column, used to parse a textual representation
of the values. Date formats are defined by:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html
Type
xs:string
Properties
Used by
Source
<xs : attribute name = "format" type = "xs:string" use = "optional" >
<xs : annotation >
<xs : documentation>A format for the column , used to parse a textual
representation of the values .
Date formats are defined by :
http :// joda - time . sourceforge . net /api-release/org/joda/time/format/DateTimeFormat.html</xs : documentation >
</ xs : annotation >
</ xs : attribute >
Element: Group ValuesGroup
Namespace
http://schemas.google.com/dspl/2010
Annotations
A group of atomic values. There must be at most one value per
locale (xml:lang attribute), and at most one value with no locale. All
values are either value elements or conceptValue elements.
Diagram
Used by
Model
value* | conceptValue{0,1}
Children
conceptValue , value
Source
<xs : group name = "ValuesGroup" >
<xs : annotation >
<xs : documentation>A group of atomic values . There must be at most one value per locale
( xml : lang attribute ), and at most one value with no locale .
All values are either value elements or conceptValue elements .</ xs : documentation >
</ xs : annotation >
<xs : choice >
<xs : element name = "value" type = "Value" minOccurs = "0" maxOccurs = "unbounded" / >
<xs : element name = "conceptValue" minOccurs = "0" >
<xs : complexType >
<xs : attribute name = "concept" type = "xs:QName" use = "required" / >
</ xs : complexType >
</ xs : element >
</ xs : choice >
</ xs : group >
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."],[],["The `ValuesGroup` element defines a collection of atomic values, either as `value` or `conceptValue` elements. `conceptValue` must specify a `concept` attribute, while `value` can have a `lang` attribute. `ValuesGroup` attributes include `id` (required, up to 64 characters), `type` (required, with data type options), and `format` (optional, for parsing textual values). The `ValuesGroup` must contain one value per locale. The group is used by Table/column and complex types like Attribute and Values.\n"]]