Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Topic
Prev Next

ModelType Class

Provides an interface to the Class of a schema type as represented in the model.

ModelType Attributes

Attribute

Description

See also

PropertyCount

long

Notes: Read only

The total number of properties for this Class available in the Properties collection.

Properties

SchemaPropEnum

Notes: Enumerator

Collection of properties for the Class as defined in the model.

TypeID

long

Notes: Read only

The Class ID of the type.

Guid

string

Notes: Read only

A GUID that uniquely identifies a type in the model.

Typename

string

Notes: Read only

The name of the type as represented in the model.

ClassifierPath

string

Notes: Read only

The qualified path of the type in the model.

ClassifierPathID

string

Notes: Read only

A GUID that uniquely identifies a ClassifierPath in the model.

Stereotype

string

Notes: Read only

The stereotype of the Class as defined in the model.

Annotation

string

Notes: Read only

Any notes present in the model describing the Class.

ModelType Methods

Method

Description

See also

GetSuperClassEnum(SearchType searchtype)

ModelTypeEnum

Notes: Enumerator

Returns an enumerator that can be used to traverse the Class ancestry.

Parameters:

  • searchtype: the type of traversal to use, breadth first or depth first

GetSubClassEnum(SearchType searchType)

ModelTypeEnum

Notes: Enumerator

Returns an enumerator that can be used to iterate over any descendents of the Class.

Parameters:

  • searchtype: the type of traversal to use, breadth first or depth first