Class StatementActivity
Represents a statement that occurs in a data collection instrument.
Inheritance
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class StatementActivity : ActivityBase, IVersionable, IHasCustomFields, IDescribable, IBindable, IIdentifiable, IVisitable
Constructors
StatementActivity()
Initializes a new instance of the StatementActivity class.
Declaration
public StatementActivity()
Properties
EstimatedTime
Gets or sets the estimated time for the respondent or interviewer to process the statement.
Declaration
public TimeSpan EstimatedTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The estimated time. |
Header
Gets the header, used for displaying the item in a tree view. This is the same as DisplayLabel.
Declaration
public override string Header { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
InterviewerInstructions
Gets or sets the interviewer instructions associated with the statement.
Declaration
public MultilingualString InterviewerInstructions { get; set; }
Property Value
Type | Description |
---|---|
MultilingualString | The interviewer instructions. |
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
StatementText
Gets or sets the statement text.
Declaration
public MultilingualString StatementText { get; set; }
Property Value
Type | Description |
---|---|
MultilingualString | The statement text. |
Methods
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. |