Previous Topic: ISCModelPropertyCollection::Remove ArgumentsNext Topic: ISCModelSet::PropertyBag Arguments (Get Function)


ISCModelSet

A Model Set component provides access to a member of a hierarchically organized collection of model sets.

The following table contains the methods for the ISCModelSet interface:

Method

Description

SC_MODELTYPEID ClassId()

Class identifier for metadata associated with the model set.

BSTR ClassName()

Class name for metadata associated with the model set.

VARIANT_BOOL DirtyBit()

Returns a flag that indicates that the data has changed in the model set.

void DirtyBit(VARIANT_BOOL )

Sets the flag that indicates that the data in the model set has changed.

SC_MODELTYPEID ModelSetId()

Passes back an identifier for the model set.

BSTR Name()

Passes back a persistence unit name.

ISCModelSet * Owner()

A pointer to the owner model set. Returns NULL for the top model set in the persistence unit.

ISCModelSetCollection * OwnedModelSets()

Provides a collection with directly owned model sets.

SC_MODELTYPEID PersistenceUnitId()

The identifier for the persistence unit that contains the model set.

ISCPropertyBag * PropertyBag(VARIANT List [optional], VARIANT AsString [optional])

Returns a property bag with the model set's properties.

A model set property is present in the resulting bag only if it has a value. If the property does not have any value set, the property bag will not have the property listed.

void PropertyBag(VARIANT List [optional], VARIANT AsString [optional], ISCPropertyBag * propBag)

Sets a model set with the properties in the given property bag.

Note: For information about metadata class identifiers and names, see the HTML document ERwin Metamodel Reference, in the Metamodel Reference Bookshelf located in the CA ERwin Data Modeler installation folder.