|
|||||||||||
| 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.EnumConstantInfoImpl
An enumeration constant
| Field Summary | |
protected EnumInfo |
declaring
The enumeration |
protected int |
hash
The hash code |
protected String |
name
The constant name |
| Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
| Constructor Summary | |
EnumConstantInfoImpl()
Create a new constant |
|
EnumConstantInfoImpl(String name,
EnumInfo declaring)
Create a new constant |
|
| Method Summary | |
protected void |
calculateHash()
Calculate the hash code |
boolean |
equals(Object o)
|
EnumInfo |
getDeclaring()
Get the declaring enumeration |
String |
getName()
Get the name |
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 EnumInfo declaring
protected int hash
| Constructor Detail |
public EnumConstantInfoImpl()
public EnumConstantInfoImpl(String name,
EnumInfo declaring)
name - the namedeclaring - the enumeration| Method Detail |
public String getName()
getName in interface EnumConstantInfopublic EnumInfo getDeclaring()
getDeclaring in interface EnumConstantInfopublic boolean equals(Object o)
public int hashCode()
protected void calculateHash()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||