Name (property)
For automation interface information about the Name property, see the automation interface topic for common attributes in the Related Topics.
Identifies an item in the model. All items in a model have a Name.
The uniqueness of a Name typically follows these rules:
• An Item that is scoped directly by a Package:
◦ Cannot have the same name as other items scoped directly by the same Package.
◦ Can have the same name as other items (including items of the same type) that are scoped by different Packages.
• An Item that is scoped directly by the Model:
◦ Can have the same name as other items of a different type that are scoped directly by the model.
◦ Cannot have the same name as other items of the same type that are scoped directly by the model.
• An item that is owned by a parent item:
◦ Can have the same name as other items of a different type that are owned by the same parent item.
◦ Can have the same name as other items of the same type that are owned by different parent items.
◦ Except for Operations, cannot have the same name as other items of the same type that are scoped by the same parent item.
By default, the Name is typically set to the item's Type, followed by an incremental number to make the Name unique. An Item's Name can be up to 100 characters long.
The following characters cannot be used in a Model's name: ¦ ! " & * : \ < > ?
This property is set on the General tab of an item's Property Pages. In addition, you can change an item's Name by right-clicking the item, and then clicking Rename.
You can use the Name property as search criteria in the Find Model Items dialog.
Instance Property
Instances of Attributes (Parts and Ports), Events, Operations, Roles (Parts and Ports) and Use Cases can also have a Name to identify each instance. The Name of an instance is set on an item's Instance Property Pages, which you open by right-clicking the item on a diagram, and then clicking Instance Properties.
When an instance appears on a diagram, it displays the name of the instance and typically the underlying item.
|
• The Name of an Event instance is taken from the Actual Parameters property, or vice versa.
• The Name of an Operation instance is taken from the Result property, or vice versa.
• The Name of a Use Case instance is taken from the Actual Parameters property, or vice versa.
• The Name of a Parameter cannot contain spaces.
|
The following section provides information about the items and diagrams for which Name is a property. For more information about an item or diagram, click it.
Is property of
All items, diagrams and symbols.