Resource File
The resource file describes the documents (type and extension) and the type of data that the application can manipulate by identifying the storage and retrieval drivers appropriate for this data.
Each driver is unique and identified by a GUID generated, for example, with the "uuidgen" tool in Windows.
Five drivers are required to use all standard attributes provided within OCAF:
the schema driver (ad696002-5b34-11d1-b5ba-00a0c9064368)
the document storage driver (ad696000-5b34-11d1-b5ba-00a0c9064368)
the document retrieval driver (ad696001-5b34-11d1-b5ba-00a0c9064368)
the attribute storage driver (47b0b826-d931-11d1-b5da-00a0c9064368)
the attribute retrieval driver (47b0b827-d931-11d1-b5da-00a0c9064368)
These drivers are provided as plug-ins and are located in the PappStdPlugin library.
For example, this is a resource file:
formatlist:OCAF-MyApplication
! to declare a new model document named OCAF- MyApplication
OCAF- MyApplication.Description: MyApplication Document Version 1.0
OCAF- MyApplication.FileExtension: sta
OCAF- MyApplication.StoragePlugin: ad696000-5b34-11d1-b5ba-00a0c9064368
OCAF- MyApplication.RetrievalPlugin: ad696001-5b34-11d1-b5ba-00a0c9064368
OCAF- MyApplicationSchema: ad696002-5b34-11d1-b5ba-00a0c9064368
OCAF- MyApplication.AttributeStoragePlugin: 47b0b826-d931-11d1-b5da-00a0c9064368
OCAF- MyApplication.AttributeRetrievalPlugin: 47b0b827-d931-11d1-b5da-00a0c9064368