org.apache.aries.blueprint.reflect
Class BeanPropertyImpl

java.lang.Object
  extended by org.apache.aries.blueprint.reflect.BeanPropertyImpl
All Implemented Interfaces:
MutableBeanProperty, BeanProperty

public class BeanPropertyImpl
extends java.lang.Object
implements MutableBeanProperty

Implementation of BeanProperty

Version:
$Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

Constructor Summary
BeanPropertyImpl()
           
BeanPropertyImpl(BeanProperty source)
           
BeanPropertyImpl(java.lang.String name, Metadata value)
           
 
Method Summary
 java.lang.String getName()
          Return the name of the property to be injected.
 Metadata getValue()
          Return the Metadata for the value to be injected into a bean.
 void setName(java.lang.String name)
           
 void setValue(Metadata value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanPropertyImpl

public BeanPropertyImpl()

BeanPropertyImpl

public BeanPropertyImpl(java.lang.String name,
                        Metadata value)

BeanPropertyImpl

public BeanPropertyImpl(BeanProperty source)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: BeanProperty
Return the name of the property to be injected. The name follows Java Beans conventions. This is specified by the name attribute.

Specified by:
getName in interface BeanProperty
Returns:
The name of the property to be injected.

setName

public void setName(java.lang.String name)
Specified by:
setName in interface MutableBeanProperty

getValue

public Metadata getValue()
Description copied from interface: BeanProperty
Return the Metadata for the value to be injected into a bean. This is specified by the value attribute or in inlined text.

Specified by:
getValue in interface BeanProperty
Returns:
The Metadata for the value to be injected into a bean.

setValue

public void setValue(Metadata value)
Specified by:
setValue in interface MutableBeanProperty

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.