Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Description

      An "enum" validator which validates a value is member of an Commons Enum type or JDK5 type. Attachment forthcoming.

        Activity

        Hide
        niallp Niall Pemberton added a comment -

        My aim for the "routines" package was all the actual validation routines (i.e. no "framework") and with no dependencies outside the package. The thinking there was that we could possibly package up a "routines" jar with zero dependencies. I'm reluctant to go against that without a compelling case and IMO Apache Enums (presumably you mean Commons Lang's enum?) became yesterdays solution when JDK 1.5 arrived.

        On JDK 1.5 enums - Validator only just moved to a minimum dependency of JDK 1.4 (for Validator 1.4) - I'm OK with moving to JDK 1.5 for validator2, but I'd prefer Validator 1.4 was released based on JDK 1.4 (given that the last 1.3.1 release had a min. of JDK 1.3).

        Show
        niallp Niall Pemberton added a comment - My aim for the "routines" package was all the actual validation routines (i.e. no "framework") and with no dependencies outside the package. The thinking there was that we could possibly package up a "routines" jar with zero dependencies. I'm reluctant to go against that without a compelling case and IMO Apache Enums (presumably you mean Commons Lang's enum?) became yesterdays solution when JDK 1.5 arrived. On JDK 1.5 enums - Validator only just moved to a minimum dependency of JDK 1.4 (for Validator 1.4) - I'm OK with moving to JDK 1.5 for validator2, but I'd prefer Validator 1.4 was released based on JDK 1.4 (given that the last 1.3.1 release had a min. of JDK 1.3).
        Hide
        pbenedict pbenedict added a comment -

        Yes. I really would like to get this in Validator 1.4. It is possible to use reflection when wanting to deal with JDK 5 generics. This would be great along with Apache Enums

        Show
        pbenedict pbenedict added a comment - Yes. I really would like to get this in Validator 1.4. It is possible to use reflection when wanting to deal with JDK 5 generics. This would be great along with Apache Enums
        Hide
        bens Ben Speakmon added a comment -

        Attachment still forthcoming?

        Show
        bens Ben Speakmon added a comment - Attachment still forthcoming?

          People

          • Assignee:
            Unassigned
            Reporter:
            pbenedict Paul Benedict
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development