Show / Hide Table of Contents

Class MeasurementActivity

Represents a control construct in a data collection instrument that presents a Measurement

Inheritance
object
NotificationObject
IdentifiableBase
VersionableBase
DescribableBase
ActivityBase
MeasurementActivity
Implements
INotifyPropertyChanged
IVersionable
IDescribable
IBindable
IIdentifiable
IHasCustomFields
IVisitable
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.OtherMaterials
VersionableBase.BasedOn
VersionableBase.SucceededBy
VersionableBase.Attachments
VersionableBase.ThumbnailImageUri
VersionableBase.BannerImageUri
VersionableBase.DisableChangeTracking
VersionableBase.RemoveChildHelper(IVersionable, params 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.CustomFields
IdentifiableBase.UserAttributes
IdentifiableBase.GetUserIdValue(string)
IdentifiableBase.RemoveChildHelper(IdentifierTriple, params IList[])
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(string)
NotificationObject.OnPropertyChanged(string)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, string)
NotificationObject.WatchProperty(INotifyPropertyChanged, string)
NotificationObject.WatchCollection(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 MeasurementActivity : ActivityBase, INotifyPropertyChanged, IVersionable, IDescribable, IBindable, IIdentifiable, IHasCustomFields, IVisitable

Fields

MultipleChoiceLayoutKey

User Attribute Key for MultipleChoiceLayout ///

Declaration
public static string MultipleChoiceLayoutKey
Field Value
Type Description
string

Properties

AnalysisUnit

Gets or sets the type of entity about which the Measurement'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
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
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

Measurement

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

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

MultipleChoiceLayout

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

Declaration
public MultipleChoiceLayout? MultipleChoiceLayout { get; set; }
Property Value
Type Description
MultipleChoiceLayout?

ResponseUnit

Gets the type of entity that responds to the Measurement.

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
int

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
int

The number of children replaced.

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

child

WatchProperties()

Watch for property changed events

Declaration
protected override void WatchProperties()
Overrides
ActivityBase.WatchProperties()

Implements

INotifyPropertyChanged
IVersionable
IDescribable
IBindable
IIdentifiable
IHasCustomFields
IVisitable

Extension Methods

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