Function setClassVersion

DESCRIPTION:

WARNING: Function setClassVersion is not supported in this version. Its use is discouraged.

Commits the current version of class Class to the version management object. If no version management currently exists for the class, initializes the version management object with the current definition. Supplying a representation argument constructs and records the revision of class Classwhen the representation changes. In the standard usage, the new representation is the current one for Class. This is always compared to the last version saved. The method is stored with that version and is intended to convert it to representation. The function adds the revision information to the version metadata object on database where. If method is supplied, this is taken to be a function that converts the contents of the old representation to the new (it should not set the class of the object). If methodis omitted, one will be constructed by coerceRepresentation.

USAGE:

setClassVersion ( Class , where , representation , method , which )