/// <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;
 }
示例#2
0
 /// <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>&lt;Characteristics&gt;</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 ) );
 }
示例#4
0
 ///<summary>Sets the value of the <c>&lt;Characteristics&gt;</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));
 }