Show / Hide Table of Contents

Class NumericDomain

Represents numeric data to be collected by a Question.

Inheritance
Object
NotificationObject
ResponseDomain
NumericDomain
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
ResponseDomain.GetChildren()
ResponseDomain.ReplaceChild(IdentifierTriple, IVersionable)
ResponseDomain.RemoveChild(IdentifierTriple)
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
NotificationObject.RaisePropertyChanged<T>(Expression<Func<T>>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
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 NumericDomain : ResponseDomain, INotifyPropertyChanged

Constructors

NumericDomain()

Initializes a new instance of the NumericDomain class.

Declaration
public NumericDomain()

Properties

BottomCode

Gets or sets the value to which all lower numbers are coded.

Declaration
public double? BottomCode { get; set; }
Property Value
Type Description
Nullable<Double>

DecimalPositions

Gets or sets the number of decimal places allowed in the data.

Declaration
public int? DecimalPositions { get; set; }
Property Value
Type Description
Nullable<Int32>

High

Gets or sets the upper bound of allowed numbers.

Declaration
public decimal? High { get; set; }
Property Value
Type Description
Nullable<Decimal>

InclusiveHigh

Gets or sets a value indicating whether the High value is inclusive or exclusive.

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

InclusiveLow

Gets a value indicating whether the Low value is inclusive or exclusive.

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

Interval

Gets or sets the value to increase, or step value, for an incremental numeric representation.

Declaration
public double? Interval { get; set; }
Property Value
Type Description
Nullable<Double>
Remarks

This should be used as an integer value starting in DDI 3.2. Fractions will be truncated.

IsDecimal

Gets a value indicating whether the number can have decimals.

Declaration
public bool IsDecimal { get; }
Property Value
Type Description
Boolean

IsWeight

Gets or sets a value indicating whether this instance is a weight.

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

true if this instance is a weight; otherwise, false.

Low

Gets or sets the lower bound of allowed numbers.

Declaration
public decimal? Low { get; set; }
Property Value
Type Description
Nullable<Decimal>

NumericType

Gets or sets the type of the number.

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

The type of the numeric.

NumericTypes

Gets an array of the supported numeric types.

Declaration
public static Array NumericTypes { get; }
Property Value
Type Description
Array

Scale

Gets or sets the unit of scale, for example "x1" or "x1000".

Declaration
public int? Scale { get; set; }
Property Value
Type Description
Nullable<Int32>

TopCode

Gets or sets the value to which all higher numbers are coded.

Declaration
public double? TopCode { get; set; }
Property Value
Type Description
Nullable<Double>

Methods

ToString()

Gets a string representation of the object.

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Implements

System.ComponentModel.INotifyPropertyChanged
In This Article
Back to top Generated by DocFX