|
|||||||||||
| 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.EnumValueImpl
An enumeration value
| Field Summary | |
protected int |
hash
The hash code |
protected TypeInfo |
type
The type |
protected String |
value
The value |
| Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
| Constructor Summary | |
EnumValueImpl()
Create a new EnumValue. |
|
EnumValueImpl(TypeInfo type,
String value)
Create a new EnumValue. |
|
| Method Summary | |
protected void |
calculateHash()
Calculate the hash code |
boolean |
equals(Object o)
|
TypeInfo |
getType()
Get the type of the value |
String |
getValue()
Get the 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 TypeInfo type
protected String value
protected int hash
| Constructor Detail |
public EnumValueImpl()
public EnumValueImpl(TypeInfo type,
String value)
type - the typevalue - the value| Method Detail |
public String getValue()
EnumValue
getValue in interface EnumValuepublic TypeInfo getType()
Value
getType in interface Valuepublic 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 | ||||||||||