Difference between revisions of "OutcomeSet class"
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|Name=<nowiki>OutcomeSet</nowiki> | |Name=<nowiki>OutcomeSet</nowiki> | ||
|Description=<nowiki>Outcome set for cati questionnaires.</nowiki> | |Description=<nowiki>Outcome set for cati questionnaires.</nowiki> | ||
− | |Constructors= | + | |InheritsFrom=object|Constructors= |
{{CGscriptConstructors_Template|Parameters= | {{CGscriptConstructors_Template|Parameters= | ||
{{CGscriptParameters_Template|Type=string|Name=<nowiki>name</nowiki>|Description=<nowiki>Name of global outcome set</nowiki>}} | {{CGscriptParameters_Template|Type=string|Name=<nowiki>name</nowiki>|Description=<nowiki>Name of global outcome set</nowiki>}} | ||
Line 10: | Line 10: | ||
|Description=<nowiki>Load existing outcome set</nowiki>}} | |Description=<nowiki>Load existing outcome set</nowiki>}} | ||
|Methods= | |Methods= | ||
− | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | + | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}} |
|Properties= | |Properties= | ||
{{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>Active</nowiki>|HasGetter=1|Description=<nowiki>Get if currently active</nowiki>}} | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>Active</nowiki>|HasGetter=1|Description=<nowiki>Get if currently active</nowiki>}} | ||
Line 19: | Line 19: | ||
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>Name</nowiki>|HasGetter=1|Description=<nowiki>Get name of outcome set</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>Name</nowiki>|HasGetter=1|Description=<nowiki>Get name of outcome set</nowiki>}} | ||
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | ||
− | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} |
}} | }} | ||
Latest revision as of 06:16, 2 July 2020
OutcomeSet
Outcome set for cati questionnaires.
Parent class
Inherits from object
Constructors
- (string name "Name of global outcome set") - Load existing global outcome set
- (int primaryKey "Key of outcome set") - Load existing outcome set
Methods
- (From object) string ToString() - The string representation of the object.
Properties
- bool Active { get; } - Get if currently active
- string Description { get; } - Get description of outcome set
- int Id { get; } - Get id of outcome set
- bool IsGlobal { get; } - Get if global available set, or local to a questionnaire
- array Items { get; } - Get/set items
- string Name { get; } - Get name of outcome set
- string ObjectTypeName { get; } - The name of the type of object.
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.
Examples
number qnaireRid = 15639974;
CatiSettings settings = new CatiSettings(qnaireRid);
OutcomeSet outComeSet = settings.OutcomeSet;
outComeSet.Name;//CATI - Ad Hoc (svarer ikke = 2 timer)