-
Bug
-
Resolution: Not an Issue
-
P3
-
9
Probably not an issue, but just in case...
For some PropertyDescriptor d we have the following <d.setXXX()> <-> <@BeanProperty element> relations:
d.setBound(true) <-> @BeanProperty(bound = true)
d.setExpert(true) <-> @BeanProperty(expert = true)
d.setHidden(true) <-> @BeanProperty(hidden = true)
d.setPreferred(true) <-> @BeanProperty(preferred = true)
d.setValue("required", true) <-> @BeanProperty(required = true) - does not work! SeeJDK-8131939
d.setValue("visualUpdate", true) <-> @BeanProperty(visualUpdate = true)
d.setShortDescription("AAA") <-> @BeanProperty(description = "AAA")
d.setValue("enumerationValues", new Object[]{...}) <-> @BeanProperty(enumerationValues = {...})
but:
d.setConstrained(true) <-> ???
so, is that what expected? why "constrained" property is less important than (e.g.) "expert" or "bound"?
For some PropertyDescriptor d we have the following <d.setXXX()> <-> <@BeanProperty element> relations:
d.setBound(true) <-> @BeanProperty(bound = true)
d.setExpert(true) <-> @BeanProperty(expert = true)
d.setHidden(true) <-> @BeanProperty(hidden = true)
d.setPreferred(true) <-> @BeanProperty(preferred = true)
d.setValue("required", true) <-> @BeanProperty(required = true) - does not work! See
d.setValue("visualUpdate", true) <-> @BeanProperty(visualUpdate = true)
d.setShortDescription("AAA") <-> @BeanProperty(description = "AAA")
d.setValue("enumerationValues", new Object[]{...}) <-> @BeanProperty(enumerationValues = {...})
but:
d.setConstrained(true) <-> ???
so, is that what expected? why "constrained" property is less important than (e.g.) "expert" or "bound"?