Annotation Type Convert

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String attributeName
      The attributeName must be specified unless the Convert annotation is on an attribute of basic type or on an element collection of basic type.
      Class converter
      Specifies the converter to be applied.
      boolean disableConversion
      Used to disable an auto-apply or inherited converter.
    • Element Detail

      • converter

        Class converter
        Specifies the converter to be applied. A value for this element must be specified if multiple converters would otherwise apply.
        Returns:
        converter
        Default:
        void.class
      • attributeName

        String attributeName
        The attributeName must be specified unless the Convert annotation is on an attribute of basic type or on an element collection of basic type. In these cases, attributeName must not be specified.
        Returns:
        attribute name
        Default:
        ""
      • disableConversion

        boolean disableConversion
        Used to disable an auto-apply or inherited converter. If disableConversion is true, the converter element should not be specified.
        Returns:
        disable
        Default:
        false