From the javabean spec this is acceptable. However, it is not good coding standards to have a property in all upper case. The java standard naming convention has constance as all upper case, properties as camel case. Struts would have a problem with this because it is looking for the first letter of the property to be lowercase.
if this is a procedure name it would be better to have the parameter as either p813name or procP813NAME.
Ashish Kulkarni <[EMAIL PROTECTED]>
07/01/2005 02:54 PM
|
|
Hello
I have java bean where in there is one property as
below
private java.lang.String P813NAME ;
public void setP813NAME (java.lang.String P813NAME )
{
this.P813NAME = P813NAME;
}
public java.lang.String getP813NAME ()
{
return this.P813NAME ;
}
is this valid or not?
if not why not and where i can find specification for
java bean
Ashish
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]