Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    com.isomorphic.criteria.Criterion classes convenience constructors missing

    Hi Isomorphic,

    please see the classes implementing com.isomorphic.criteria.Criterion.

    While SimpleCriterion has these signatures
    Code:
    SimpleCriterion(java.lang.String fieldName, [B]OperatorBase operatorId[/B], java.lang.Object value) 
    SimpleCriterion(java.lang.String fieldName, java.lang.String operatorId, java.lang.Object value)
    others also using Operators don't have it. These are: LogicalCriterion, *RangeCriterion (several), OtherFieldCriterion, SetCriterion.

    Here I use e.g. "DefaultOperators.InSet.getID()" instead. AdvancedCriteria also has both versions. Could you add those methods or tell me why they are available for some Criterions, but not all?

    I'm using v9.1p_2014-06-29.

    Thank you and best regards,
    Blama

    #2
    AdvancedCriteria.html#fromCollections also misses the 2nd version.

    Best regards,
    Blama

    Comment


      #3
      These have now been added to the 5.0d branch

      Regards
      Isomorphic Software

      Comment


        #4
        Hi Isomorphic,

        thanks for adding.

        Best regards,
        Blama

        Comment

        Working...
        X