Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Declaring getter and setter method for context node attribute

Hi All,

Can anyone tell me how to create a getter and settere methods with parameter passing for context node attribute in methods tab.



Former Member
Former Member 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.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question