Index

DKAttrKeywordDefDD

Purpose:

The DKAttrKeywordDefDD class corresponds to a Domino.Doc IKeyword object and extends DKAttrDefDD. Keywords contain predefined values for a field. For example, it can associate seven keywords to the day_of_week field. Each keyword has a name and a value, so a keyword named firstWorkday might have a value like Monday.

Any method that Domino.doc does not support in this release will throw a DKMSG_NOTIMP DKUsageError. For more information, see DKAttrFieldDefDD, DKAttrProfileDefDD, and DKAttrDefDD.

Class summary:

class DKAttrKeywordDefDD : public DKAttrDefDD
{
public:
 
  DKAttrKeywordDefDD();
  DKAttrKeywordDefDD(dkDatastore* ds);
  DKAttrKeywordDefDD( dkDatastore* ds
                    , DKString keywordName
                    , DKString value
                    , DKAttrFieldDefDD* parentField
                    , int libraryHandle);
 
  DKAttrKeywordDefDD( DKAttrKeywordDefDD* aKeyword );
  DKAttrKeywordDefDD( DKAttrKeywordDefDD& aKeyword );
 
  DKAttrKeywordDefDD& operator= ( DKAttrKeywordDefDD* aKeyword );
  DKAttrKeywordDefDD& operator= ( DKAttrKeywordDefDD& aKeyword );
 
  virtual DKAttrFieldDefDD* getParentField();
  virtual void setField(DKAttrFieldDefDD* parentField);
};

Members:

Constructors and destructor
Constructs a Domino.Doc keyword object.
  DKAttrKeywordDefDD();
  DKAttrKeywordDefDD(dkDatastore* ds);
  DKAttrKeywordDefDD( dkDatastore* ds
                    , DKString keywordName
                    , DKString value
                    , DKAttrFieldDefDD* parentField
                    , int libraryHandle);
 

Member functions

operator=
Copies the input keyword definition to this object.
  DKAttrKeywordDefDD& operator= ( DKAttrKeywordDefDD* aKeyword );
  DKAttrKeywordDefDD& operator= ( DKAttrKeywordDefDD& aKeyword );
 

getParentField
Gets parent field object.
  virtual DKAttrFieldDefDD* getParentField();
 

setField
Sets parent field object.
  virtual void setField(DKAttrFieldDefDD* parentField);
 

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.