Show / Hide Table of Contents

Class QuestionActivity

Represents a control construct in a data collection instrument that presents a Question, QuestionGrid, or QuestionBlock to the respondent.

Inheritance
System.Object
NotificationObject
IdentifiableBase
VersionableBase
DescribableBase
ActivityBase
QuestionActivity
Inherited Members
ActivityBase.UserData
ActivityBase.InParameters
ActivityBase.OutParameters
ActivityBase.Bindings
ActivityBase.ExternalAids
ActivityBase.OtherInterviewerInstruction
DescribableBase.ItemName
DescribableBase.Label
DescribableBase.Description
VersionableBase.Accept(IVersionableVisitor)
VersionableBase.IsDirty
VersionableBase.IsPublished
VersionableBase.ChildrenDereferenced
VersionableBase.IsPopulated
VersionableBase.Version
VersionableBase.VersionDate
VersionableBase.VersionResponsibility
VersionableBase.VersionRationale
VersionableBase.CompositeId
VersionableBase.CustomFields
VersionableBase.UserAttributes
VersionableBase.OtherMaterials
VersionableBase.BasedOn
VersionableBase.Attachments
VersionableBase.ManagedCollections
VersionableBase.ManageCollection(INotifyCollectionChanged, String)
VersionableBase.RemoveChild(IVersionable, IList[])
VersionableBase.RemoveChild(IdentifierTriple, IList[])
VersionableBase.AddChild(IVersionable)
VersionableBase.ChildTypesAccepted
Algenta.Colectica.Model.VersionableBase.TryReplaceChild<T>(Func<>, Action<>, Algenta.Colectica.Model.Utility.IdentifierTriple, Algenta.Colectica.Model.IVersionable)
VersionableBase.ToString()
IdentifiableBase.DefaultAgencyId
IdentifiableBase.AgencyId
IdentifiableBase.Identifier
IdentifiableBase.UserIds
IdentifiableBase.GetUserIdValue(String)
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class QuestionActivity : ActivityBase, IVersionable, IHasCustomFields, IDescribable, IBindable, IIdentifiable, IVisitable

Fields

MultipleChoiceLayoutKey

User Attribute Key for MultipleChoiceLayout ///

Declaration
public static string MultipleChoiceLayoutKey
Field Value
Type Description
System.String

Properties

AnalysisUnit

Gets or sets the type of entity about which the question's data refers.

Declaration
public CodeValue AnalysisUnit { get; set; }
Property Value
Type Description
CodeValue

DisplayLabel

Gets the display label.

Declaration
public override string DisplayLabel { get; }
Property Value
Type Description
System.String
Overrides
ActivityBase.DisplayLabel
Remarks

The display label returns text to be displayed in a user interface or in generated documentation.

Header

Gets a display label for the activity, to be shown when the item is shown in a list or tree view.

Declaration
public override string Header { get; }
Property Value
Type Description
System.String
Overrides
ActivityBase.Header

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
VersionableBase.ItemType

MultipleChoiceLayout

Gets or sets the layout to use for a multiple choice question.

Declaration
public MultipleChoiceLayout? MultipleChoiceLayout { get; set; }
Property Value
Type Description
System.Nullable<MultipleChoiceLayout>

Question

Gets or sets the question to be presented to the respondent.

Declaration
public Question Question { get; set; }
Property Value
Type Description
Question

QuestionBlock

Gets or sets the question block to be presented to the respondent.

Declaration
public QuestionBlock QuestionBlock { get; set; }
Property Value
Type Description
QuestionBlock

QuestionGrid

Gets or sets the question grid to be presented to the respondent.

Declaration
public QuestionGrid QuestionGrid { get; set; }
Property Value
Type Description
QuestionGrid

ResponseUnit

Gets the type of entity that responds to the question.

Declaration
public CodeValue ResponseUnit { get; set; }
Property Value
Type Description
CodeValue

Methods

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
ActivityBase.GetChildren()

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
ActivityBase.RemoveChild(IdentifierTriple)

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.

Overrides
ActivityBase.ReplaceChild(IdentifierTriple, IVersionable)

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica