|
||||||||||
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 valueMethod Detail |
---|
public String getName()
AnnotationAttribute
getName
in interface AnnotationAttribute
public TypeInfo getType()
AnnotationAttribute
getType
in interface AnnotationAttribute
public Value getDefaultValue()
AnnotationAttribute
getDefaultValue
in interface AnnotationAttribute
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected void calcHashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |