Class ClassificationLevel
A Statistical Classification has a structure which is composed of one or several Levels. A Level often is associated with a concept, which defines it. In a hierarchical Statistical Classification the Classification Items of each Level but the highest are aggregated to the nearest higher Level. A linear Statistical Classification has only one Level.
Inheritance
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class ClassificationLevel : DescribableBase, IVersionable, IIdentifiable, IHasCustomFields, IDescribable, IVisitable
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
DefiningConcept
Gets or sets the concept that defines this level.
Declaration
public Concept DefiningConcept { get; set; }
Property Value
Type | Description |
---|---|
Concept |
DummyCode
Rule for the construction of dummy codes from the codes of the next higher Level (used when one or several categories are the same in two consecutive Levels).
Declaration
public MultilingualString DummyCode { get; set; }
Property Value
Type | Description |
---|---|
MultilingualString |
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
LevelCodeStructure
Indicates how the code at the Level is constructed of numbers, letters and separators.
Declaration
public CodeValue LevelCodeStructure { get; set; }
Property Value
Type | Description |
---|---|
CodeValue |
LevelTypeCode
Indicates whether the code at the Level is alphabetical, numerical or alphanumerical.
Declaration
public CodeValue LevelTypeCode { get; set; }
Property Value
Type | Description |
---|---|
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. |