Difference between revisions of "Common properties of Named Data"
Jump to navigation
Jump to search
Petr.Bures (talk | contribs) |
Petr.Bures (talk | contribs) |
||
Line 18: | Line 18: | ||
|Item type | |Item type | ||
|<sup>[[Legend of XML elements|[A]]]</sup> ENUM <code>ItemType</code> | |<sup>[[Legend of XML elements|[A]]]</sup> ENUM <code>ItemType</code> | ||
|Item type {String, Double, Enum, Set, EnumItem, DateTime, Table, Group, SoilPattern} | |Item type {<sup>[[Legend of XML elements|[V]]]</sup> String, Double, Enum, Set, EnumItem, DateTime, Table, Group, SoilPattern} | ||
|- | |- | ||
|Settings | |Settings |
Revision as of 18:29, 21 March 2022
Property | Template XML | Description |
---|---|---|
GUID | [A] STRING ID or GUID
|
Unique GUID of the named data element, is written to the ID attribute, if an alternative text identifier is used in the ID , optionally specified in the GUID attribute
|
Name | [E] Name
|
Element name, can be translated into multiple languages (see Multilingual text) |
Comment | [E] Comment
|
Optional comment, can be translated into multiple languages (see Multilingual text) |
Item type | [A] ENUM ItemType
|
Item type {[V] String, Double, Enum, Set, EnumItem, DateTime, Table, Group, SoilPattern} |
Settings | [E] Settings
|
Different for each element type |
Identifier | [A] STRING Ident
|
The optional identifier, used especially for libraries that have it prescribed, can then be reflected in the Mapping |
Example of the Template XML
<Item ID="{F12017FC-9AF4-4866-9FC2-BE7CF40B1A67}" ItemType="String">
<Name>
<Item Lang="CS" Text="Název zkoušky" />
<Item Lang="EN" Text="Test name" />
</Name>
<Comment>
<Item Lang="CS" Text="General / Fixed" />
</Comment>
<Settings Ident="ID123" />
</Item>