|
||||||||||
| 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.AbstractPropertyMetaData
public class AbstractPropertyMetaData
Metadata for a property.
| Field Summary | |
|---|---|
protected String |
name
The property name |
protected boolean |
preInstantiate
The preinstantiate |
protected ValueMetaData |
value
The property 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 | |
|---|---|
AbstractPropertyMetaData()
Create a new property meta data |
|
AbstractPropertyMetaData(String name,
Object value)
Create a new property meta data |
|
AbstractPropertyMetaData(String name,
String value)
Create a new property meta data |
|
AbstractPropertyMetaData(String name,
String value,
String type)
Create a new property meta data |
|
AbstractPropertyMetaData(String name,
ValueMetaData value)
Create a new attribute meta data |
|
| Method Summary | |
|---|---|
void |
addChildren(Set<MetaDataVisitorNode> children)
|
String |
getName()
Get the name. |
String |
getType()
Get property type if possible. |
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 |
boolean |
isPreInstantiate()
Get the preinstantiate flag. |
void |
setName(String name)
Set the name |
void |
setPreInstantiate(boolean preInstantiate)
|
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, 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 |
| Field Detail |
|---|
protected String name
protected boolean preInstantiate
protected ValueMetaData value
| Constructor Detail |
|---|
public AbstractPropertyMetaData()
public AbstractPropertyMetaData(String name,
Object value)
name - the namevalue - the value
public AbstractPropertyMetaData(String name,
String value)
name - the namevalue - the string value
public AbstractPropertyMetaData(String name,
ValueMetaData value)
name - the namevalue - the value meta data
public AbstractPropertyMetaData(String name,
String value,
String type)
name - the namevalue - the string valuetype - the type| Method Detail |
|---|
public String getName()
PropertyMetaData
getName in interface PropertyMetaDatapublic void setName(String name)
name - the namepublic String getType()
PropertyMetaData
getType in interface PropertyMetaDatapublic boolean isPreInstantiate()
PropertyMetaData
isPreInstantiate in interface PropertyMetaDatapublic void setPreInstantiate(boolean preInstantiate)
public ValueMetaData getValue()
ValueMetaDataAware
getValue in interface ValueMetaDataAwaregetValue in interface PropertyMetaDatapublic void setValue(ValueMetaData value)
setValue in interface ValueMetaDataAwarevalue - the valuepublic void initialVisit(MetaDataVisitor visitor)
MetaDataVisitorNode
initialVisit in interface MetaDataVisitorNodeinitialVisit in class AbstractFeatureMetaDatavisitor - the visitorpublic 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 | |||||||||