Package org.jboss.as.pojo.descriptor
Class ValueConfig
java.lang.Object
org.jboss.as.pojo.descriptor.AbstractConfigVisitorNode
org.jboss.as.pojo.descriptor.ValueConfig
- All Implemented Interfaces:
Serializable,ConfigVisitorNode,TypeProvider
- Direct Known Subclasses:
CollectionConfig,FactoryConfig,InjectedValueConfig,MapConfig,StringValueConfig
Value meta data.
- Author:
- Ales Justin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ObjectgetClassValue(Class<?> type) Get value, use type to narrow down exact value.intgetIndex()protected ObjectgetPtValue(ParameterizedType type) Get value.getType()Get value.voidsetIndex(int index) voidMethods inherited from class org.jboss.as.pojo.descriptor.AbstractConfigVisitorNode
addChildren, getChildren, getTempBeanInfo, getTempBeanInfo, getTempBeanInfo, getType, getType, visit
-
Constructor Details
-
ValueConfig
public ValueConfig()
-
-
Method Details
-
getValue
Get value.- Parameters:
type- the type- Returns:
- value
-
getPtValue
Get value.- Parameters:
type- the parameterized type- Returns:
- value
-
getClassValue
Get value, use type to narrow down exact value.- Parameters:
type- the injection point type- Returns:
- value
-
getType
-
setType
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int index)
-