Réserver une Démo
Pré. Proc.

SchemaComposer Class

The SchemaComposer Class provides the interface to the Enterprise Architect Schema Composer facility.

SchemaComposer Attributes

Attribute

Description

See also

ModelReference

String

Notes: The model ref listed in the Schema Composer for the current profile.

Namespace

String

Notes: The namespace listed in the Schema Composer for the current profile.

NamespacePrefix

String

Notes: The namespace prefix listed in the Schema Composer for the current profile.

TargetDirectory

String

Notes: The target directory selected by the user after clicking on the Generate button.

SchemaName

String

Notes: Returns the name of the schema profile currently being generated.

SchemaSet

String

Notes: Returns the schema set used when the schema was created.

Create a Schema Profile

SchemaType

String

Notes: The schema type listed in the Schema Composer for the current profile, either 'schema' or 'transform'.

SchemaTypes

SchemaTypeEnum

Notes: Read only

Enumerator for the type collection represented in the currently open schema.

Namespaces

SchemaNamespaceEnum

Notes: Read only

Enumerator for the namespaces referenced by schema

SchemaComposer Methods

Method

Description

See also

FindInSchema(long typeID)

SchemaType

Notes: Obtains an interface to a Class as represented in the schema for a given model Class ID.

Parameters:

  • typeID: the model Class ID

FindInModel(long typeID)

ModelType

Notes: Obtains an interface to a Class as represented in the UML model for a given model Class ID

Parameters:

  • typeID: the model Class ID

FindSchemaTypeByName(string typename)

SchemaType

Notes: Returns an interface to the schema type that matches the type specified or null if no type exists.

Parameters:

  • name : the name of the type

GetNamespacePrefixForType(long typeID)

String

Notes: Returns the schema namespace prefix for a given type

Parameters:

  • typeID: the model Class ID

GetNamespaceForPrefix(string prefix)

String

Notes: Returns the URI for a given schema namespace prefix

Parameters:

  • name: the namespace prefix