|
||||||||||
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 valuepublic AbstractAnnotationAttributeMetaData(String name, String value)
name
- the namevalue
- the string valuepublic AbstractAnnotationAttributeMetaData(String name, ValueMetaData value)
name
- the namevalue
- the value meta dataMethod Detail |
---|
public void setName(String name)
name
- the namepublic void setValue(ValueMetaData value)
value
- the valuepublic String getName()
AnnotationAttributeMetaData
getName
in interface AnnotationAttributeMetaData
public ValueMetaData getValue()
AnnotationAttributeMetaData
getValue
in interface AnnotationAttributeMetaData
public void visit(MetaDataVisitor visitor)
MetaDataVisitorNode
visit
in interface MetaDataVisitorNode
visitor
- the visitorpublic Iterator getChildren()
MetaDataVisitorNode
getChildren
in interface MetaDataVisitorNode
public void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class org.jboss.util.JBossObject
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class org.jboss.util.JBossObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |