Class NumericDomain
Represents numeric data to be collected by a Question.
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class NumericDomain : ResponseDomain
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 |
---|---|
System.Nullable<System.Double> |
DecimalPositions
Gets or sets the number of decimal places allowed in the data.
Declaration
public int ? DecimalPositions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
High
Gets or sets the upper bound of allowed numbers.
Declaration
public Decimal? High { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Boolean |
InclusiveLow
Gets a value indicating whether the Low value is inclusive or exclusive.
Declaration
public bool InclusiveLow { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<System.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 |
---|---|
System.Boolean |
IsWeight
Gets or sets a value indicating whether this instance is a weight.
Declaration
public bool IsWeight { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Low
Gets or sets the lower bound of allowed numbers.
Declaration
public Decimal? Low { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<System.Int32> |
TopCode
Gets or sets the value to which all higher numbers are coded.
Declaration
public double ? TopCode { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Methods
ToString()
Gets a string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |