|
||||||||||
| 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.AbstractAnnotationAttributeMetaData
public class AbstractAnnotationAttributeMetaData
Metadata for an annotation attribute.
| Field Summary | |
|---|---|
protected String |
name
The attribute name |
protected ValueMetaData |
value
The attribute value |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
AbstractAnnotationAttributeMetaData()
Create a new annotation attribute meta data |
|
AbstractAnnotationAttributeMetaData(String name,
Object value)
Create a new annotation meta data |
|
AbstractAnnotationAttributeMetaData(String name,
String value)
Create a new annotation meta data |
|
AbstractAnnotationAttributeMetaData(String name,
ValueMetaData value)
Create a new annotation meta data |
|
| Method Summary | |
|---|---|
Iterator |
getChildren()
Return the child nodes |
String |
getName()
Get the name |
ValueMetaData |
getValue()
Get the value. |
void |
setName(String name)
Set the name |
void |
setValue(ValueMetaData value)
Set the value |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
void |
visit(MetaDataVisitor visitor)
Visit the node |
| 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.util.JBossInterface |
|---|
clone, toShortString |
| Field Detail |
|---|
protected String name
protected ValueMetaData value
| Constructor Detail |
|---|
public AbstractAnnotationAttributeMetaData()
public AbstractAnnotationAttributeMetaData(String name,
Object value)
name - the namevalue - the value
public AbstractAnnotationAttributeMetaData(String name,
String value)
name - the namevalue - the string value
public AbstractAnnotationAttributeMetaData(String name,
ValueMetaData value)
name - the namevalue - the value meta data| Method Detail |
|---|
public void setName(String name)
name - the namepublic void setValue(ValueMetaData value)
value - the valuepublic String getName()
AnnotationAttributeMetaData
getName in interface AnnotationAttributeMetaDatapublic ValueMetaData getValue()
AnnotationAttributeMetaData
getValue in interface AnnotationAttributeMetaDatapublic void visit(MetaDataVisitor visitor)
MetaDataVisitorNode
visit in interface MetaDataVisitorNodevisitor - the visitorpublic Iterator getChildren()
MetaDataVisitorNode
getChildren in interface MetaDataVisitorNodepublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectpublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class org.jboss.util.JBossObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||