Interface ValueMetadata
-
- All Superinterfaces:
Metadata
,NonNullMetadata
@ConsumerType public interface ValueMetadata extends NonNullMetadata
Metadata for a simpleString
value that will be type-converted if necessary before injecting.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getStringValue()
Return the unconverted string representation of the value.java.lang.String
getType()
Return the name of the type to which the value should be converted.
-
-
-
Method Detail
-
getStringValue
java.lang.String getStringValue()
Return the unconverted string representation of the value. This is specified by thevalue
attribute or text part of thevalue
element.- Returns:
- The unconverted string representation of the value.
-
getType
java.lang.String getType()
Return the name of the type to which the value should be converted. This is specified by thetype
attribute.- Returns:
- The name of the type to which the value should be converted or
null
if no type is specified.
-
-