|
||||||||||
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
public class 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 enumerationMethod Detail |
---|
public String getName()
getName
in interface EnumConstantInfo
public EnumInfo getDeclaring()
getDeclaring
in interface EnumConstantInfo
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected void calculateHash()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |