|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.blueprint.reflect.BeanArgumentImpl
public class BeanArgumentImpl
Implementation of BeanArgument
| Constructor Summary | |
|---|---|
BeanArgumentImpl()
|
|
BeanArgumentImpl(BeanArgument source)
|
|
BeanArgumentImpl(Metadata value,
String valueType,
int index)
|
|
| Method Summary | |
|---|---|
int |
getIndex()
Return the zero-based index into the parameter list of the factory method or constructor to be invoked for this argument. |
Metadata |
getValue()
Return the Metadata for the argument value. |
String |
getValueType()
Return the name of the value type to match the argument and convert the value into when invoking the constructor or factory method. |
void |
setIndex(int index)
|
void |
setValue(Metadata value)
|
void |
setValueType(String valueType)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeanArgumentImpl()
public BeanArgumentImpl(Metadata value,
String valueType,
int index)
public BeanArgumentImpl(BeanArgument source)
| Method Detail |
|---|
public Metadata getValue()
BeanArgumentvalue attribute.
getValue in interface BeanArgumentpublic void setValue(Metadata value)
setValue in interface MutableBeanArgumentpublic String getValueType()
BeanArgumenttype attribute.
getValueType in interface BeanArgumentnull if no type is specified.public void setValueType(String valueType)
setValueType in interface MutableBeanArgumentpublic int getIndex()
BeanArgumentindex attribute for the bean. If not
explicitly set, this will return -1 and the initial ordering is defined
by its position in the BeanMetadata.getArguments() list.
This is specified by the index attribute.
getIndex in interface BeanArgumentpublic void setIndex(int index)
setIndex in interface MutableBeanArgumentpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||