Instance Names

LMIInstanceName is a object, which holds a set of primary keys and their values. This type of object exactly identifies an instance.

Key properties

To get a list of key properties, see following example:

> instance_name.print_key_properties()
...
> instance_name.key_properties()
...
> instance_name.SomeKeyProperty
...
>

Conversion to a LMIInstance

This type of object may be returned from a method call. Each instance name can be converted into the instance, see next example:

> instance = instance_name.to_instance()
>

Useful Properties

Following part describes LMIInstanceName useful properties.

Class name

To get a class name of the instance name, execute:

> instance_name.classname
>

Path

To get a path string from the instance name, execute following:

> instance_name.path
...
>

Table Of Contents

Previous topic

Instances

Next topic

Associated Objects

This Page