Description
A comment line for describing entities.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
|
|
|
Element |
Tag |
Super |
Flags |
schemaitem
|
schemaitem |
comment |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
wfschema
|
wfschema |
schemaitem |
|
Description
The root element of a wizzi factory schema.
r include/s
Attributes
Name |
Tag |
Type |
Default |
Inherited |
Flags |
Description |
preserveTags |
preserve-tags |
boolean |
false |
|
|
If declared, the WizziModelLoader will preserve, in the loaded WizziModelInstance,
the tags used in the source IttfDocuments.
|
mTreeIsPreprocessed |
mtree-is-preprocessed |
boolean |
false |
|
|
If declared, the WizziModelLoader will preprocess the builded mTree
before loading the WizziModelInstance,
|
unknownElementReplacer |
unknown-element-replacer |
string |
string |
|
|
v4 (pre-release) implementation
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
element |
elements |
one-to-many |
|
|
|
exportTo |
exportTos |
one-to-many |
|
|
|
require |
requires |
one-to-many |
|
|
|
method |
methods |
one-to-many |
|
|
|
declare |
declares |
one-to-many |
|
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
include
|
include |
schemaitem |
|
Description
Represent the root node of another external schema.
The wzName contains a blank separated name-value pair:
- the name is the type name of the external wfschema
- the value is the wzTag of the root node of the external wfschema (defaults to name)
see wizzi/models/bootstrap/t/wfschema/include.js.ittf
examples
include js module
- js : the external wfschema
- module : the wzTag of the root node of the js wfschema
include css
- css : the external wfschema
- css : the wzTag of the root node of the css wfschema
Children nodes will be loaded by the model factory of the external schema,
whose plugin must be listed in the plugin configuration when creating
the wizzi.wizziFactory instance.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
element
|
e |
schemaitem |
|
Description
A schema element. A classifier model element that may have attributes and relations.
Attributes
Name |
Tag |
Type |
Default |
Inherited |
Flags |
Description |
super |
super |
string |
string |
|
|
The base (super) element from which this element derives.
Attributes and relations of the base element are inherited.
|
isAbstract |
is-abstract |
boolean |
false |
|
|
This element is abstract and cannot be declared in Ittf documents.
|
isRoot |
is-root |
boolean |
false |
|
|
Mark the element as the root element of the schema.
If not explicit, the root element is inferred,
and the first element declared in the schema is assumed as the root.
|
tagInternal |
tag |
string |
string |
|
|
The tag used to declare this element in Ittf documents.
Optional. The default is the element IttfNodeValue
|
xmlTagInternal |
xml-tag |
string |
string |
|
|
The Xml tag used for this element when persisted in Xml Format.
|
tagType |
tag-type |
string |
string |
|
|
Any node tag of this type will match this element
restrict
Any node tag of this type will match this element number |
|
|
acceptAnyTag |
any |
string |
string |
|
|
This element can have any text as a child element.
The IttfNodeValue of this attribute must be the name of the element collection
to which child text nodes will be appended.
Any child node produces an internal ANY element that is appended to this collection.
TODO example
|
nameIsRequired |
name-is-required |
boolean |
false |
|
|
This element must have a not empty IttfNodeValue
|
addToChildren |
add-to-children |
boolean |
false |
|
|
Every child node of this element will be added to the wzChildren collection.
Artifact generators will use the wzElement attribute to distinguish child elements.
|
suppressCollectionEmit |
suppress-collection-emit |
boolean |
false |
|
|
TODO ???
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
attribute |
attributes |
one-to-many |
|
|
|
relation |
relations |
one-to-many |
|
|
|
restrict |
restricts |
one-to-many |
|
|
|
method |
methods |
one-to-many |
|
|
|
include |
includes |
one-to-many |
|
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
attribute
|
a |
schemaitem |
|
Description
An element attribute.
Attributes
Name |
Tag |
Type |
Default |
Inherited |
Flags |
Description |
tagInternal |
tag |
string |
string |
|
|
The tag used to declare the attribute in IttfDocuments.
Optional. The default is the attribute IttfNodeValue
|
type |
type |
string |
string |
|
|
The attribute data type
restrict
The attribute data type string |
|
|
default |
default |
string |
string |
|
|
The attribute default value
|
isRequired |
is-required |
boolean |
false |
|
|
If true the attribute must be declared.
|
isDataType |
is-datatype |
boolean |
false |
|
|
This attribute is a datatype attribute and type services will be available to artifact generators.
|
defaultWhenDeclared |
default-when-declared |
string |
string |
|
|
When the attribute is declared without a IttfNodeValue, this will be its value.
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
restrict |
restricts |
one-to-many |
|
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
relation
|
r |
schemaitem |
|
Description
A relation to a child element.
By default is a one-to-many relation.
Can be set to a one-to-one, declaring the attribute isOneToOne.
Attributes
Name |
Tag |
Type |
Default |
Inherited |
Flags |
Description |
isOneToOne |
one-to-one |
boolean |
false |
|
|
|
noGetMethod |
no-get |
boolean |
false |
|
|
|
hasAddOnce |
add-once |
boolean |
false |
|
|
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
restrict
|
restrict |
schemaitem |
|
Description
Group of restrictions to the element or attribute values
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
facet |
facets |
one-to-many |
|
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
facet
|
facet |
schemaitem |
is-abstract |
Description
The abstract base class for facet restrictions
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
enumFacet
|
enum |
facet |
|
Description
A restriction of type enumeration applied to an attribute.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
maxLengthFacet
|
max-length |
facet |
|
Description
A restriction of type maximum length applied to an attribute.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
minLengthFacet
|
min-length |
facet |
|
Description
A restriction of type minimum length applied to an attribute.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
maxValueFacet
|
max-value |
facet |
|
Description
A restriction of type maximum value applied to an attribute.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
minValueFacet
|
min-value |
facet |
|
Description
A restriction of type minimum value applied to an attribute.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
regexpFacet
|
regexp |
facet |
|
Description
A restriction of type regexp test applied to an attribute.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
elementFacet
|
element |
facet |
|
Description
A restriction of type allowed child element applied to an element.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
exportTo
|
export-to |
schemaitem |
|
Description
Require the emission, in the WizziModelType of the schema, of a function
for exporting the model instance to a different format.
There are a few built-in ExportTo functions. New export formats may be created
by WizziPackage developers using methods.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xrequire
|
require |
schemaitem |
|
Description
A node-js require statement that is emitted in the WizziModelType of the schema.
The IttfNodeValue is the package name. It is also the variable name of the required package
unless a declare-var attribute is present.
Attributes
Name |
Tag |
Type |
Default |
Inherited |
Flags |
Description |
kind |
kind |
string |
string |
|
|
restrict
|
declareVar |
declare-var |
string |
string |
|
|
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
declare
|
declare |
schemaitem |
|
Description
a section for top level (module scope) variable and functions declarations
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
|
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
method
|
m |
schemaitem |
|
Description
A method of an element pseudo-class generated in the WizziModelType.
Attributes
Name |
Tag |
Type |
Default |
Inherited |
Flags |
Description |
emitkey |
emitkey |
string |
string |
|
|
The emit key of the artifact which should insert this method.
Can be any string that artifact generators will filter.
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
param |
params |
one-to-many |
|
|
|
require |
requires |
one-to-many |
|
|
|
statement |
statements |
one-to-many |
|
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
param
|
param |
schemaitem |
|
Description
A parameter of a method or function element.
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
statement
|
statement |
schemaitem |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
|
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xvar
|
var |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
decl
|
decl |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
iif
|
iif |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xif
|
if |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
elif
|
elif |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
then
|
then |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xelse
|
else |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xswitch
|
switch |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xcase
|
case |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xfor
|
for |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
foreach
|
foreach |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xbreak
|
break |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xcontinue
|
continue |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xwhile
|
while |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xdo
|
do |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xtry
|
try |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xcatch
|
catch |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xfinally
|
finally |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xthrow
|
throw |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xreturn
|
return |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
set
|
set |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
log
|
log |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
call
|
_ |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
jsObject
|
{ |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
jsArray
|
[ |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
jsPropertyOrValue
|
@ |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xfunction
|
function |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
xnew
|
new |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
codeline
|
+ |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|
Element |
Tag |
Super |
Flags |
param
|
param |
statement |
|
Relations
Name |
Role |
Cardinality |
Inherited |
Flags |
Description |
statement |
statements |
one-to-many |
statement |
|
|
comment |
comments |
one-to-many |
comment |
|
|