Show / Hide Table of Contents

Class StatementActivity

Represents a statement that occurs in a data collection instrument.

Inheritance
Object
NotificationObject
IdentifiableBase
VersionableBase
DescribableBase
ActivityBase
StatementActivity
Implements
INotifyPropertyChanged
IVersionable
IHasCustomFields
IDescribable
IBindable
IIdentifiable
IVisitable
Inherited Members
ActivityBase.UserData
ActivityBase.InParameters
ActivityBase.OutParameters
ActivityBase.Bindings
ActivityBase.ExternalAids
ActivityBase.OtherInterviewerInstruction
ActivityBase.GetChildren()
ActivityBase.DisplayLabel
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.ThumbnailImageUri
VersionableBase.BannerImageUri
VersionableBase.ManagedCollections
VersionableBase.ManageCollection(INotifyCollectionChanged, String)
VersionableBase.RemoveChild(IVersionable, IList[])
VersionableBase.RemoveChild(IdentifierTriple, IList[])
VersionableBase.AddChild(IVersionable)
VersionableBase.ChildTypesAccepted
VersionableBase.TryReplaceChild<T>(Func<T>, Action<T>, IdentifierTriple, IVersionable)
VersionableBase.ToString()
IdentifiableBase.DefaultAgencyId
IdentifiableBase.AgencyId
IdentifiableBase.Identifier
IdentifiableBase.UserIds
IdentifiableBase.GetUserIdValue(String)
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
NotificationObject.RaisePropertyChanged<T>(Expression<Func<T>>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class StatementActivity : ActivityBase, INotifyPropertyChanged, 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
String
Overrides
ActivityBase.Header

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

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
Int32

The number of children removed from the item.

Overrides
ActivityBase.RemoveChild(IdentifierTriple)
Exceptions
Type Condition
ArgumentNullException

child

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
Int32

The number of children replaced.

Overrides
ActivityBase.ReplaceChild(IdentifierTriple, IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

Implements

System.ComponentModel.INotifyPropertyChanged
IVersionable
IHasCustomFields
IDescribable
IBindable
IIdentifiable
IVisitable

Extension Methods

VersionableExtensions.GetMetadata(IVersionable)
VersionableExtensions.GetHeader(IVersionable)
VersionableExtensions.SetUserAttribute(IVersionable, String, String)
VersionableExtensions.GetUserAttribute(IVersionable, String)
VersionableExtensions.GetUserAttributeInt(IVersionable, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, String, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, String, IVersionable)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, IVersionable)
VersionableCustomFieldExtensions.GetCustomFieldStringValue(IHasCustomFields, String)
VersionableCustomFieldExtensions.GetCustomFieldUriValue(IHasCustomFields, String)
VersionableCustomFieldExtensions.GetCustomFieldMultilingualStringValue(IHasCustomFields, String)
VersionableUserIdExtensions.SetUserId(IVersionable, String, String)
Extensions.GetMultilingualStrings(IVersionable)
Extensions.GetDdiFragmentRepresentation(IVersionable, DDIWorkflowSerializer, XmlDocument)
Extensions.GetDdi32FragmentRepresentation(IVersionable, Ddi32Serializer)
Extensions.GetDdi33FragmentRepresentation(IVersionable, Ddi33Serializer)
NamingHelper.GetBaseFileNameForItem(IVersionable)
In This Article
Back to top Generated by DocFX