cancel
Showing results for 
Search instead for 
Did you mean: 

context API

Former Member
0 Kudos

Hi all,

What is the difference between typed context API and generic context API ?

regards,

shreeharsha

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

answered

Abhinav_Sharma
Contributor
0 Kudos

Hi

Typed Context Attributes are those for which getter setter methods are created. Like if you have a node name Employee and attribute FirstName. So to access FirstName, you can directly refer IEmployeElement class.

For generic attribute, there is no specifc class is created and you can access the attributes using generic context apis IWDNode and IwdNodeElement.

So for Typed Context attribute separate classes are build but not for Generic one. This saves program memory.

Abhinav

Former Member
0 Kudos

thank you abhinav....