Ok, I'm confused by this warning method and not sure where to look.
WARN [main] (ClassMolder.java:3162) - FieldMolder FieldMolder of
com.vort.vortsentry.beans.RainFallSite.setintensitys
(com.vort.vortsentry.beans.RainFallInt intensitys) is not addable;
collection needs to set for object type
com.vort.vortsentry.beans.RainFallInt.
But in my class it has the methods:
...
/**
* Getter for property intensitys.
* @return Value of property intensitys.
*/
public Vector getIntensitys() {
return intensitys;
}
/**
* Setter for property intensitys.
* @param intensitys New value of property intensitys.
*/
public void setIntensitys(Vector intensitys) {
this.intensitys = intensitys;
}
/** added because I thought this was what it was missing **/
public void setIntensitys(RainFallInt intensity) {
this.intensitys.add(intensitys);
}
public void addIntensitys(RainFallInt intensity) {
this.intensitys.add(intensitys);
}
public void removeIntensitys(RainFallInt intensity) {
this.intensitys.remove(intensitys);
}
...
So why isn't this addable? Whats the correct syntax? It still seems to
work alright so why is it yelling at me? :)
-Nick
The information contained in this message and any file transmitted with it may be
privileged and confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communications is strictly prohibited.
If you have received this communication in error, please notify us immediately by
replying to the message and deleting it from your computer. Finally, the recipient
should check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this email.
Thank you, Vortechnics, Inc.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev