|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.beans.metadata.plugins.AbstractFeatureMetaData
org.jboss.beans.metadata.plugins.AbstractConstructorMetaData
public class AbstractConstructorMetaData
Metadata for construction.
Field Summary | |
---|---|
protected ValueMetaData |
factory
The factory |
protected String |
factoryClassName
The factory class name |
protected String |
factoryMethod
The factory method |
protected List<ParameterMetaData> |
parameters
The paramaters List |
protected ValueMetaData |
value
The value |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Fields inherited from interface org.jboss.beans.metadata.plugins.TypeProvider |
---|
ERROR_MSG |
Constructor Summary | |
---|---|
AbstractConstructorMetaData()
Create a new constructor meta data |
Method Summary | |
---|---|
protected void |
addChildren(Set<MetaDataVisitorNode> children)
|
AbstractConstructorMetaData |
clone()
Clone the object |
protected void |
doClone(AbstractConstructorMetaData clone)
|
ValueMetaData |
getFactory()
Get the factory. |
String |
getFactoryClass()
Get the factory class. |
String |
getFactoryMethod()
Get the factory method. |
List<ParameterMetaData> |
getParameters()
Get the parameters. |
org.jboss.reflect.spi.TypeInfo |
getType(MetaDataVisitor visitor,
MetaDataVisitorNode previous)
Get the injectee type info. |
ValueMetaData |
getValue()
Get the value. |
void |
initialVisit(MetaDataVisitor visitor)
Visit the node |
void |
setFactory(ValueMetaData factory)
Set the factory |
void |
setFactoryClass(String name)
Set the factory class name |
void |
setFactoryMethod(String name)
Set the factory method |
void |
setParameters(List<ParameterMetaData> parameters)
Set the parameters |
void |
setValue(ValueMetaData value)
Set the value |
void |
setValueObject(Object value)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractFeatureMetaData |
---|
applyCollectionOrMapCheck, describeVisit, doClone, getAnnotations, getChildren, getDescription, setAnnotations, setDescription, toShortString |
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.beans.metadata.spi.FeatureMetaData |
---|
getAnnotations, getDescription |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
toShortString, toShortString |
Methods inherited from interface org.jboss.beans.metadata.spi.MetaDataVisitorNode |
---|
describeVisit, getChildren |
Field Detail |
---|
protected List<ParameterMetaData> parameters
protected ValueMetaData value
protected ValueMetaData factory
protected String factoryClassName
protected String factoryMethod
Constructor Detail |
---|
public AbstractConstructorMetaData()
Method Detail |
---|
public void setParameters(List<ParameterMetaData> parameters)
setParameters
in interface MutableParameterizedMetaData
parameters
- Listpublic void setValue(ValueMetaData value)
setValue
in interface ValueMetaDataAware
value
- the valuepublic void setValueObject(Object value)
public void setFactory(ValueMetaData factory)
factory
- the factorypublic void setFactoryClass(String name)
name
- the factory class namepublic void setFactoryMethod(String name)
name
- the factory methodpublic List<ParameterMetaData> getParameters()
ParameterizedMetaData
getParameters
in interface ParameterizedMetaData
public ValueMetaData getValue()
ConstructorMetaData
getValue
in interface ValueMetaDataAware
getValue
in interface ConstructorMetaData
public ValueMetaData getFactory()
ConstructorMetaData
getFactory
in interface ConstructorMetaData
public String getFactoryClass()
ConstructorMetaData
getFactoryClass
in interface ConstructorMetaData
public String getFactoryMethod()
ConstructorMetaData
getFactoryMethod
in interface ConstructorMetaData
public void initialVisit(MetaDataVisitor visitor)
MetaDataVisitorNode
initialVisit
in interface MetaDataVisitorNode
initialVisit
in class AbstractFeatureMetaData
visitor
- the visitorprotected void addChildren(Set<MetaDataVisitorNode> children)
addChildren
in class AbstractFeatureMetaData
public org.jboss.reflect.spi.TypeInfo getType(MetaDataVisitor visitor, MetaDataVisitorNode previous) throws Throwable
TypeProvider
getType
in interface TypeProvider
visitor
- meda data visitorprevious
- previous node in the stack
Throwable
- if could not determine classpublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class AbstractFeatureMetaData
public AbstractConstructorMetaData clone()
MetaDataVisitorNode
clone
in interface MetaDataVisitorNode
clone
in interface org.jboss.util.JBossInterface
clone
in class org.jboss.util.JBossObject
protected void doClone(AbstractConstructorMetaData clone)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |