home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
- * .FILE: contract.hpv *
- * *
- * .DESCRIPTION: Implementation of additional member functions for the class *
- * OAContract (header file) *
- * *
- * .CLASSES: *
- * *
- * .COPYRIGHT: *
- * Licensed Material - Program-Property of IBM *
- * (C) Copyright IBM Corp. 1992, 1995, 1996 - All Rights Reserved *
- * *
- * .DISCLAIMER: *
- * The following [enclosed] code is sample code created by IBM *
- * Corporation. This sample code is not part of any standard IBM product *
- * and is provided to you solely for the purpose of assisting you in the *
- * development of your applications. The code is provided 'AS IS', *
- * without warranty of any kind. IBM shall not be liable for any damages *
- * arising out of your use of the sample code, even if they have been *
- * advised of the possibility of such damages. *
- * *
- * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE *
- * *
- ******************************************************************************/
- // Default Part Code Generation begins here...
- public:
- IString accountNum() const;
- OAContract & setAccountNum(const IString & aAccountNum);
- IString companyName() const;
- OAContract & setCompanyName(const IString & aCompanyName);
- IString projectMgr() const;
- OAContract & setProjectMgr(const IString & aProjectMgr);
- IString deptName() const;
- OAContract & setDeptName(const IString & aDeptName);
- IString positionTitle() const;
- OAContract & setPositionTitle(const IString & aPositionTitle);
- IString startDate() const;
- OAContract & setStartDate(const IString & aStartDate);
- IString endDate() const;
- OAContract & setEndDate(const IString & aEndDate);
- IString currContractor() const;
- OAContract & setCurrContractor(const IString & aCurrContractor);
- OAContract & getContract(const IString & anAccountNum);
- OAContract & putContract(const IString & anAccountNum);
-
- // Added copy constructor
-
- OAContract(const OAContract & aContract);
-
- static INotificationId accountNumId;
- static INotificationId companyNameId;
- static INotificationId projectMgrId;
- static INotificationId deptNameId;
- static INotificationId positionTitleId;
- static INotificationId startDateId;
- static INotificationId endDateId;
- static INotificationId currContractorId;
-
- // Added after OS2 GA
- static INotificationId qryFoundId;
-
- // Added for Windows implementation of IProfile
- OAContract & primeData(IProfile & aDatabase);
-
- private:
- unsigned long iStartingResourceId;
- IString iAccountNum;
- IString iCompanyName;
- IString iProjectMgr;
- IString iDeptName;
- IString iPositionTitle;
- IString iStartDate;
- IString iEndDate;
- IString iCurrContractor;
-
- // Default Part Code Generation ends here.