Purpose:
Use this class to represent an XDO classification and to manage the XDO classification in the ICM datastore.
Since: Version 8
Class summary:
class DKEXPORT DKXDOClassificationDefICM { public: DKXDOClassificationDefICM(dkDatastore* ds); DKXDOClassificationDefICM(const DKXDOClassificationDefICM& xdoObj); virtual ~DKXDOClassificationDefICM(); void add(); void del(); void update(); dkDatastore* getDatastore(); void setDatastore(dkDatastore* ds); long getId(); void setId(long id); DKString getName(); void setName(const char* name); DKString getDescription(); void setDescription(const char* desc); DKString getAttrGroupName(); void setAttrGroupName(const char* attrGroupName); DKString getCppXdoClassName(); void setCppXdoClassName(const char* XdoClassName); void addCompileOptionForSystemTypeOnFactory(short systemType, short compileOption, const char* cppFactory); void removeCompileOptionForSystemType(short systemType, short compileOption); dkCollection* listCompileOptionForSystemType(); };
Members:
DKXDOClassificationDefICM(dkDatastore* ds)
Constructs the XDO Classification object and initializes with the datastore object where this object persists.
Parameters: ds - datastore object as an instance of Datastore ICM Copy Constructor
DKXDOClassificationDefICM(const DKXDOClassificationDefICM& xdoObj)
A copy constructor which makes a copy of XDO classification object.
Parameters: xdoObj- a XDO classification object Destructor
virtual ~DKXDOClassificationDefICM()
Throws: DKException- if an error occurs
void add();
Throws: DKException- if an error occurs
void del();
Throws: DKException- if an error occurs
void update();
Returns: the datastore object associated with the XDO classification object
dkDatastore* getDatastore();
Parameters: ds - the datastore object associated with this XDO classification object
void setDatastore(dkDatastore* ds);
Returns: identifier of this XDO Classification
long getId();
Parameters: id - XDO Classification code to be assigned to this XDO Classification
void setId(long id);
Returns: string name of the XDO Classification
DKString getName();
Parameters: name - name to be assigned to this XDO classification
void setName(const char* name);
Returns: description of the XDO Classification
DKString getDescription();
Parameters: desc - description to be set for this XDO classification
void setDescription(const char* desc);
Returns: attribute group name of this XDO classification
DKString getAttrGroupName();
Parameters: attrGroupName - attribute group name to be set to this XDO classification
See Also: in this class for detailed information
void setAttrGroupName(const char* attrGroupName);
Returns: iCPP XDO class name of the XDO classification
DKString getCppXdoClassName();
Parameters:XdoClassName - xdo class name to be set to this XDO classification The CPP xdo class name can be DKLobICM, DKTextICM, DKImageICM, DKStreamICM, DKViedoStreamICM
void setCppXdoClassName(const char* XdoClassName);
Parameters:
void addCompileOptionForSystemTypeOnFactory(short systemType, short compileOption, const char* cppFactory);
Parameters:
void removeCompileOptionForSystemType(short systemType, short compileOption);
Returns: dkCollection containing an array of 3 strings
dkCollection* listCompileOptionForSystemType();
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.