Show / Hide Table of Contents

Class CategoryDomain

Represents a categorical response to be collected by a Question.

Inheritance
object
NotificationObject
ResponseDomain
CategoryDomain
Implements
INotifyPropertyChanged
Inherited Members
ResponseDomain.MissingValues
ResponseDomain.BlankIsMissingValue
ResponseDomain.ClassificationLevel
ResponseDomain.Label
ResponseDomain.Description
ResponseDomain.AttachedToCodes
ResponseDomain.AttachedToValues
ResponseDomain.RepresentationType
ResponseDomain.OutParameter
ResponseDomain.GridAttachments
ResponseDomain.GenericOutputFormat
ResponseDomain.RecommendedDataType
ResponseDomain.MeasurementUnit
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(string)
NotificationObject.OnPropertyChanged(string)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, string)
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
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class CategoryDomain : ResponseDomain, INotifyPropertyChanged

Constructors

CategoryDomain()

Initializes a new instance of the CategoryDomain class.

Declaration
public CategoryDomain()

Properties

CategoryScheme

Gets the category scheme containing the categories from which the response should come.

Declaration
public CategoryScheme CategoryScheme { get; set; }
Property Value
Type Description
CategoryScheme

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
ResponseDomain.GetChildren()

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
int

The number of children removed from the item.

Overrides
ResponseDomain.RemoveChild(IdentifierTriple)
Exceptions
Type Condition
ArgumentNullException

child

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
int

The number of children replaced.

Overrides
ResponseDomain.ReplaceChild(IdentifierTriple, IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

WatchProperties()

Watch for property changed events

Declaration
protected override void WatchProperties()
Overrides
ResponseDomain.WatchProperties()

Implements

INotifyPropertyChanged
In this article
Back to top Generated by DocFX