How to add annotations to getter and setter property?
I have define property as
// Value Date
public void setValueDate(String valDate)
sValueDate = valDate;
public String getValueDate()
I want to add annotation to check for nulls, length for validation purpose. How to add annotation ?
Thanks in advance
Re: How to add annotations to getter and setter property?
What have you tried? Without more detail, the best we can do is point you here: https://www.google.com/search?q=java+annotations