/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">A RefId</param> ///<param name="aggregateStatisticInfoRefId">Reference to statistic defined by AggregateStatisticInfo.</param> ///<param name="characteristics">Reference to one or more AggregateCharacteristicInfo objects.</param> ///<param name="value">Value of the fact.</param> /// public AggregateStatisticFact( string refId, string aggregateStatisticInfoRefId, AggregateCharacteristicInfoRefId characteristics, decimal? value ) : base(Adk.SifVersion, DwDTD.AGGREGATESTATISTICFACT) { this.RefId = refId; this.AggregateStatisticInfoRefId = aggregateStatisticInfoRefId; this.Characteristics = new Characteristics( characteristics ); this.Value = value; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">A RefId</param> ///<param name="aggregateStatisticInfoRefId">Reference to statistic defined by AggregateStatisticInfo.</param> ///<param name="characteristics">Reference to one or more AggregateCharacteristicInfo objects.</param> ///<param name="value">Value of the fact.</param> /// public AggregateStatisticFact(string refId, string aggregateStatisticInfoRefId, AggregateCharacteristicInfoRefId characteristics, decimal?value) : base(Adk.SifVersion, DwDTD.AGGREGATESTATISTICFACT) { this.RefId = refId; this.AggregateStatisticInfoRefId = aggregateStatisticInfoRefId; this.Characteristics = new Characteristics(characteristics); this.Value = value; }
///<summary>Sets the value of the <c><Characteristics></c> element.</summary> /// <param name="AggregateCharacteristicInfoRefId">Reference to an AggregateCharacteristicInfo object.</param> ///<remarks> /// <para>This form of <c>setCharacteristics</c> is provided as a convenience method /// that is functionally equivalent to the <c>Characteristics</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetCharacteristics( AggregateCharacteristicInfoRefId AggregateCharacteristicInfoRefId ) { RemoveChild( DwDTD.AGGREGATESTATISTICFACT_CHARACTERISTICS); AddChild( DwDTD.AGGREGATESTATISTICFACT_CHARACTERISTICS, new Characteristics( AggregateCharacteristicInfoRefId ) ); }
///<summary>Sets the value of the <c><Characteristics></c> element.</summary> /// <param name="AggregateCharacteristicInfoRefId">Reference to an AggregateCharacteristicInfo object.</param> ///<remarks> /// <para>This form of <c>setCharacteristics</c> is provided as a convenience method /// that is functionally equivalent to the <c>Characteristics</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetCharacteristics(AggregateCharacteristicInfoRefId AggregateCharacteristicInfoRefId) { RemoveChild(DwDTD.AGGREGATESTATISTICFACT_CHARACTERISTICS); AddChild(DwDTD.AGGREGATESTATISTICFACT_CHARACTERISTICS, new Characteristics(AggregateCharacteristicInfoRefId)); }