Update Position.java

Made fields? productId and Decimal protected, generated relative getter and setter methods. Making it protected allows to class AccountPosition (which extends Position) to access them directly, whereas other class not extending Position have to use getter and setter methods. If we want to make them private then we will change the code of AccountPosition to use Getter and Setter methods.