org.apache.geronimo.blueprint.reflect
Class ValueMetadataImpl
java.lang.Object
org.apache.geronimo.blueprint.reflect.ValueMetadataImpl
- All Implemented Interfaces:
- MutableValueMetadata, Metadata, NonNullMetadata, ValueMetadata
public class ValueMetadataImpl
- extends Object
- implements MutableValueMetadata
Implementation of ValueMetadata
- Version:
- $Rev: 760378 $, $Date: 2009-03-31 11:31:38 +0200 (Tue, 31 Mar 2009) $
- Author:
- Apache Geronimo Project
ValueMetadataImpl
public ValueMetadataImpl()
ValueMetadataImpl
public ValueMetadataImpl(String stringValue)
ValueMetadataImpl
public ValueMetadataImpl(String stringValue,
String type)
ValueMetadataImpl
public ValueMetadataImpl(ValueMetadata source)
getStringValue
public String getStringValue()
- Description copied from interface:
ValueMetadata
- Return the unconverted string representation of the value.
This is specified by the
value attribute or text part of the
value element.
- Specified by:
getStringValue in interface ValueMetadata
- Returns:
- The unconverted string representation of the value.
setStringValue
public void setStringValue(String stringValue)
- Specified by:
setStringValue in interface MutableValueMetadata
getType
public String getType()
- Description copied from interface:
ValueMetadata
- Return the name of the type to which the value should be converted.
This is specified by the
type attribute.
- Specified by:
getType in interface ValueMetadata
- Returns:
- The name of the type to which the value should be converted or
null if no type is specified.
setType
public void setType(String typeName)
- Specified by:
setType in interface MutableValueMetadata
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.