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
public abstract class ValueConfig extends AbstractConfigVisitorNode implements Serializable
Value meta data.- Author:
- Ales Justin
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ObjectgetClassValue(Class<?> type)Get value, use type to narrow down exact value.intgetIndex()protected ObjectgetPtValue(ParameterizedType type)Get value.StringgetType()ObjectgetValue(Type type)Get value.voidsetIndex(int index)voidsetType(String type)-
Methods inherited from class org.jboss.as.pojo.descriptor.AbstractConfigVisitorNode
addChildren, getChildren, getTempBeanInfo, getTempBeanInfo, getTempBeanInfo, getType, getType, visit
-
-
-
-
Method Detail
-
getPtValue
protected Object getPtValue(ParameterizedType type)
Get value.- Parameters:
type- the parameterized type- Returns:
- value
-
getClassValue
protected abstract Object getClassValue(Class<?> type)
Get value, use type to narrow down exact value.- Parameters:
type- the injection point type- Returns:
- value
-
getType
public String getType()
-
setType
public void setType(String type)
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
-