/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="libraryType">A library-defined language-independent value that refers to a specific patron type.</param> ///<param name="sifRefId">The SIF wide unique identifier of a student or teacher.</param> ///<param name="sifRefObject">The type of patron mapped to a SIF supported object. Library automation products work with patrons who could be students or teachers.</param> ///<param name="electronicIdList">This is an open list with no primary key.</param> ///<param name="numberOfCheckouts">The total number of items that this patron currently has checked out including overdue items.</param> ///<param name="numberOfOverdues">The total number of checkouts that are currently overdue.</param> ///<param name="numberOfFines">The total number of fines currently assessed to this patron.</param> ///<param name="fineAmount">The total monetary amount of the fines that this patron currently owes the library expressed as a positive number.</param> /// public LibraryPatronStatus(string libraryType, string sifRefId, PatronType sifRefObject, ElectronicIdList electronicIdList, int?numberOfCheckouts, int?numberOfOverdues, int?numberOfFines, MonetaryAmount fineAmount) : base(Adk.SifVersion, LibraryDTD.LIBRARYPATRONSTATUS) { this.LibraryType = libraryType; this.SIF_RefId = sifRefId; this.SetSIF_RefObject(sifRefObject); this.ElectronicIdList = electronicIdList; this.NumberOfCheckouts = numberOfCheckouts; this.NumberOfOverdues = numberOfOverdues; this.NumberOfFines = numberOfFines; this.FineAmount = fineAmount; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="libraryType">A library-defined language-independent value that refers to a specific patron type.</param> ///<param name="sifRefId">The SIF wide unique identifier of a student or teacher.</param> ///<param name="sifRefObject">The type of patron mapped to a SIF supported object. Library automation products work with patrons who could be students or teachers.</param> ///<param name="electronicIdList">This is an open list with no primary key.</param> ///<param name="numberOfCheckouts">The total number of items that this patron currently has checked out including overdue items.</param> ///<param name="numberOfOverdues">The total number of checkouts that are currently overdue.</param> ///<param name="numberOfFines">The total number of fines currently assessed to this patron.</param> ///<param name="fineAmount">The total monetary amount of the fines that this patron currently owes the library expressed as a positive number.</param> /// public LibraryPatronStatus( string libraryType, string sifRefId, PatronType sifRefObject, ElectronicIdList electronicIdList, int? numberOfCheckouts, int? numberOfOverdues, int? numberOfFines, MonetaryAmount fineAmount ) : base(Adk.SifVersion, LibraryDTD.LIBRARYPATRONSTATUS) { this.LibraryType = libraryType; this.SIF_RefId = sifRefId; this.SetSIF_RefObject( sifRefObject ); this.ElectronicIdList = electronicIdList; this.NumberOfCheckouts = numberOfCheckouts; this.NumberOfOverdues = numberOfOverdues; this.NumberOfFines = numberOfFines; this.FineAmount = fineAmount; }
/// <summary> /// Sets the value of the <c>SIF_RefObject</c> attribute. /// </summary> /// <param name="val">A PatronType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The type of patron mapped to a SIF supported object. Library automation products work with patrons who could be students or teachers."</para> /// <para>This attribute is known by more than one tag name depending on the version of SIF in use. /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para> /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>; /// <item><term>2.0 (and greater)</term><description><SIF_RefObject></description></item> /// </list> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetSIF_RefObject( PatronType val ) { SetField( LibraryDTD.LIBRARYPATRONSTATUS_SIF_REFOBJECT, val ); }
/// <summary> /// Sets the value of the <c>SIF_RefObject</c> attribute. /// </summary> /// <param name="val">A PatronType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The type of patron mapped to a SIF supported object. Library automation products work with patrons who could be students or teachers."</para> /// <para>This attribute is known by more than one tag name depending on the version of SIF in use. /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para> /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>; /// <item><term>2.0 (and greater)</term><description><SIF_RefObject></description></item> /// </list> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetSIF_RefObject(PatronType val) { SetField(LibraryDTD.LIBRARYPATRONSTATUS_SIF_REFOBJECT, val); }