setMembership

setMembership(type: Class) updating;

The setMembership method of the JadeUserCollClass class sets the membership (that is, the base type for members) of a user collection.

Before the setMembership method is called, the collection must be empty; that is, it cannot contain data. If this precondition is violated, the appropriate system exception is raised. This method implicitly calls the clearKeys method.

For an example of the use of this method, see "Using JadeUserCollClass Collections", later in this chapter.