Attribute Type Commands (Template Language)
Commands for objects of Attribute type defined in Software Ideas Modeler Template Language.
| Command Name | Result Type | Description |
|---|---|---|
| Uid | String | Returns the internal unique ID of the of the element. |
| CustomID | String | Returns the user-defined ID of the attribute. |
| Visibility | String | Returns the visibility of the attribute. |
| Name | String | Returns the name of the attribute. |
| Type | String | Returns the full definition of the attribute type. |
| TypeLength | String | Returns the type length of the attribute. |
| TypeName | String | Returns the type name of the attribute. |
| DefaultValue | String | Returns the default value of the attribute. |
| HasDefaultValue | Boolean | Returns true if the attribute has the default value. |
| Documentation | String | Returns the documentation of the attribute as formatted text. (It can be used only in documentation templates.) |
| HtmlDocumentation | String | Returns the documentation of the attribute in HTML format. |
| DocumentationLines | Enumeration | Enumerates all lines of the documentation for the attribute. The default variable used for the enumeration is DocumentationLine. |
| IsStatic | Boolean | Returns true if the attribute is static. |
| IsVirtual | Boolean | Returns true if the attribute is virtual. |
| IsAbstract | Boolean | Returns true if the attribute is abstract. |
| IsArray | Boolean | Returns true if the attribute has an array type. |
| HasTypeLength | Boolean | Returns true if the attribute has specified the length. |
| Multiplicity | String | Returns the multiplicity of the attribute. |
| Class | Class | Returns the owning class of the attribute. |
| Owner | Class | Returns the owning class of the attribute. |
| Definition | String | Returns the full definition (visibility symbol, name, type, etc.) of attribute in one string. |
New Comment