Reference

Return to Introduction  Previous page  Next page

public 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

Count of items in the list.

Type

String

The list type (eg. Diagram Types).

ObjectType

ObjectType

Read only.  Distinguishes objects referenced through a Dispatch interface.

Reference Methods

Method

Type

Notes

GetAt (Short) 

String

param: index [ Short - in ] The index of the item to retrieve from the list.

Get the item at the specified index.

GetLastError () 

String 

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used since an exception is thrown when an error occurs.

Refresh () 

short 

Refresh the current list and return the count of items.