[jboss-jira] [JBoss JIRA] Created: (JBAS-6234) ManagedProperty contains certain metadata that is not contained in MetaType

Ian Springer (JIRA) jira-events at lists.jboss.org
Fri Nov 21 19:23:36 EST 2008


ManagedProperty contains certain metadata that is not contained in MetaType
---------------------------------------------------------------------------

                 Key: JBAS-6234
                 URL: https://jira.jboss.org/jira/browse/JBAS-6234
             Project: JBoss Application Server
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
          Components: ProfileService
            Reporter: Ian Springer
            Assignee: Scott M Stark
            Priority: Critical


The following metadata-related methods are present in the ManagedProperty, but not in MetaType:

getLegalValues()
getMinimumValue()
getMaximumValue()
checkValidValue(Serializable value)
isMandatory()

This means that the associated metadata is available for top-level ManagedProperty's, but not for nested MetaValues within a ManagedProperty.

For example, if I have a ManagedProperty "foo" whose value is a CompositeValue which contains a set of MetaValues, it is not possible for the developer to define legal values, min/max values, or mandatory for the MetaValues that are items within that CompositeValue.

This may just be an acceptable limitation of the API, but I'm setting this to critical since it's API-related, so Scott can evaluate.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list