Class Options

Option Name Description
Auto-synchronize role name (default true) Rename role when the owner class is being renamed.
Auto-generate role name (default false) Auto generate role names for a relationship when the relationship is created between.
Support multiple-line attribute (default true) Allow to enter attribute name in multiple lines by pressing the new line key defined in Diagramming > Shape.
Support multiple-line class name (default true) Allow to enter class name in multiple lines by pressing the new line key defined in Diagramming > Shape.
Update constructor after class renamed
  • Auto rename - Automatic update constructor name when the class name is being updated
  • Do not rename - Do not update constructor name when the class name is being updated
  • Prompt - (default)
Synchronize description of Interface to sub-class
  • Always synchronize
  • Do not synchronize
  • Prompt
Default Visibility - Class
  • Unspecified - A new class will take Unspecified as visibility
  • private - A new class will take private as visibility
  • protected - A new class will take protected as visibility
  • package - A new class will take package as visibility
  • public - (default) A new class will take public as visibility
  • protected internal (.NET only) - A new class will take protected internal as visibility when programming language is set to be .NET
  • internal (.NET only) - A new class will take internal as visibility when programming language is set to be .NET
Default Visibility - Attribute
  • Unspecified - A new attribute will take Unspecified as visibility
  • private - (default) A new attribute will take private as visibility
  • protected - A new attribute will take protected as visibility
  • package - A new attribute will take package as visibility
  • public - A new attribute will take public as visibility
  • protected internal (.NET only) - A new attribute will take protected internal as visibility when programming language is set to be .NET
  • internal (.NET only) - A new attribute will take internal as visibility when programming language is set to be .NET
Default Visibility - Operation
  • Unspecified - A new operation will take Unspecified as visibility
  • private - A new operation will take private as visibility
  • protected - A new operation will take protected as visibility
  • package - A new operation will take package as visibility
  • public - (default) A new operation will take public as visibility
  • protected internal (.NET only) - A new operation will take protected internal as visibility when programming language is set to be .NET
  • internal (.NET only) - A new operation will take internal as visibility when programming language is set to be .NET
Default Attribute Value - Multiplicity Specify the multiplicity of attribute apply when creating a new attribute.
Default Attribute Value - Ordered
Specify the ordered property is checked or not when creating a new attribute.
Default Attribute Value - Unique
Specify the unique property is checked or not when creating a new attribute.
Show row grid line within compartment of Classes in Class Diagram (diagram type-based) (default false) Show a horizontal line between each attribute or operation in class.
Default parameter direction
  • in - When creating a parameter in operation, the direction will be in
  • out - When creating a parameter in operation, the direction will be out
  • inout - (default) When creating a parameter in operation, the direction will be inout
  • return - When creating a parameter in operation, the direction will be return
Class Options details

Presentation

Option Name Description
Show attribute option
  • Show all - (default) Show all attributes in Classes
  • Show public only - Show all public attributes in Classes
  • Hide all - Hide all attributes in Classes
Show type option
  • Fully-qualified - Show attribute type, operation return type and parameter type as full qualified class name
  • Name only - (default) Show attribute type, operation return type and parameter type as class name
  • Relative - Show attribute type, operation return type and parameter type as relative class name
Show operation option
  • Show all - (default) Show all operations in Classes
  • Show public only - Show all public operations in Classes
  • Hide all - Hide all operations in Classes
Show enumeration literal option
  • Show all - (default) Show all enumeration literals in <<Enum>> and <<enumeration>> Classes
  • Show public only - Show all public enumeration literals in <<Enum>> and <<enumeration>> Classes
  • Hide all - Hide all enumeration literals in <<Enum>> and <<enumeration>> Classes
Visibility style
  • Icon - Show icons for representing class members' visibilities
  • UML - (default) Show icons for representing class members' visibilities such as + for public, minus for private
  • None - Do not display visibilities
Show attribute initial value

(default true) Show initial value of attribute after its name.

Show attribute multiplicity (default false) Show multiplicity of attribute after its name.
Show attribute getter/setter (default false) Show getter and setter symbol for attribute, in front of attribute name.
Show operation signature
(default true) Show operation signature.
Show class member stereotype (default true) Show the stereotypes set to attributes and operations.
Wrap class member (default false) Automatic wrap class member against the class's width.
Show interface as ball (default false) Show interface class as ball shape or as normal class shape.
Show owner of class/package (default false) Show the owner of class or package in class shape.
Show template parameter (default true) Show template parameter of class.
Display as Robustness Analysis icon (default true) Display class as robustness analysis icon for classes stereotyped as boundary/control/entity.
Display as stereotype icon (default false) Display stereotyped class as stereotype icon.
Show operation parameter name (default true) Show operation parameter name. When disabled, only parameter type, if defined, would be shown.
Show empty compartments (default false) Show compartments even when no members are defined.
Presentation of Class Options details

Auto Attribute Type

Option Name Description
Default attribute type Define attribute type that will be applied to newly created attributes.
Auto set attribute type by name (default true) Automatically set attribute type and default value when the name user entered for an attribute matches with one of those listed in the table followed.
Auto Attribute Type of Class Options details

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
5. Connector Table of Contents 7. Association

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK