Class Instrument
Represents a data collection instrument, such as a survey.
Inheritance
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class Instrument : DescribableBase, IVersionable, IIdentifiable, IHasCustomFields, IDescribable, IVisitable
Constructors
Instrument()
Initializes a new instance of the Instrument class.
Declaration
public Instrument()
Properties
Attachments
Gets a collection of file URIs stored in the File Storage Service attached to this item.
Declaration
public override ObservableCollection<Attachment> Attachments { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Attachment> |
Overrides
AttachmentTypeExternalInstrumentLocation
AttachmentType for an ExternalInformation
Declaration
public static string AttachmentTypeExternalInstrumentLocation { get; }
Property Value
Type | Description |
---|---|
System.String |
ExternalInstrumentLocations
Gets a collection of external instrument locations.
Declaration
public ObservableCollection<Uri> ExternalInstrumentLocations { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Uri> |
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
Sequence
Gets or sets the top level sequence of the instrument.
Declaration
public CustomSequenceActivity Sequence { get; set; }
Property Value
Type | Description |
---|---|
CustomSequenceActivity | The sequence. |
Type
Gets or sets the type of the instrument.
Declaration
public CodeValue Type { get; set; }
Property Value
Type | Description |
---|---|
CodeValue | The type of the instrument. |
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
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. |