« Späť na Secure Tropos Project

Dynamically get attributes of a class

Kombinovaný pohľad Plochý pohľad Stromový pohľad
Témy [ Predchádzajúci | Ďalej ]
toggle
Dynamically get attributes of a class
community attribute documentation
Odpoveď
27.3.2014 12:28
Is there a way to get the attributes related to a class dynamically during operation with AdoScript?

RE: Dynamically get attributes of a class
Odpoveď
10.7.2013 13:04 ako reakcia na Anonym.
Two AdoScript commands can be used to retrieve the attributes associated with a class in ADOxx:

GET_ALL_NB_ATTRS returns a list of all attribute IDs contained in the notebook of a certain class or relation class.
1CC "Core" GET_ALL_NB_ATTRS classid:intValue
2#-->RESULT ecode:intValue attrids:strValue .



GET_ALL_ATTRS returns a list of attribute ids (separated by spaces).
1CC "Core" GET_ALL_ATTRS [OfModelType | OfClass]
2Option: OfModelType: modeltype:strValue [ with-hidden-attrs ] .
3Option: OfClass: classid:intValue [ without-iattrs ] [ with-cattrs ]
4#-->RESULT ecode:intValue attrids:strValue