Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Validator2
    • 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
        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
        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
        Paul Benedict 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
        Paul Benedict 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
        Ben Speakmon added a comment -

        Attachment still forthcoming?

        Show
        Ben Speakmon added a comment - Attachment still forthcoming?

          People

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

            Dates

            • Created:
              Updated:

              Development