Purpose:
The semantic type of an item describes its basic classification. It can be used to indicate the kind of real-world object the item is, such as folder, document, resource, memo, picture etc. In essence, it conveys the "meaning" of the information in the item type.
DKSemanticTypeDefICM represents semantic type information in Content Manager. This class defines methods required to access semantic type information.
Since: Version 8
Class summary:
class DKEXPORT DKSemanticTypeDefICM { public : DKSemanticTypeDefICM (dkDatastore* ds); DKSemanticTypeDefICM(const DKSemanticTypeDefICM& semantic); ~DKSemanticTypeDefICM(); long add(); void del(); void update(); long getCode(); void setCode( long semanticTypeCode ); DKString getName(); void setName( const char* semanticTypeCode ); DKString getDescription(); void setDescription(const char* semanticTypeDescript); DKString getDescription(const char* langCode); void setDescription(const char* desc, const char* langCode); };
Members:
DKSemanticTypeDefICM (dkDatastore* ds);
Constructs an instance of semantic type definition class for a given ICM datastore. Parameters: ds - datastore object as an instance of Datastore ICM.
DKSemanticTypeDefICM(const DKSemanticTypeDefICM& semantic);
A copy constructor for semantic type definition for ICM datastore. Parameters: semantic - an semantic type definition object.
~DKSemanticTypeDefICM();
Destructor for this object.
long add();
void del();
void update();
long getCode();
void setCode(long semanticTypeCode);
DKString getName();
void setName(const char* semanticTypeName);
DKString getDescription();
void setDescription(const char* semanticTypeDescript);
DKString getDescription();
void setDescription(const char* semanticTypeDescript);
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.