You can use an upper case G and S if you want to ensure these methods remain methods instead of becoming properties:
/**
* Set the recordSource
*/
public void SetRecordSource (String setSource) {
recordSource = setSource;
}
/**
* Get the recordSource
*/
public String GetRecordSource () {
return recordSource;
}
Note that lower case get??? and set??? methods are not always converted from methods into properties, for example passing one or more parameters:
public int getSum(int A, int B){
return A+B;
}
public void setMyValues(int Value1, int Value2){
// do something with Value1 and Value 2 here
}
Neither of these two methods will be automatically converted to properties.
It not possible to convert a getter which accepts a parameter to a property and likewise it's not possible to convert a setter which accepts more than one parameter to a property.
Martin.