-
Notifications
You must be signed in to change notification settings - Fork 378
Open
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement
Description
Supporting methods as write-only fields, the current implementation causes confusion when using properties because the field value is a placeholder.
Or are there other correct ways to implement logical fields that I don’t know? Please let me know.
expect
public class Rectangle {
private int h;
private int w;
@Column
public int area() {
return h * w;
}
}current
public class Rectangle {
private int h;
private int w;
@AccessType(AccessType.Type.PROPERTY)
private int area;
public int getArea() {
return h * w;
}
}Metadata
Metadata
Assignees
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement