BeanItem & PropertyDescriptor

I have a bean wich implements an interface:


public interface AbstractEntity  {
	Serializable getId();

My bean overrides the getId() method this way and defines the setter :


public String getId() {
 [...]

}

public void setId(String id) {
 [...]

}

When I try to construct a BeanItem from this bean, the “id” property is considered as readOnly because my interface does not declare a setter.

Is this a normal behavior ? If I create a setter in my interface, I have to play with types as “public void setId(String id)” will not override “public void setId(Serializable id)”