Knopflerfish OSGi 5.2.0

org.osgi.service.blueprint.reflect
Interface ValueMetadata

All Superinterfaces:
Metadata, NonNullMetadata

public interface ValueMetadata
extends NonNullMetadata

Metadata for a simple String value that will be type-converted if necessary before injecting.

Author:
$Id: 69bf6aaf988e94fe8769f3d21cdb45a6534714e2 $
ThreadSafe

Method Summary
 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 the value attribute or text part of the value 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 the type attribute.

Returns:
The name of the type to which the value should be converted or null if no type is specified.

Knopflerfish OSGi 5.2.0