Index

dkContentDef

Purpose:

This class defines the characteristics of the content.

Class summary:

class DKEXPORT dkContentDef
{
  public:
   virtual ~dkContentDef();
   virtual long getId();
   virtual void setId(long id);
   virtual DKString  getType();
   virtual void setType(const char* type);
   virtual DKString  getDescription();
   virtual void setDescription(const char* desc);
   virtual DKString  getMimeType();
   virtual void setMimeType(const char* mimeType);
   virtual DKString  getFileExtension();
   virtual void setFileExtension(const char* fext); 
};

Members:

Destructor
   virtual ~dkContentDef();

Member functions

getId
Gets the content ID.
   virtual long getId();

setId
Sets the content ID.
   virtual void setId(long id);

getType
Gets the content type.
   virtual DKString  getType();

setType
Sets the content type.
   virtual void setType(const char* type);

getDescription
Gets the description of the content.
   virtual DKString  getDescription();

setDescription
Sets the description of the content.
   virtual void setDescription(const char* desc);

getMimeType
Gets the mime type of the content.
   virtual DKString  getMimeType();

setMimeType
Sets the mime type of the content.
   virtual void setMimeType(const char* mimeType);

getFileExtension
Gets the file extension used to create a file for this content.
   virtual DKString  getFileExtension();

setFileExtension
Sets the file extension used to create a file for this content.
   virtual void setFileExtension(const char* fext);

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