facebook

Changing the getter setter template code

  1. MyEclipse Archived
  2.  > 
  3. General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #296852 Reply

    makrandubale
    Member

    Hi… in my auto generated getter methods i want to do the folloing sthings

    1) Check wether the data type of the field is String?
    2) If NO return the valuse as it is
    3) If YES… i want return an empty string if the field is null.
    4) Also if the field value is a series of spaces (Eg: ” “) i want to trim the string and send only empty string…..

    Anybody has the solution?

    #296958 Reply

    Loyal Water
    Member

    I’m afraid that’s not possible. Sorry about that.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Changing the getter setter template code

You must be logged in to post in the forum log in