Typ cxd:type

Popis jednoho místního typu v rámci jedné COMEX kmenové definici. Typ pak může být odkazován v rámci této definice uvedením jeho názvu na místo syntaxe začínající klíčovým názvem 'comex'. Usnadnění návrh definice rozšiřováním či upřesňováním některého z obecnějších COMEX typů uzlů.

Základní typ(y) uzlu(ů): typeElmType; structureDefinitionElmType; (řazeno od přímých po obecné).

syntax
<cxd:type
name="{string/xsd:QName}"
base="{string}"
enumeration="{string}"
fraction-digits="{number/xsd:nonNegativeInteger}"
length="{number/xsd:positiveInteger}"
max-exclusive="{number/xsd:double}"
max-inclusive="{number/xsd:double}"
max-length="{number/xsd:positiveInteger}"
min-exclusive="{number/xsd:double}"
min-inclusive="{number/xsd:double}"
min-length="{number/xsd:positiveInteger}"
total-digits="{number/xsd:positiveInteger}"
pattern="{string}"
union="{string}"
>
<cxd:lang ... /> ?
<cxd:property ... /> *
<cxd:array-element ... /> ?
</cxd:type>

Prvek cxd:t14-typeElmType se nachází ve jmenném prostoru http://www.flexideo.com/comex/definition.


Atributy

name - popis neuveden(typ: string) TYP HODNOTY: string (QName);

base - Výchozí typ, ze kterého je definovaný typ odvozován (pouze pokud není uveden atribut type). Typy jsou buď prosté nebo strukturované. U každého prostého typu by měl být uveden typ výchozí, ať již místní nebo některý z typů comex. U strukturovaných typů je base nepovinné a je-li uvedeno, pak jde o některý z místních typů a místní definice jej rozšřiřuje přidáváním další struktury. Prostý typ je naopak pouze dále omezován případnými restrikcemi.; Určení typu v prostoru comex. Buď obsahuje pouze název (name) na místně definovaný datový typ nebo typový odkaz začínající klíčovým slovem comex. Pak buď navazuje třída, rozsah a příp. modifikátor nebo název prostého datového typu z nabídky základních typů.; Syntaxe: typeName | comex.{trida}.{rozsah}.{modifikace}[.{vlastnost}](typ: string) TYP HODNOTY: string (string);

enumeration - Svislým oddělovačem (|) dělený seznam hodnot sloužících jako výčet možností.(typ: string) TYP HODNOTY: string (string);

fraction-digits - Počet číslic za desetinnou čárkou - přesnost desetinného čísla.(typ: number) TYP HODNOTY: number (xsd:nonNegativeInteger);

length - Počet znaků konstantní délky.(typ: number) TYP HODNOTY: number (xsd:positiveInteger);

max-exclusive - Číselná hodnota uzlu musí být menší než hodnota zde uvedená.(typ: number) TYP HODNOTY: number (xsd:double);

max-inclusive - Číselná hodnota uzlu musí být menší než nobo rovna hodnotě zde uvedená.(typ: number) TYP HODNOTY: number (xsd:double);

max-length - Maximální počet znaků nebo číslic, které je možné uvést.(typ: number) TYP HODNOTY: number (xsd:positiveInteger);

min-exclusive - Číselná hodnota uzlu musí být větší než hodnota zde uvedená.(typ: number) TYP HODNOTY: number (xsd:double);

min-inclusive - Číselná hodnota uzlu musí být větší než hodnota zde uvedená.(typ: number) TYP HODNOTY: number (xsd:double);

min-length - Minimální počet znaků nebo číslic, které je třeba uvést.(typ: number) TYP HODNOTY: number (xsd:positiveInteger);

total-digits - Maximální počet číslic hodnoty, vč. desetinných míst.(typ: number) TYP HODNOTY: number (xsd:positiveInteger);

pattern - Zápis regulárního výrazu JS, kterému musí uvedená hodnota uzlu odpovídat.(typ: string) TYP HODNOTY: string (string);

union - popis neuveden(typ: string) TYP HODNOTY: string (string);


Potomci


Uzel cxd:lang

Popis uzlu nebo celé struktury v určitém jazyce. Obsahuje texty zobrazované uživateli i dílčí poznámky.

Základní typ(y) uzlu(ů): langElmType;

syntax
<cxd:lang
code="{string}"
id="{number/xsd:positiveInteger}"
name="{string/xsd:Name}"
value="{string}"
message="{string}"
content="{string}"
label="{string}"
descr="{string}"
comment="{string}"
example="{string}"
>
<cxd:lang ... /> *
</cxd:lang>

Prvek cxd:lang se nachází ve jmenném prostoru http://www.flexideo.com/comex/definition.

Popis obsahu elementu cxd:lang viz. popis typu langElmType.


Uzel cxd:property

Popis uzlu property, který je potomkem uzlu t15-structureDefinitionElmType je umístěn v popisu typových uzlů.

Definice vlastnosti názvem a typem. Výskyt této definice určuje rodičovský uzel jako objekt.

Bližší popis viz. property v popisu typu structureDefinitionElmType.


Uzel cxd:array-element

Popis uzlu array-element, který je potomkem uzlu t15-structureDefinitionElmType je umístěn v popisu typových uzlů.

Uvedením tohoto uzlu sdělujete, že rodičovský uzel definuje pole. Typ prvků tohoto pole je dán popisem typu uvedeným pomocí array-element. Pole může tedy obsahovat jak prosté tak komplexní prvky (další pole či objekty).

Bližší popis viz. array-element v popisu typu structureDefinitionElmType.


Typ cxd:accessTyp cxd:envelopeTyp cxd:actionsTyp cxd:areaTyp cxd:inputTyp cxd:tableTyp cxd:connectionTyp cxd:contentTyp cxd:folder|cxd:table|cxd:bookmark|cxd:wizard|cxd:processTyp cxd:enabled-types|cxd:document-types|cxd:input-types|cxd:output-typesTyp cxd:viewsTyp cxd:frameTyp cxd:grid-featuresTyp cxd:confirm|cxd:success|cxd:errorTyp cxd:table-toolTyp cxd:headerTyp cxd:row-tool|cxd:preview-toolTyp cxd:langTyp cxd:modificationTyp cxd:styleTyp cxd:optionTyp cxd:frames|cxd:pages|cxd:modifiersTyp cxd:paramsTyp cxd:statement|cxd:replacementTyp cxd:segmentTypeTyp cxd:settingsTyp cxd:sqlTyp cxd:param|cxd:properties|cxd:input|cxd:outputTyp cxd:fieldTyp cxd:tree-item-featuresTyp cxd:typeTyp cxd:typesTyp cxd:check|cxd:condition|cxd:filter|cxd:calculate|cxd:appear-if|cxd:edit-if|cxd:part|cxd:with-param|cxd:value|cxd:call-method|cxd:testTyp cxd:custom-param|cxd:with-param