Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

Local Attribute

A local attribute is an «XSDattribute» stereotyped UML attribute. You can create it by dragging the Attribute icon from the XML Schema Toolbox and dropping it onto an «XSDcomplexType» or «XSDattributeGroup» stereotyped Class.

Toolbox Icon

Access Drag icon onto «XSDcomplexType» or «XSDattributeGroup» stereotyped Class, or

Project Browser | Double-click on «XSDattribute» stereotyped attribute, or

Diagram | Highlight element | Highlight «XSDattribute» stereotyped attribute | double-click on attribute

Define Properties

Field/Button

Action

See also

Name

If you do not want to use the default name of the local attribute, overtype it with another name.

Type

Either:

  • Type the name of a data type, or
  • Click on the drop-down arrow and select an XSD built-in dataType from the list, or
  • Click on the button and browse for an existing XSDsimpleType element as a classifier

Simple Type

Reference

(Optional) Specify whether to use the ref attribute (instead of the type attribute) to refer to the XSDsimpleType element you selected in the 'Type' field, in the generated XSD.

Value

(Optional) If you have entered an XSD built-in data type in the 'Type' field, type in a value.

Default

Select this radio button to set the Value as a default value.

Fixed

Select this radio button to set the Value as a fixed value.

Form

(Optional) Click on the drop-down arrow and select whether or not to qualify the attribute:

  • qualified - Use the Prefix defined in the Schema Package to qualify this attribute
  • unqualified - Do not qualify this attribute

Schema Package

Annotation

(Optional) Type in any notes you need for this local attribute.

OK

Click on this button to save the attribute data entered and close the XSD attribute 'Properties' dialog.

Cancel

Click on this button to discard the element data entered and close the XSD attribute 'Properties' dialog.

Help

Click on this button to display this Help topic.

UML

This button is displayed when you are editing existing XSD attribute information.

Click on the button to open the attribute properties for the local attribute.

Create and Manage Attributes

Notes

  • Only Complex Types and Attribute Groups can have this UML attribute

Learn more