Show / Hide Table of Contents

Class ScaleDomain

Represents a response on a scale to be collected by a Question.

Inheritance
object
NotificationObject
ResponseDomain
ScaleDomain
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 ScaleDomain : ResponseDomain, INotifyPropertyChanged
Remarks

Currently this class only supports a single dimension scale.

Constructors

ScaleDomain()

Initializes a new instance of the ScaleDomain class.

Declaration
public ScaleDomain()

Properties

Anchors

Labels for certain points on the scale. For example, (1=Poor, 5=Indifferent, 10=Great)

Declaration
public ObservableCollection<Anchor> Anchors { get; }
Property Value
Type Description
ObservableCollection<Anchor>

DisplayLayout

Defines how the scale should be displayed, for example "line" or "list". Can be a controlled vocabulary.

Declaration
public CodeValue DisplayLayout { get; set; }
Property Value
Type Description
CodeValue

High

The ending point of the scale.

Declaration
public decimal? High { get; set; }
Property Value
Type Description
decimal?

Low

The starting point of the scale.

Declaration
public decimal? Low { get; set; }
Property Value
Type Description
decimal?

MarkedIncrement

The interval beween tick marks when the scale is visualized.

Declaration
public decimal? MarkedIncrement { get; set; }
Property Value
Type Description
decimal?

ValueIncrement

The interval between displayed values when the scale is visualized.

Declaration
public decimal? ValueIncrement { get; set; }
Property Value
Type Description
decimal?

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