Class QuestionGrid
Represents a grid of questions, defined by question text and one or more dimensions. Dimensions can be pre-defined or rosters of items specified by the respondent.
Inheritance
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class QuestionGrid : CaptureBase, IVersionable, IVisitable, IHasCustomFields, IDescribable, ISummaryText, IBindable, IIdentifiable
Constructors
QuestionGrid()
Initializes a new instance of the QuestionGrid class.
Declaration
public QuestionGrid()
Fields
QuestionGridTypeKey
User Attribute Key for QuestionGridType
Declaration
public static string QuestionGridTypeKey
Field Value
Type | Description |
---|---|
System.String |
Properties
Attachments
Gets a collection of file URIs stored in the File Storage Service attached to this item.
Declaration
public override ObservableCollection<Attachment> Attachments { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Attachment> |
Overrides
ChildTypesAccepted
Gets the child types that may be added to this item type.
Declaration
public override Collection<Guid> ChildTypesAccepted { get; }
Property Value
Type | Description |
---|---|
Collection<Guid> | The child types that may be added to this item type. |
Overrides
Concepts
Gets the concepts measured by the question.
Declaration
public ObservableCollection<Concept> Concepts { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Concept> |
Dimensions
Gets a collection of dimensions that define the grid.
Declaration
public ObservableCollection<QuestionGridDimension> Dimensions { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<QuestionGridDimension> |
EstimatedTime
Gets or sets the estimated time it will take respondents to respond to the question.
Declaration
public TimeSpan EstimatedTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The estimated time. |
ExternalAids
Gets a collection of external aids used to help collect data, such as documents, images or movies.
Declaration
public ObservableCollection<OtherMaterial> ExternalAids { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<OtherMaterial> |
InterviewerInstructionReferences
Gets a list of interviewer instructions.
Declaration
public ObservableCollection<InterviewerInstruction> InterviewerInstructionReferences { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<InterviewerInstruction> |
InterviewerInstructions
Gets the interviewer instructions associated with a question.
Declaration
public MultilingualString InterviewerInstructions { get; }
Property Value
Type | Description |
---|---|
MultilingualString |
ItemType
Gets the universally unique identifier representing the item's type.
Declaration
public override Guid ItemType { get; }
Property Value
Type | Description |
---|---|
Guid | The identifier representing the item's type. |
Overrides
QuestionGridType
Gets or sets the type of the question grid.
Declaration
public QuestionGridType? QuestionGridType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<QuestionGridType> |
QuestionIntent
Gets or sets a description of the purpose of the question.
Declaration
public MultilingualString QuestionIntent { get; }
Property Value
Type | Description |
---|---|
MultilingualString | The question intent. |
QuestionText
Gets or sets the question text.
Declaration
public MultilingualString QuestionText { get; }
Property Value
Type | Description |
---|---|
MultilingualString | The question text. |
ResponseDomains
Gets the response domains for the question, determining the type of data to be collected by the question.
Declaration
public ObservableCollection<ResponseDomain> ResponseDomains { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<ResponseDomain> |
Summary
Returns the question text.
Declaration
public MultilingualString Summary { get; }
Property Value
Type | Description |
---|---|
MultilingualString |
Implements
Methods
AddChild(IVersionable)
Adds the provided child to this item.
Declaration
public override void AddChild(IVersionable child)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | child | The item to be added as a child of this item. |
Overrides
GetChildren()
Gets the identifiers of the item's children.
Declaration
public override ChildItemCollection GetChildren()
Returns
Type | Description |
---|---|
ChildItemCollection | The identifiers of the item's children. |
Overrides
RemoveChild(IdentifierTriple)
Removes the specified child.
Declaration
public override int RemoveChild(IdentifierTriple child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | child | The child to be removed. |
Returns
Type | Description |
---|---|
System.Int32 | The number of children removed from the item. |
Overrides
ReplaceChild(IdentifierTriple, IVersionable)
Replaces the child with the specified identifier with the provided item.
Declaration
public override int ReplaceChild(IdentifierTriple toReplace, IVersionable child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | toReplace | The identifier of the child to replace. |
IVersionable | child | The new child. |
Returns
Type | Description |
---|---|
System.Int32 | The number of children replaced. |