Annotation Type Attribute

    • Optional Element Summary

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

      • 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:
        ""