Index

DKEntityDefIP

Purpose:

The document definition defines the set of attributes available for a particular type of item, such as document or folder. These attributes are the parametric fields which are available to identify and describe a particular item stored on the content server. Besides the attributes, the document definition has a name and a type associated with it.

The addition and deletion of attribute definitions is not supported for ImagePlus for OS/390.

Class summary:

class DKEntityDefIP : public dkEntityDef
{
  public:
   DKEntityDefIP(dkDatastore *ds);
   DKEntityDefIP(const DKEntityDefIP& def);
 
   virtual ~DKEntityDefIP();
 
   virtual dkAttrDef* createAttr();
   virtual dkAttrDef* getAttr(const char* attrName);
   virtual dkCollection* listAttrs();
   virtual DKString* listAttrNames(long& arraySize);
};

Members:

Constructors and destructor
Constructs and initializes an ImagePlus for OS/390 entity definition.
   DKEntityDefIP(dkDatastore *ds);
   DKEntityDefIP(const DKEntityDefIP& def);
 
   virtual ~DKEntityDefIP();
 

Member functions

createAttr
A new attribute definition is constructed and returned. The attribute definition must be deleted by the caller of this method.
   virtual dkAttrDef* createAttr();
 

getAttr
The attribute definition having the specified attribute name is constructed and returned. The returned attribute definition must be deleted by the caller of this method.
   virtual dkAttrDef* getAttr(const char* attrName);
 

listAttrs
A collection of attribute definitions is constructed and returned. The attribute definitions and the collection itself must be deleted by the caller of this method.
   virtual dkCollection* listAttrs();
 

listAttrNames
A list of attribute names is constructed and returned. The list itself must be deleted by the caller of this method. Upon return, arraySize contains the number of array elements in the list.
   virtual DKString* listAttrNames(long& arraySize);
 

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