/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">The SIF unique identifier for the location.</param> ///<param name="locationType">Defines whether the location is a school or a non-school location.</param> ///<param name="siteCategory">Specific site category.</param> ///<param name="name">Text name of the location</param> ///<param name="localId">The locally-assigned identifier for this location.</param> /// public LocationInfo(string refId, LocationInfoType locationType, string siteCategory, string name, string localId) : base(Adk.SifVersion, HrfinDTD.LOCATIONINFO) { this.RefId = refId; this.SetLocationType(locationType); this.SiteCategory = siteCategory; this.Name = name; this.LocalId = localId; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">The SIF unique identifier for the location.</param> ///<param name="locationType">Defines whether the location is a school or a non-school location.</param> ///<param name="siteCategory">Specific site category.</param> ///<param name="name">Text name of the location</param> ///<param name="localId">The locally-assigned identifier for this location.</param> /// public LocationInfo( string refId, LocationInfoType locationType, string siteCategory, string name, string localId ) : base(Adk.SifVersion, HrfinDTD.LOCATIONINFO) { this.RefId = refId; this.SetLocationType( locationType ); this.SiteCategory = siteCategory; this.Name = name; this.LocalId = localId; }
/// <summary> /// Sets the value of the <c>LocationType</c> attribute. /// </summary> /// <param name="val">A LocationInfoType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Defines whether the location is a school or a non-school location."</para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLocationType( LocationInfoType val ) { SetField( HrfinDTD.LOCATIONINFO_LOCATIONTYPE, val ); }
/// <summary> /// Sets the value of the <c>LocationType</c> attribute. /// </summary> /// <param name="val">A LocationInfoType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Defines whether the location is a school or a non-school location."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLocationType(LocationInfoType val) { SetField(HrfinDTD.LOCATIONINFO_LOCATIONTYPE, val); }