|
||||||||||
| 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.AnnotationAttributeImpl
public class AnnotationAttributeImpl
An annotation attribute
| Field Summary | |
|---|---|
protected Value |
defaultValue
The default value |
protected int |
hash
The hash code |
protected String |
name
The name |
protected TypeInfo |
type
The attribute type |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
AnnotationAttributeImpl()
Create a new annotation attribute |
|
AnnotationAttributeImpl(String name,
TypeInfo type,
Value defaultValue)
Create a new AnnotationAttribute. |
|
| Method Summary | |
|---|---|
protected void |
calcHashCode()
Calculate the hash code |
boolean |
equals(Object obj)
|
Value |
getDefaultValue()
Get the default value |
String |
getName()
Get the attribute name |
TypeInfo |
getType()
Get the attribute type |
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 String name
protected TypeInfo type
protected Value defaultValue
protected int hash
| Constructor Detail |
|---|
public AnnotationAttributeImpl()
public AnnotationAttributeImpl(String name,
TypeInfo type,
Value defaultValue)
name - the annotation nametype - the attribute typedefaultValue - the default value| Method Detail |
|---|
public String getName()
AnnotationAttribute
getName in interface AnnotationAttributepublic TypeInfo getType()
AnnotationAttribute
getType in interface AnnotationAttributepublic Value getDefaultValue()
AnnotationAttribute
getDefaultValue in interface AnnotationAttributepublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class org.jboss.util.JBossObjectprotected void calcHashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||