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)
ResponseDomain.WatchProperties()
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.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
double?

DecimalPositions

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

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

High

Gets or sets the upper bound of allowed numbers.

Declaration
public decimal? High { get; set; }
Property Value
Type Description
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
bool

InclusiveLow

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

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

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
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
bool

IsWeight

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

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

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
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
int?

TopCode

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

Declaration
public double? TopCode { get; set; }
Property Value
Type Description
double?

Methods

ToString()

Gets a string representation of the object.

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

Implements

INotifyPropertyChanged
In this article
Back to top Generated by DocFX