Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5246 Open console support
  3. JBAS-6234

ManagedProperty contains certain metadata that is not contained in MetaType

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            ips_jira Ian Springer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: