Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-163

ModelTypeValidator should do more sophisticated type evaluations

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 7.0.0.Beta1
    • None
    • Domain Management
    • None

    Description

      ModelTypeValidator is doing an exact type match; it should be more sophisticated and accept nodes that will properly convert to the desired type.

      For example, a validator configured for ModelType.INT should accept ModelType.STRING if ModelNode.asInt() will work.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: