Property Bag for Model Directory and Model Directory Unit
This Property Bag provides access to the properties of the Model Directory and the Model Directory Unit objects. The PropertyBag property for both the ISCModelDirectory interface and the ISCModelDirectoryUnit interface populates the bag with the set of current properties. The same property of these interfaces allows modification of directory (if it is not read-only) or directory unit attributes. The contents of the bag can have one of two available forms, either native format or as a string based on the optional parameter of the PropertyBag property of ISCModelDirectory and ISCModelDirectoryUnit. The client can populate the bag in either of these two forms. Different forms can be mixed in the same instance of the bag.
Not all properties that exist in the directory or directory unit have to be present in the bag when it is submitted. All property data as well as property names are validated by the API, and all are either accepted or rejected. The rejection forces a method call to fail. If the bag includes properties that are read-only at the moment, for example, the Locator property, then such properties are ignored and do not affect validation of the bag data.
The following table lists the Property Bag properties and data types for the Model Directory:
Property Name |
Type |
Read-only |
Description |
---|---|---|---|
Directory_Name |
BSTR |
No |
Returns a directory name without the path information. Applying a new value renames a directory. For the mart root directory, this is a repository name. The property does not allow the modification of the repository name. |
Locator |
BSTR |
Yes |
Location of a directory including absolute path and parameters. For a mart, parameters do not include password information. |
Directory_Path |
BSTR |
Yes |
Directory absolute path. |
Created_By |
BSTR |
Yes |
Identification for a user that has created a directory. For erwin� Data Modeler Workgroup Edition only, a mart user ID is used. |
Created |
SAFEARRAY(Long) |
Yes |
Creation date of a directory. The time is an array of numbers in the following order:
|
Updated |
SAFEARRAY(Long) |
Yes |
Update date of a directory. The time is an array of numbers in the following order:
|
Description |
BSTR |
No |
A directory description. This is only for erwin� Data Modeler Workgroup Edition. |
The following table lists the Property Bag properties and datatypes for the Model Directory Unit:
Property Name |
Type |
Read-only |
Description |
---|---|---|---|
Directory_Unit_Name |
BSTR |
No |
Returns a directory unit name without path information. Applying a new value renames a directory unit. |
Locator |
BSTR |
Yes |
Location of a directory unit including absolute path and parameters. For a mart, parameters do not include password information. |
Directory_Unit_Path |
BSTR |
Yes |
Directory unit absolute path. |
Created_By |
BSTR |
Yes |
Identification for a user that has created a unit. For erwin Data Modeler Workgroup Edition only, a mart user ID is used. |
Created |
SAFEARRAY(Long) |
Yes |
Creation date of a directory. The time is an array of numbers in the following order:
|
Updated |
SAFEARRAY(Long) |
Yes |
Update date of a directory. The time is an array of numbers in the following order:
|
Description |
BSTR |
Yes |
A directory description. This is only for erwin� Data Modeler Workgroup Edition. |
Is_Template |
Boolean |
Yes |
Returns TRUE if a unit model is a template. |
Copyright © 2025 Quest Software, Inc. |