Metadata Parameter Names
You derive the name of a parameter from the name of its "set" method. Typically, you remove the prefix (set) and make the first letter lower case. Thus, the "set" methods above would define metadata parameters named serverName and portNumber. For example:
public void setServerName(String name) {
}
public void setPortNumber(int portNumber) {
}
The complete naming convention rules follow the Java bean property naming conventions. For more information, see
http://www.oracle.com/technetwork/java/javase/documentation/spec-136004.htmlSome naming variations include:
setFoo() -> parameter name is "foo"
setfoo() -> parameter name is "foo"
setFOO() -> parameter name is "FOO"
setFOo() -> parameter name is "Foo"
set_foo() -> parameter name is "_foo"
set_Foo() -> parameter name is "_Foo"