Sub-types and attributes

5 views
Skip to first unread message

dimitar

unread,
Jun 11, 2012, 11:16:08 PM6/11/12
to ControlTier
Hello,

I have created a sub-type of JBossServer type and added a new Setting
to the sub-type.. I would like to use the Setting type as a custom
property ie. attribute in the sub-type and to be able to modify its
value in each instance of the sub-type.

So, if MyJBoss is a sub-type of JBossServer and has the myproperty
Setting I would like to be able to do in the following instances of
MyJBoss sub-type:

1. MyJBoss01 -> myproperty = 1
2. MyJBoss02 -> myproperty = 2
3. MyJBoss03 -> myproperty = 3

All my efforts have been unsuccessful so far. Once the value of the
Setting is set in the Sub-type it is impossible to change it in its
instances.

According to the documentation available at the Wiki site,
modification of attributes values is not allowed in instances of
Types. The question is is it possible to do it with the current data
model in ControlTier?

Thanks,

Dimitar

Reply all
Reply to author
Forward
0 new messages