Start a Conversation

Unsolved

This post is more than 5 years old

401

September 30th, 2008 15:00

Prefix in Object Names

When I create a new Instance of any Smarts Class in the Topology Builder Console, this tool create object with a Prefix depending the Smarts Class, it add a prefix in the Name field.

Why do this?
Is there any list of prefixes by Class?

Regards

36 Posts

October 1st, 2008 05:00

The Name property of an object needs to be unique in the Smarts repository. Objects have a prefix to ensure, there is no object with the same name in another class.
I know that CreationClassName and Name are used together to identify in many places, but the Name property is the only true key.
I'm not aware of any lists, but you can create one by creating an instance of each class using a factory class operation (not the create method). Operations automatically put the prefix in the name.

Hope this helps,
Berkay Mollamustafaoglu
http://www.ifountain.com
Voip: + 1 703 349 0538
mberkay on yahoo, google and skype

8 Posts

October 1st, 2008 08:00

Thanks Berkay for your reply.
No Events found!

Top