Ejemplo n.º 1
0
 ///<summary>Sets the value of the <c>&lt;CreationUser&gt;</c> element.</summary>
 /// <param name="Type">The role of the staff member for that created this attendance record.</param>
 /// <param name="UserId">Unique identifier of the user that created the attendance record.  This will depend on the user and the source.  The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object.  However, the user may not be associated with any of these SIF objects.  In that case a unique ID given by the source should be used.</param>
 ///<remarks>
 /// <para>This form of <c>setCreationUser</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CreationUser</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCreationUser(AuditInfoType Type, string UserId)
 {
     RemoveChild(GradebookDTD.AUDITINFO_CREATIONUSER);
     AddChild(GradebookDTD.AUDITINFO_CREATIONUSER, new CreationUser(Type, UserId));
 }
Ejemplo n.º 2
0
 ///<summary>Sets the value of the <c>&lt;CreationUser&gt;</c> element.</summary>
 /// <param name="Type">The role of the staff member for that created this attendance record.</param>
 /// <param name="UserId">Unique identifier of the user that created the attendance record.  This will depend on the user and the source.  The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object.  However, the user may not be associated with any of these SIF objects.  In that case a unique ID given by the source should be used.</param>
 ///<remarks>
 /// <para>This form of <c>setCreationUser</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CreationUser</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCreationUser( AuditInfoType Type, string UserId )
 {
     RemoveChild( GradebookDTD.AUDITINFO_CREATIONUSER);
     AddChild( GradebookDTD.AUDITINFO_CREATIONUSER, new CreationUser( Type, UserId ) );
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The role of the staff member for that created this attendance record.</param>
 ///<param name="userId">Unique identifier of the user that created the attendance record.  This will depend on the user and the source.  The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object.  However, the user may not be associated with any of these SIF objects.  In that case a unique ID given by the source should be used.</param>
 ///
 public CreationUser( AuditInfoType type, string userId )
     : base(GradebookDTD.CREATIONUSER)
 {
     this.SetType( type );
     this.UserId = userId;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A AuditInfoType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The role of the staff member for that created this attendance record."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( AuditInfoType val )
 {
     SetField( GradebookDTD.CREATIONUSER_TYPE, val );
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A AuditInfoType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The role of the staff member for that created this attendance record."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(AuditInfoType val)
 {
     SetField(GradebookDTD.CREATIONUSER_TYPE, val);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The role of the staff member for that created this attendance record.</param>
 ///<param name="userId">Unique identifier of the user that created the attendance record.  This will depend on the user and the source.  The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object.  However, the user may not be associated with any of these SIF objects.  In that case a unique ID given by the source should be used.</param>
 ///
 public CreationUser(AuditInfoType type, string userId) : base(GradebookDTD.CREATIONUSER)
 {
     this.SetType(type);
     this.UserId = userId;
 }