Declaring getter and setter method for context node attribute
Can anyone tell me how to create a getter and settere methods with parameter passing for context node attribute in methods tab.
Satya Sreelata replied
by default u will have the 'typed access required'
property of the context attributes set to true which generates the getters n setters automatically..
explicitly if u want to create a method
switch to methods tab,
click on new
choose method radio button,
give the name get , choose the return type,
click on next,
there, click on new for giving the parameters,
choose the return type.
say finish and implement the logic in the get and set methods.