|
||||||||||
| 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.spi.PrimitiveValue
public class PrimitiveValue
A primitive value
| Field Summary | |
|---|---|
protected PrimitiveInfo |
type
The type |
protected String |
value
The value |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
PrimitiveValue()
Create a primitive value |
|
PrimitiveValue(String value,
PrimitiveInfo type)
Create a primitive value |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
TypeInfo |
getType()
Get the type of the value |
String |
getValue()
Get the value |
int |
hashCode()
|
boolean |
isPrimitive()
Is this value a primitive |
| Methods inherited from class org.jboss.reflect.spi.AbstractValue |
|---|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isArray, isClass, isEnum, 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 |
| Field Detail |
|---|
protected String value
protected PrimitiveInfo type
| Constructor Detail |
|---|
public PrimitiveValue()
public PrimitiveValue(String value,
PrimitiveInfo type)
value - the valuetype - the type| Method Detail |
|---|
public boolean isPrimitive()
Value
isPrimitive in interface ValueisPrimitive in class AbstractValuepublic String getValue()
public TypeInfo getType()
Value
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class org.jboss.util.JBossObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||