|
From: Frank V. C. <fr...@us...> - 2001-04-20 11:16:34
|
Update of /cvsroot/corelinux/clfw/clfw/Persist
In directory usw-pr-cvs1:/tmp/cvs-serv13432/clfw/Persist
Modified Files:
SchemaCatalog.hpp SchemaStore.hpp Store.hpp
Log Message:
Working catalog (writes schema entry)
Index: SchemaCatalog.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/SchemaCatalog.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** SchemaCatalog.hpp 2001/04/15 16:36:08 1.6
--- SchemaCatalog.hpp 2001/04/20 11:16:31 1.7
***************
*** 186,190 ****
*/
! CollectionPtr resolveCollectionAssignment
(
CollectionPtr
--- 186,190 ----
*/
! FrameworkStringPtr resolveCollectionAssignment
(
CollectionPtr
Index: SchemaStore.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/SchemaStore.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** SchemaStore.hpp 2001/04/19 03:44:42 1.2
--- SchemaStore.hpp 2001/04/20 11:16:31 1.3
***************
*** 82,94 ****
--- 82,139 ----
//
+ /// Serializes description
+
SchemaDataDescriptor serialize( void ) const;
+
+ /// Retrieves the schema name
+
FrameworkStringCref getName( void ) const;
+
+ /// Retrieves the schema location
+
FrameworkStringCref getLocation( void ) const;
+
+ /// Retrieve the collection used for schema
+
+ FrameworkStringCref getCollectionType( void ) const;
+
+ /// Retrieve the class used to instantiate the schema
+
+ UniversalIdentifierCref getSchemaClassId( void ) const;
+
+ /// Retrieve the schema unique identifier
+
+ UniversalIdentifierCref getSchemaUid( void ) const;
+
+ /// Retrieves the schema
+
SchemaPtr getSchema( void ) const;
+
//
// Mutators
//
+ /// Initialize from DB
void initialize( SchemaDataDescriptorCref );
+
+ /// Sets the name
+
+ void setName( FrameworkStringCref );
+
+ /// Set the location for schema
+
+ void setLocation( FrameworkStringCref );
+
+ /// Sets the collection type name
+
+ void setCollectionType( FrameworkStringCref );
+
+ /// Set the class id to use in factory
+
+ void setSchemaClassId( UniversalIdentifierCref );
+
+ /// Set the uid for the schema during create
+
+ void setSchemaUid( UniversalIdentifierCref );
//
// Forced interface
***************
*** 133,139 ****
private:
! FrameworkString theName;
! FrameworkString theLocation;
! SchemaPtr theSchema;
--- 178,187 ----
private:
! SchemaPtr theSchema;
! FrameworkString theName;
! FrameworkString theLocation;
! FrameworkString theCollection;
! UniversalIdentifier theSchemaClassId;
! UniversalIdentifier theSchemaUid;
Index: Store.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/Store.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Store.hpp 2001/04/15 16:36:08 1.2
--- Store.hpp 2001/04/20 11:16:31 1.3
***************
*** 97,100 ****
--- 97,101 ----
static FrameworkStringCref getLocationKey( void );
static FrameworkStringCref getUniqueIdKey( void );
+ static FrameworkStringCref getClassIdKey( void );
static FrameworkStringCref getCollectionKey( void );
***************
*** 160,163 ****
--- 161,165 ----
static FrameworkString theLocationKey;
static FrameworkString theUniqueIdKey;
+ static FrameworkString theClassIdKey;
static FrameworkString theCollectionKey;
|