Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
SchemaProfile Class
The interface representing the technology governing the naming and design rules on which the schema is built.
SchemaProfile Methods
Method |
Description |
See also |
---|---|---|
AddExportFormat(string description) |
void
Notes: Use this function to add entries that are offered by the Schema Composer when the user clicks on the . Parameters: |
|
SetCapability(string name,boolean enabled) |
void
Notes: Use this function to enable/disable capabilities. Parameters:
Capabilities: 'allowCardinality' - allows/denies restrictions to cardinality 'allowRootElement' - allows/denies setting root element 'allowPropByRef' - allows/denies By Reference restriction 'allowRedefine' - allows/denies ability to redefine an element |
|
SetProperty(string name,
|
void
Notes: Sets properties displayed in the Schema Composer. Parameters:
Properties: 'Namespace' - Target namespace for XML schema 'Namespace Prefix' - Namespace prefix for XML schema 'Qualifier' - string qualifier that prepends schema type names |