|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.aries.blueprint.reflect.BeanArgumentImpl
public class BeanArgumentImpl
Implementation of BeanArgument
Constructor Summary | |
---|---|
BeanArgumentImpl()
|
|
BeanArgumentImpl(BeanArgument source)
|
|
BeanArgumentImpl(Metadata value,
java.lang.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. |
java.lang.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(java.lang.String valueType)
|
java.lang.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, java.lang.String valueType, int index)
public BeanArgumentImpl(BeanArgument source)
Method Detail |
---|
public Metadata getValue()
BeanArgument
value
attribute.
getValue
in interface BeanArgument
public void setValue(Metadata value)
setValue
in interface MutableBeanArgument
public java.lang.String getValueType()
BeanArgument
type
attribute.
getValueType
in interface BeanArgument
null
if no type is specified.public void setValueType(java.lang.String valueType)
setValueType
in interface MutableBeanArgument
public int getIndex()
BeanArgument
index
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 BeanArgument
public void setIndex(int index)
setIndex
in interface MutableBeanArgument
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |