Interface ValueMetadata
- All Superinterfaces:
Metadata
,NonNullMetadata
Metadata for a simple
String
value that will be type-converted if
necessary before injecting.-
Method Summary
Modifier and TypeMethodDescriptionReturn the unconverted string representation of the value.getType()
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 thevalue
attribute or text part of thevalue
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 thetype
attribute.- Returns:
- The name of the type to which the value should be converted or
null
if no type is specified.
-