Class NCube
Describes an aggregate data cube defined by dimensions and measures.
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class NCube : DescribableBase, IVersionable, IIdentifiable, IVisitable, IHasCustomFields, IDescribable
Properties
AnalysisUnit
Gets or sets the entity to which the data refer, for example, individuals, families or households, groups, institutions or organizations, administrative units, etc.
Declaration
public CodeValue AnalysisUnit { get; set; }
Property Value
Type | Description |
---|---|
CodeValue |
ChildTypesAccepted
A list of types accepted for child management
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
Dimensions
Gets a collection of variables that represent the cube's dimensions.
Declaration
public ObservableCollection<Variable> Dimensions { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Variable> |
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
Measures
Gets a collection of variables that represent the cube's measures.
Declaration
public ObservableCollection<Variable> Measures { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Variable> |
Purpose
Gets a description of the purpose of the cube.
Declaration
public MultilingualString Purpose { get; }
Property Value
Type | Description |
---|---|
MultilingualString |
SourceUnit
Gets or sets the who provided information contained by the variable (e.g., respondent, proxy, interviewer).
Declaration
public CodeValue SourceUnit { get; set; }
Property Value
Type | Description |
---|---|
CodeValue |
Universes
Gets the universes that describe the persons or other elements that this cube refers to, and to which any analytic results refer.
Declaration
public ObservableCollection<Universe> Universes { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Universe> |
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. |