Annotation Interface Attribute


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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether this attribute is binary.
    Attribute name.
    Name of the method or field that maps to this attribute.
    Transcoder for this attribute.
    Attribute values.
  • Element Details

    • name

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

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

      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

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