Link to this page
Human Health Exposure Analysis Resource
Id | http://datashapes.org/dash#Constructor
http://datashapes.org/dash#Constructor
|
---|---|
Preferred Name | Constructor |
Definitions |
A script that is executed when a new instance of the class associated via dash:constructor is created, e.g. from a New button. Such scripts typically declare one or more parameters that are collected from the user when the script starts. The values of these parameters can be used as named variables in the script for arbitrary purposes such as setting the URI or initializing some property values of the new instance.
The variable focusNode will hold the named node of the selected type, for example when a constructor is associated with a superclass but the user has pressed New for a subclass.
The last expression of the script will be used as result of the constructor, so that the surrounding tool knows which resource shall be navigated to next.
|
Type | http://www.w3.org/2002/07/owl#Class |
All Properties
definition | A script that is executed when a new instance of the class associated via dash:constructor is created, e.g. from a New button. Such scripts typically declare one or more parameters that are collected from the user when the script starts. The values of these parameters can be used as named variables in the script for arbitrary purposes such as setting the URI or initializing some property values of the new instance. The variable focusNode will hold the named node of the selected type, for example when a constructor is associated with a superclass but the user has pressed New for a subclass. The last expression of the script will be used as result of the constructor, so that the surrounding tool knows which resource shall be navigated to next. |
---|---|
preferred label | Constructor
|
label | Constructor
|
comment | A script that is executed when a new instance of the class associated via dash:constructor is created, e.g. from a New button. Such scripts typically declare one or more parameters that are collected from the user when the script starts. The values of these parameters can be used as named variables in the script for arbitrary purposes such as setting the URI or initializing some property values of the new instance.
The variable focusNode will hold the named node of the selected type, for example when a constructor is associated with a superclass but the user has pressed New for a subclass.
The last expression of the script will be used as result of the constructor, so that the surrounding tool knows which resource shall be navigated to next.
|
prefLabel | Constructor
|
note | A script that is executed when a new instance of the class associated via dash:constructor is created, e.g. from a New button. Such scripts typically declare one or more parameters that are collected from the user when the script starts. The values of these parameters can be used as named variables in the script for arbitrary purposes such as setting the URI or initializing some property values of the new instance.
The variable focusNode will hold the named node of the selected type, for example when a constructor is associated with a superclass but the user has pressed New for a subclass.
The last expression of the script will be used as result of the constructor, so that the surrounding tool knows which resource shall be navigated to next.
|
prefixIRI | dash:Constructor
|
subClassOf | |
type |
Delete | Subject | Author | Type | Created |
---|---|---|---|---|
No notes to display |