naming convention in JavaBean

JavaBean Property Naming Rules:
* If the property is not a boolean, the getter method's prefix must be get; If the property is a boolean, the getter method's prefix is either get or is.
* The setter method's prefix must be set.
* To complete the name of a getter or setter method, change the first letter of the property name to uppercase, and then append it to the appropriate prefix.
* Getter method signatures must be marked public , take no arguments, and have a return type that matches the argument type of the setter method for that property.
* Setter method signatures must be marked public , with a void return type and an argument that represents the property type.

JavaBean Listener Naming Rules:
* Listener method names used to "register" a listener with an event source must use the prefix add, followed by the listener type.
* Listener method names used to remove ("unregister") a listener must use the prefix remove , followed by the listener type.
* The type of listener to be added or removed must be passed as the argument to the method.
* Listener method names must end with the word "Listener".

<pre><code>
public void setMyValue(int v)
public int getMyValue()
public boolean isMyStatus()
public void addMyListener(MyListener m)
public void removeMyListener(MyListener m)
</code></pre>