Class CustomSequenceActivity
Represents a sequence of items in a data collection instrument.
Inheritance
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class CustomSequenceActivity : ActivityBase, IVersionable, IHasCustomFields, IDescribable, IBindable, IIdentifiable, IVisitable
Constructors
CustomSequenceActivity()
Initializes a new instance of the CustomSequenceActivity class.
Declaration
public CustomSequenceActivity()
Fields
TypeChildContainer
Type descriptor for a sequence which bundles a single question, statement, computation and associated content
Declaration
public static string TypeChildContainer
Field Value
Type | Description |
---|---|
System.String |
Properties
Activities
Gets the activities contained in the sequence.
Declaration
public ObservableCollection<ActivityBase> Activities { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<ActivityBase> |
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
ExecutionOrder
Gets or sets the execution order of the items in the sequence.
Declaration
public SequenceExecutionOrder ExecutionOrder { get; set; }
Property Value
Type | Description |
---|---|
SequenceExecutionOrder |
IsContained
Gets or sets a value indicating whether this instance is contained in another sequence.
Declaration
public bool IsContained { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ItemReferences
Gets the identifiers of items contained in the sequence.
Declaration
public Collection<IdentifierTriple> ItemReferences { get; }
Property Value
Type | Description |
---|---|
Collection<IdentifierTriple> |
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
OtherExecutionOrder
Gets a description of the execution order, if the order is of type Other
.
Declaration
public MultilingualString OtherExecutionOrder { get; }
Property Value
Type | Description |
---|---|
MultilingualString |
TypeOfSequence
Identifies the type or use of the sequence.
Declaration
public ObservableCollection<CodeValue> TypeOfSequence { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<CodeValue> |
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
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. |