Annotation Type Compare


  • @Documented
    @Inherited
    @Retention(RUNTIME)
    public @interface Compare
    The compare element is used in a query expression to compare a profile attribute value to the value of a constant or query parameter
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String attributeName
      The name of the profile attribute to compare
      String collatorRef
      A reference to a collator, used to perform locale-sensitive comparisons on the profile attribute values
      String id  
      String op
      The conditional operator to apply
      String parameter
      The name of a query parameter whose value should be compared
      String value
      The name of a query parameter whose value should be compared
    • Element Detail

      • attributeName

        String attributeName
        The name of the profile attribute to compare
        Default:
        ""
      • value

        String value
        The name of a query parameter whose value should be compared
        Default:
        ""
      • parameter

        String parameter
        The name of a query parameter whose value should be compared
        Default:
        ""
      • op

        String op
        The conditional operator to apply
        Default:
        ""
      • collatorRef

        String collatorRef
        A reference to a collator, used to perform locale-sensitive comparisons on the profile attribute values
        Default:
        ""