Interface ValueMetadata

All Superinterfaces:
Metadata, NonNullMetadata

@ConsumerType public interface ValueMetadata extends NonNullMetadata
Metadata for a simple String value that will be type-converted if necessary before injecting.
Author:
$Id: 9d09b60f215657d44853344212aed6ef56e28129 $
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the unconverted string representation of the value.
    Return the name of the type to which the value should be converted.
  • Method Details

    • getStringValue

      String getStringValue()
      Return the unconverted string representation of the value. This is specified by the value attribute or text part of the value element.
      Returns:
      The unconverted string representation of the value.
    • getType

      String getType()
      Return the name of the type to which the value should be converted. This is specified by the type attribute.
      Returns:
      The name of the type to which the value should be converted or null if no type is specified.