Chapter 7 Scripting PowerDesigner


Accessing the metaclass of an object by script

You can access the MetaClass of an object using scripts:

Use the following Description
MetaClass As BaseObject Property. Provides access to the Metaclass of each object

You can access the MetaClass of an object using its public name from the MetaModel using scripts:

Use the following Description
GetMetaClassByPublicName (ByVal name As String) As BaseObject Method. Provides access to the MetaClass of an object using its public name

You can access the MetaAttribute and MetaCollection of a MetaClass using its public name (from the MetaClass):

Use the following Description
GetMetaMemberByPublicName (ByVal name As String) As BaseObject Method. Provides access to a MetaAttribute or a MetaCollection using its public name

 


Copyright (C) 2008. Sybase Inc. All rights reserved.