Annotation Type Attribute


  • @Retention(RUNTIME)
    @Target(ANNOTATION_TYPE)
    public @interface Attribute
    Annotation to describe LDAP attribute data on a bean.
    Author:
    Middleware Services
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean binary
      Whether this attribute is binary.
      java.lang.String name
      Attribute name.
      java.lang.String property
      Name of the method or field that maps to this attribute.
      java.lang.String transcoder
      Transcoder for this attribute.
      java.lang.String[] values
      Attribute values.
    • Element Detail

      • name

        java.lang.String name
        Attribute name.
        Returns:
        name of this attribute
        Default:
        ""
      • values

        java.lang.String[] values
        Attribute values. Mutually exclusive with property().
        Returns:
        concrete values for this attribute
        Default:
        {}
      • property

        java.lang.String property
        Name of the method or field that maps to this attribute. Mutually exclusive with values().
        Returns:
        property that contains attribute values
        Default:
        ""
      • binary

        boolean binary
        Whether this attribute is binary.
        Returns:
        whether this attribute is binary
        Default:
        false
      • transcoder

        java.lang.String transcoder
        Transcoder for this attribute.
        Returns:
        transcoder class name
        Default:
        ""