站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

ConstructorArgumentValues.ValueHolder (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.beans.factory.config
Class ConstructorArgumentValues.ValueHolder

java.lang.Object
  extended by org.springframework.beans.factory.config.ConstructorArgumentValues.ValueHolder
Enclosing class:
ConstructorArgumentValues

public static class ConstructorArgumentValues.ValueHolder
extends Object

Holder for a constructor argument value, with an optional type attribute indicating the target type of the actual constructor argument.


Method Summary
 String getType()
          Return the type of the constructor argument.
 Object getValue()
          Return the value for the constructor argument.
 void setType(String type)
          Set the type of the constructor argument.
 void setValue(Object value)
          Set the value for the constructor argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setValue

public void setValue(Object value)
Set the value for the constructor argument. Only necessary for manipulating a registered value, for example in BeanFactoryPostProcessors.

See Also:
PropertyPlaceholderConfigurer

getValue

public Object getValue()
Return the value for the constructor argument.


setType

public void setType(String type)
Set the type of the constructor argument. Only necessary for manipulating a registered value, for example in BeanFactoryPostProcessors.

See Also:
PropertyPlaceholderConfigurer

getType

public String getType()
Return the type of the constructor argument.



Copyright (c) 2002-2007 The Spring Framework Project.