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

Prev Next

SchemaType Class

Represents a type as it is defined in the schema.

Methods

Method

Description

See also

GetFacet(BSTR name)

Returns the value of the named facet. 'Root', for example' returns a value indicating whether a type is a root element.

GetRestriction(BSTR guid)

Returns the restriction as a string for the property having the supplied guid.

IsRoot()

True if Class is marked as 'root' in the Composer.

IsEnumeration()

True if the type represents an enumeration element

Properties

Property

Description

See also

PropertyCount [type: long]

Returns the number of properties held by 'type'.

Properties [type: IEASchemaPropEnum]

Returns an enumerator for 'type's' properties.

TypeID

The model Class ID.

Guid

The unique model GUID of the type.

Typename

The type's name.

Parent

The parent type - if any - that this Class extends. Could be null depending on composition method.