Show / Hide Table of Contents

Class QualityStatementNode

Represents a single QualityStatementItem in a hierarchy of quality statement items.

Inheritance
object
NotificationObject
QualityStatementNode
Implements
INotifyPropertyChanged
Inherited Members
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(string)
NotificationObject.OnPropertyChanged(string)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, string)
NotificationObject.WatchProperties()
NotificationObject.WatchProperty(INotifyPropertyChanged, string)
NotificationObject.WatchCollection(INotifyCollectionChanged, string)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi.Utility
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class QualityStatementNode : NotificationObject, INotifyPropertyChanged

Constructors

QualityStatementNode(QualityStatementItem)

Initializes a new instance of the QualityStatementNode class.

Declaration
public QualityStatementNode(QualityStatementItem item)
Parameters
Type Name Description
QualityStatementItem item

The top level quality statement item.

Properties

Children

Gets the child quality statement items in the hierarchy.

Declaration
public ObservableCollection<QualityStatementNode> Children { get; }
Property Value
Type Description
ObservableCollection<QualityStatementNode>

Header

Gets a display label for the node.

Declaration
public string Header { get; set; }
Property Value
Type Description
string

IsEnabled

Gets or sets a value indicating whether the quality statement item can be edited in a user interface.

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
bool

IsExpanded

Gets or sets a value indicating whether the quality statement item is expanded in a user interface.

Declaration
public bool IsExpanded { get; set; }
Property Value
Type Description
bool

IsMissingInformation

Gets a value indicating whether the quality statement item, or any of its children, do not have content.

Declaration
public bool IsMissingInformation { get; }
Property Value
Type Description
bool

IsSelected

Gets or sets a value indicating whether the quality statement item can be selected in a user interface.

Declaration
public bool IsSelected { get; set; }
Property Value
Type Description
bool

Item

Gets or sets the quality statement item represented by this node.

Declaration
public QualityStatementItem Item { get; set; }
Property Value
Type Description
QualityStatementItem

Parent

Gets or sets the node of the quality statement item above this item in the hierarchy.

Declaration
public QualityStatementNode Parent { get; }
Property Value
Type Description
QualityStatementNode

Weight

Gets a weight that determines the order in which the node is sorted.

Declaration
public int? Weight { get; set; }
Property Value
Type Description
int?

Methods

GetHierarchy(QualityStatement)

Gets the complete hierarchy formed by the specified QualityStatement.

Declaration
public static List<QualityStatementNode> GetHierarchy(QualityStatement qualityStatement)
Parameters
Type Name Description
QualityStatement qualityStatement

The quality statement.

Returns
Type Description
List<QualityStatementNode>

A list of quality statement item nodes that appear at the root of the hierarchy.

SortChildrenIfWeighted()

Sorts the children of this node, if any of the children have a weight set.

Declaration
public void SortChildrenIfWeighted()

Implements

INotifyPropertyChanged
In this article
Back to top Generated by DocFX