Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Reference Class
This Interface provides access to the various lookup tables within Enterprise Architect. Use the Repository GetReferenceList() method to get a handle to a list.
Valid lists are:
• | Diagram |
• | Element |
• | Constraint |
• | Requirement |
• | Connector |
• | Status |
• | Cardinality |
• | Effort |
• | Metric |
• | Scenario |
• | Status |
• | Test |
Reference Attributes
Attribute |
Type |
Notes |
---|---|---|
Count |
Short |
A count of items in the list.
|
ObjectType |
Read only Distinguishes objects referenced through a Dispatch interface.
|
|
Type |
String |
The list type (for example, DiagramTypes).
|
Reference Methods
Method |
Type |
Notes |
||
---|---|---|---|---|
GetAt ( |
String |
Get the item at the specified index. Parameters:
|
||
GetLastError () |
String |
Returns a string value describing the most recent error that occurred in relation to this object.
|
||
Refresh () |
Short |
Refresh the current list and return the count of items.
|
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2014 Sparx Systems Pty Ltd.