Purpose:
This class represents a DDO base object.
Methods:
BSTR getObjectType();
setObjectType(LPCTSTR objectType);
LPDISPATCH getPidObject();
Returns the PID of this DDO. The returned LPDISPATCH pointer contains a DXPidDES object.
setPidObject(LPDISPATCH pid);
Sets the PID of this DDO. The input parameter LPDISPATCH pointer contains a DXPidDES object.
BOOL updatable();
short addData(LPCTSTR dataName);
Adds a new data item to a DDO and returns the new data item number (data ID).
short addDataProperty(short dataId, LPCTSTR propertyName);
Adds a new data item property to a DDO and returns the new property-item number (property ID).
short addDataPropertyAndValue(short dataId, LPCTSTR propertyName, VARIANT propertyValue);
Adds a new data item property to a DDO and returns the new property-item number (property ID).
short dataCount();
short dataPropertyCount(short dataId);
afx_msg VARIANT getDataProperty(short dataId, short propertyId);
setDataProperty(short dataId, short propertyId, VARIANT propertyValue);
setDataPropertyName(short dataId, short propertyId, LPCTSTR propertyName);
BSTR getDataPropertyName(short dataId, short propertyId);
setData(short dataId, VARIANT propertyValue);
VARIANT getData(short dataId);
setDataName(short dataId, LPCTSTR dataName);
BSTR getDataName(short dataId);
short dataId(LPCTSTR dataName);
short dataPropertyId(short dataId, LPCTSTR propertyName);
Variant getDataByName(LPCTSTR dataName);
VARIANT getDataPropertyByName(LPCTSTR dataName, LPCTSTR propertyName);
VARIANT getDataPropertyById(short dataId, LPCTSTR propertyName);
setNull(short dataId);
BOOL isNull(short dataId);
BOOL isDataSet(short dataId);
BOOL isDataPropertySet(short dataId, short propertyId);
Returns TRUE if this data item property value is set already.
short addProperty(LPCTSTR propertyName);
Adds a new property to this DDO and returns the property ID.
short addPropertyAndValue(LPCTSTR propertyName, VARIANT propertyValue);
Adds a new property and its value to this DDO and returns the property ID.
short propertyCount();
setProperty(short propertyId, VARIANT propertyValue);
VARIANT getProperty(short propertyId);
setPropertyName(short propertyId, LPCTSTR propertyName);
BSTR getPropertyName(short propertyId);
short propertyId(LPCTSTR propertyName);
VARIANT getPropertyByName(LPCTSTR propertyName);
BOOL isPropertySet(short propertyId);
add(); retrieve(); update(); del()
Add, retrieve, update, or delete this object from the persistent store. The setDatastore method must be called prior to any of these callings to associate the object to a datastore unless this DXDDODES is returned from a method.
LPDISPATCH getDatstore();
Gets the datastore. The returned LPDISPATCH pointer contains either a DXDatastoreDES object, a DXDatastoreTS object or a DXDatastoreQBIC object.
setDatastore(LPDISPATCH ds);
Sets the datastore. The input parameter LPDISPATCH pointer contains either a DXDatastoreDES object, a DXDatastoreTS object, or a DXDatastoreQBIC object.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.