|
||||||||||
| 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.StringValueImpl
public class StringValueImpl
A string value
| Field Summary | |
|---|---|
protected TypeInfo |
type
The type |
protected String |
value
The value |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
StringValueImpl()
Create a new string value |
|
StringValueImpl(String value,
TypeInfo type)
Create a new string value |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
TypeInfo |
getType()
Get the type of the value |
String |
getValue()
Get the value |
int |
hashCode()
|
boolean |
isString()
Is this value a string |
| Methods inherited from class org.jboss.reflect.spi.AbstractValue |
|---|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isArray, isClass, isEnum, isPrimitive |
| 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, isArray, isClass, isEnum, isPrimitive |
| Field Detail |
|---|
protected String value
protected TypeInfo type
| Constructor Detail |
|---|
public StringValueImpl()
public StringValueImpl(String value,
TypeInfo type)
value - the valuetype - the type| Method Detail |
|---|
public boolean isString()
Value
isString in interface ValueisString in class AbstractValuepublic String getValue()
StringValue
getValue in interface StringValuepublic TypeInfo getType()
Value
getType in interface Valuepublic 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 | |||||||||