I want to use properties of a Java class in Ivy. I know that I should use getter and setter methods, but it does not work when I try to call getabc() or setabc(). What is wrong?

asked 27.06.2013 at 09:02

Bruno%20B%C3%BCtler's gravatar image

Bruno Bütler
56181318
accept rate: 68%


Please make sure that the the getter/setter methods in the Java class do have the name getXyz and setXyz repsectively. Note that the first character after the get/set must be capitalized.

Otherwise the code completion in the ivy script editors and the attribute browser will not work correctly because xyz would not be recognized as member of that class.

link

answered 04.11.2013 at 10:06

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.4k102118122
accept rate: 77%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×52
×9

Asked: 27.06.2013 at 09:02

Seen: 2,215 times

Last updated: 27.06.2013 at 09:02