Purpose:
Use this class to represent and manage an auto link associated with an item type.
Since: Version 8
Class summary:
class DKEXPORT DKAutoLinkDefICM { public: DKAutoLinkDefICM(); DKAutoLinkDefICM(const DKAutoLinkDefICM& autoLink); DKAutoLinkDefICM (dkDatastore* ds); DKAutoLinkDefICM (dkDatastore* ds,const char* targetEntityName,const char* linkType,const char* attrName); DKAutoLinkDefICM (dkDatastore* ds,const char* targetEntityName,const char* linkType,const char* attrName,const char* attrGroupName); virtual ~DKAutoLinkDefICM(); void setDatastore(dkDatastore* ds); dkDatastore* getDatastore(); void add(); void update(); void del(); void setTargetEntityName(const char* tgtEntName); DKString getTargetEntityName(); void setSourceEntityName(const char* srcEntName); DKString getSourceEntityName(); void setAttrGroupName(const char* attrGroupName); DKString getAttrGroupName(); long getSequenceNo(); void setSequenceNo(short seqNum); };
Members:
DKAutoLinkDefICM();
Default constructor. Constructs an instance of auto link definition class.
DKAutoLinkDefICM(const DKAutoLinkDefICM& autoLink);
Constructs an auto link object and initilizes it with the datastore. Parameters: ds - A reference to a datasore object where the item type, whose auto links this object represents, is defined
DKAutoLinkDefICM (dkDatastore* ds);
A copy constructor for auto link definition for ICM datastore. Parameters: autoLink - an auto link definition object.
DKAutoLinkDefICM (dkDatastore* ds,const char* targetEntityName,const char* linkType,const char* attrName);
Constructs an auto link object and initilizes it with the datastore, the target item type name, the type of link and the attribute name. Parameters:
DKAutoLinkDefICM (dkDatastore* ds,const char* targetEntityName,const char* linkType,const char* attrName,const char* attrGroupName);
Constructs an auto link object and initilizes it with the datastore, the target item type name, the type of link the attribute name and the attribute group. Parameters:
virtual ~DKAutoLinkDefICM();
Destructor for this object.
void setDatastore(dkDatastore* ds);
dkDatastore* getDatastore();
void add();
void update();
void del();
void setTargetEntityName(const char* tgtEntName);
DKString getTargetEntityName();
void setSourceEntityName(const char* srcEntName);
DKString getSourceEntityName();
void setAttrGroupName(const char* attrGroupName);
DKString getAttrGroupName();
long getSequenceNo();
void setSequenceNo(short seqNum);
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.