|
||||||||||
| 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.AbstractParameterMetaData
public class AbstractParameterMetaData
Metadata for a parameter.
| Field Summary | |
|---|---|
protected int |
index
The index in parameter list |
protected String |
type
The parameter type |
protected ValueMetaData |
value
The parameter value |
| Fields inherited from class org.jboss.beans.metadata.plugins.AbstractFeatureMetaData |
|---|
annotations, description |
| 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 | |
|---|---|
AbstractParameterMetaData()
Create a new parameter meta data |
|
AbstractParameterMetaData(Object value)
Create a new parameter meta data |
|
AbstractParameterMetaData(String type,
Object value)
Create a new parameter meta data |
|
AbstractParameterMetaData(String type,
String value)
Create a new parameter meta data |
|
AbstractParameterMetaData(String type,
ValueMetaData value)
Create a new parameter meta data |
|
AbstractParameterMetaData(ValueMetaData value)
Create a new parameter meta data |
|
| Method Summary | |
|---|---|
protected void |
addChildren(Set<MetaDataVisitorNode> children)
|
int |
getIndex()
Get the index |
String |
getType()
Get the type. |
org.jboss.reflect.spi.TypeInfo |
getType(MetaDataVisitor visitor,
MetaDataVisitorNode previous)
Get the injectee type info. |
ValueMetaData |
getValue()
Get the value. |
void |
setIndex(int index)
|
void |
setType(String type)
|
void |
setValue(ValueMetaData value)
Set the value. |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
| Methods inherited from class org.jboss.beans.metadata.plugins.AbstractFeatureMetaData |
|---|
applyCollectionOrMapCheck, describeVisit, getAnnotations, getChildren, getDescription, initialVisit, setAnnotations, setDescription |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, 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 |
|---|
clone, toShortString |
| Methods inherited from interface org.jboss.beans.metadata.spi.MetaDataVisitorNode |
|---|
describeVisit, getChildren, initialVisit |
| Field Detail |
|---|
protected String type
protected ValueMetaData value
protected int index
| Constructor Detail |
|---|
public AbstractParameterMetaData()
public AbstractParameterMetaData(Object value)
value - the valuepublic AbstractParameterMetaData(ValueMetaData value)
value - the value metadata
public AbstractParameterMetaData(String type,
Object value)
type - the typevalue - the value
public AbstractParameterMetaData(String type,
String value)
type - the typevalue - the string value
public AbstractParameterMetaData(String type,
ValueMetaData value)
type - the typevalue - the value meta data| Method Detail |
|---|
public String getType()
ParameterMetaData
getType in interface ParameterMetaDatapublic void setType(String type)
public ValueMetaData getValue()
ValueMetaDataAware
getValue in interface ValueMetaDataAwaregetValue in interface ParameterMetaDatapublic int getIndex()
ParameterMetaData
getIndex in interface ParameterMetaDatapublic void setIndex(int index)
public void setValue(ValueMetaData value)
ValueMetaDataAware
setValue in interface ValueMetaDataAwarevalue - the valueprotected 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 TypeProvidervisitor - meda data visitorprevious - previous node in the stack
Throwable - if could not determine classpublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class AbstractFeatureMetaDatapublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class AbstractFeatureMetaData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||