|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.plugins.AnnotationValueImpl
public class AnnotationValueImpl
An annotation value
| Field Summary | |
|---|---|
protected AnnotationInfo |
annotationType
The annotation type |
protected HashMap |
attributeValues
The attribute values |
protected int |
hash
The hash code |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
AnnotationValueImpl()
Create a new Annotation value |
|
AnnotationValueImpl(AnnotationInfo annotationType,
HashMap attributeValues)
Create a new Annotation value |
|
| Method Summary | |
|---|---|
protected void |
calculateHash()
Calculate the hashcode |
boolean |
equals(Object o)
|
AnnotationInfo |
getAnnotationType()
Get the annotation type |
TypeInfo |
getType()
Get the type of the value |
Value |
getValue(String attributeName)
Get an attribute value |
int |
hashCode()
|
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AnnotationInfo annotationType
protected HashMap attributeValues
protected int hash
| Constructor Detail |
|---|
public AnnotationValueImpl()
public AnnotationValueImpl(AnnotationInfo annotationType,
HashMap attributeValues)
annotationType - the annotation infoattributeValues - the attribute values| Method Detail |
|---|
public AnnotationInfo getAnnotationType()
AnnotationValue
getAnnotationType in interface AnnotationValuepublic Value getValue(String attributeName)
AnnotationValue
getValue in interface AnnotationValueattributeName - the attribute name
public TypeInfo getType()
Value
getType in interface Valuepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class org.jboss.util.JBossObjectprotected void calculateHash()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||