Wizzi schema wfstudio
Exports
transform
Element | Tag | Super | Flags |
---|---|---|---|
wfstudioitem | wfstudioitem |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
property | properties | one-to-many | |||
comment | comments | one-to-many |
Methods
Signature | Statements |
---|---|
propertyOfCategory
|
var ret = [];
foreach item in this.properties;
return ret;
|
Element | Tag | Super | Flags |
---|---|---|---|
comment | # | wfstudioitem |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Element | Tag | Super | Flags |
---|---|---|---|
property | property | wfstudioitem |
Attributes
Name | Tag | Type | Default | Inherited | Flags | Description |
---|---|---|---|---|---|---|
category | category | string | string | |||
name | name | string | string | |||
value | value | string | string |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Methods
Signature | Statements |
---|---|
wzInitialize
|
set this.name = this.wzName;
|
Element | Tag | Super | Flags |
---|---|---|---|
wfstudio | wfstudio | wfstudioitem |
Description
The root element
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
project | projects | one-to-many | |||
package | packages | one-to-many | |||
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Methods
Signature | Statements |
---|---|
wzinitialize
|
set this.packagesEx;
set this.projectsEx;
set this.schemas;
set this.artifacts;
var packageEx, folder;
foreach p in this.packages;
foreach p in this.projects;
set this.__jsonProps;
|
Element | Tag | Super | Flags |
---|---|---|---|
folder | folder | wfstudioitem |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
aspect | aspects | one-to-many | |||
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Element | Tag | Super | Flags |
---|---|---|---|
aspect | aspect | wfstudioitem |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Element | Tag | Super | Flags |
---|---|---|---|
project | project | wfstudioitem |
Attributes
Name | Tag | Type | Default | Inherited | Flags | Description |
---|---|---|---|---|---|---|
srcFolder | src-folder | string | string | |||
destFolder | dest-folder | string | string | |||
description | description | string | string |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
folder | folders | one-to-many | |||
aspect | aspects | one-to-many | |||
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Element | Tag | Super | Flags |
---|---|---|---|
xpackage | package | wfstudioitem |
Attributes
Name | Tag | Type | Default | Inherited | Flags | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kind | kind | string | kernel |
restrict
|
||||||||||
pluginName | plugin-name | string | string | |||||||||||
baseFolderUri | base-folder-uri | string | string | |||||||||||
srcFolder | src-folder | string | string | |||||||||||
destFolder | dest-folder | string | string | |||||||||||
ittfFolder | ittf-folder | string | string | |||||||||||
description | description | string | string |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
folder | folders | one-to-many | |||
aspect | aspects | one-to-many | |||
schema | schemas | one-to-many | |||
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Methods
Signature | Statements |
---|---|
wzinitialize
|
foreach f in this.folders;
|
wzverify
|
if this.kind === 'plugin' && verify.isEmpty(this.pluginName);
if verify.isEmpty(this.baseFolderUri);
_ this.getSrcFolder();
if verify.isEmpty(this.srcFolder);
_ this.getDestFolder();
if verify.isEmpty(this.destFolder);
|
getSrcFolder
|
if verify.isEmpty(this.srcFolder);
return this.srcFolder;
|
getDestFolder
|
if verify.isEmpty(this.destFolder);
return this.destFolder;
|
Element | Tag | Super | Flags |
---|---|---|---|
schema | schema | wfstudioitem |
Attributes
Name | Tag | Type | Default | Inherited | Flags | Description |
---|---|---|---|---|---|---|
srcPath | srcPath | string | string | |||
modelPath | modelPath | string | string | |||
factoryPath | factoryPath | string | string | |||
jsonDocPath | jsonDocPath | string | string | |||
htmlDocPath | htmlDocPath | string | string | |||
defaultArtifact | defaultArtifact | string | string | |||
defaultTransform | defaultTransform | string | string | |||
isPseudo | is-pseudo | boolean | false |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
artifact | artifacts | one-to-many | |||
transform | transforms | one-to-many | |||
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Methods
Signature | Statements |
---|---|
wzinitialize
|
foreach a in this.artifacts;
foreach t in this.transforms;
var srcFolder;
var destFolder;
set this.srcPath;
set this.modelPath;
set this.factoryPath;
set this.jsonDocPath;
set this.htmlDocPath;
|
Element | Tag | Super | Flags |
---|---|---|---|
artifact | artifact | wfstudioitem |
Attributes
Name | Tag | Type | Default | Inherited | Flags | Description |
---|---|---|---|---|---|---|
targetLanguage | language | string | string | |||
isDefault | is-default | boolean | false | |||
name | name | string | string | |||
srcPath | srcPath | string | string | |||
modulePath | modulePath | string | string |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Methods
Signature | Statements |
---|---|
wzinitialize
|
var s = this.wzParent;
var p = s.wzParent;
set this.name = s.wzName + '/' + this.wzName;
set this.srcPath;
set this.modulePath;
|
Element | Tag | Super | Flags |
---|---|---|---|
transform | transform | wfstudioitem |
Attributes
Name | Tag | Type | Default | Inherited | Flags | Description |
---|---|---|---|---|---|---|
targetLanguage | language | string | string | |||
isDefault | is-default | boolean | false | |||
name | name | string | string | |||
srcPath | srcPath | string | string | |||
modulePath | modulePath | string | string |
Relations
Name | Role | Cardinality | Inherited | Flags | Description |
---|---|---|---|---|---|
property | properties | one-to-many | wfstudioitem | ||
comment | comments | one-to-many | wfstudioitem |
Methods
Signature | Statements |
---|---|
wzinitialize
|
var s = this.wzParent;
var p = s.wzParent;
set this.name = s.wzName + '/' + this.wzName;
set this.srcPath;
set this.modulePath;
|