Show / Hide Table of Contents

Class DataCollection

Describes information about data collection and post-collection processing.

Inheritance
object
NotificationObject
IdentifiableBase
VersionableBase
DescribableBase
DataCollection
Implements
INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IDescribable
IVisitable
IHasCoverage
Inherited Members
DescribableBase.ItemName
DescribableBase.Label
DescribableBase.Description
DescribableBase.DisplayLabel
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.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 DataCollection : DescribableBase, INotifyPropertyChanged, IVersionable, IIdentifiable, IHasCustomFields, IDescribable, IVisitable, IHasCoverage

Constructors

DataCollection()

Initializes a new instance of the DataCollection class.

Declaration
public DataCollection()

Properties

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

CollectionEvents

Gets a collection of descriptions of data collection events.

Declaration
[Display(GroupName = "Collection Events", Order = 1000)]
public ObservableCollection<CollectionEvent> CollectionEvents { get; }
Property Value
Type Description
ObservableCollection<CollectionEvent>

ControlConstructSchemes

Gets the control construct schemes contained in the data collection module.

Declaration
[UIHint("hidden")]
public ObservableCollection<ControlConstructScheme> ControlConstructSchemes { get; }
Property Value
Type Description
ObservableCollection<ControlConstructScheme>

Coverage

Gets or sets the coverage information.

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

InstrumentSchemes

Gets the survey instrument schemes contained in the data collection module.

Declaration
[UIHint("hidden")]
public ObservableCollection<InstrumentScheme> InstrumentSchemes { get; }
Property Value
Type Description
ObservableCollection<InstrumentScheme>

Instruments

Gets a collection of data collection instruments contained in the data collection module.

Declaration
[Display(GroupName = "Basic:Instruments", Order = 400)]
public ObservableCollection<Instrument> Instruments { get; }
Property Value
Type Description
ObservableCollection<Instrument>

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

Methodology

Gets or sets information about the data collection methodology.

Declaration
[Display(GroupName = "Basic:Methodology", Order = 2000)]
public DataCollectionMethodology Methodology { get; set; }
Property Value
Type Description
DataCollectionMethodology

ProcessingEventSchemes

Gets a collection of processing event schemes included in this data collection module.

Declaration
[UIHint("hidden")]
public ObservableCollection<ProcessingEventScheme> ProcessingEventSchemes { get; }
Property Value
Type Description
ObservableCollection<ProcessingEventScheme>

ProcessingEvents

Gets a collection of descriptions of data processing events.

Declaration
[UIHint("hidden")]
public ObservableCollection<ProcessingEvent> ProcessingEvents { get; }
Property Value
Type Description
ObservableCollection<ProcessingEvent>

ProcessingInstructionSchemes

Declaration
[UIHint("hidden")]
public ObservableCollection<ProcessingInstructionScheme> ProcessingInstructionSchemes { get; }
Property Value
Type Description
ObservableCollection<ProcessingInstructionScheme>

QuestionSchemes

Gets the question schemes contained in the data collection module.

Declaration
[Display(GroupName = "Basic:Questions", Order = 400)]
public ObservableCollection<QuestionScheme> QuestionSchemes { get; }
Property Value
Type Description
ObservableCollection<QuestionScheme>

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
VersionableBase.AddChild(IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

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
VersionableBase.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
VersionableBase.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
VersionableBase.ReplaceChild(IdentifierTriple, IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

WatchProperties()

Watch for property changed events

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

Implements

INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IDescribable
IVisitable
IHasCoverage

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