home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
VISBUILD
/
OASEARCH
/
CONTRACT.HPV
< prev
next >
Wrap
Text File
|
1995-05-15
|
3KB
|
63 lines
//****************************************************************************
// OAContract Class - C++ Header File (contract.hpv) *
// *
// COPYRIGHT: Copyright (C) International Business Machines Corp., 1994,1995 *
// *
// DISCLAIMER OF WARRANTIES: *
// 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;
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.