public class StringValueImpl extends AbstractValue implements StringValue
| Modifier and Type | Field and Description |
|---|---|
protected TypeInfo |
type
The type
|
protected String |
value
The value
|
| Constructor and Description |
|---|
StringValueImpl()
Create a new string value
|
StringValueImpl(String value,
TypeInfo type)
Create a new string value
|
| Modifier and Type | Method and Description |
|---|---|
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
|
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isArray, isClass, isEnum, isPrimitivecacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitasAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isArray, isClass, isEnum, isPrimitivepublic boolean isString()
ValueisString in interface ValueisString in class AbstractValuepublic String getValue()
StringValuegetValue in interface StringValuepublic TypeInfo getType()
Valuepublic int hashCode()
hashCode in class org.jboss.util.JBossObjectCopyright © 2016 JBoss by Red Hat. All rights reserved.