|
JBoss Reflection 2.2.1.SP1 | |||||||||
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.spi.AbstractValue
org.jboss.reflect.plugins.ClassValueImpl
public class ClassValueImpl
Class 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 | |
---|---|
ClassValueImpl()
Create a new class value |
|
ClassValueImpl(String value,
TypeInfo type)
Create a new ClassValue. |
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()
|
boolean |
isArray()
Is this value an array |
Methods inherited from class org.jboss.reflect.spi.AbstractValue |
---|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isClass, isEnum, isPrimitive, isString |
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 |
Methods inherited from interface org.jboss.reflect.spi.Value |
---|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isClass, isEnum, isPrimitive, isString |
Field Detail |
---|
protected String value
protected TypeInfo type
protected int hash
Constructor Detail |
---|
public ClassValueImpl()
public ClassValueImpl(String value, TypeInfo type)
value
- the valuetype
- the typeMethod Detail |
---|
public boolean isArray()
Value
isArray
in interface Value
isArray
in class AbstractValue
public String getValue()
ClassValue
getValue
in interface ClassValue
public TypeInfo getType()
Value
getType
in interface Value
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected void calculateHash()
|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |