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, isPrimitive
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
asAnnotation, asArray, asClass, asEnum, asPrimitive, asString, isAnnotation, isArray, isClass, isEnum, isPrimitive
public boolean isString()
Value
isString
in interface Value
isString
in class AbstractValue
public String getValue()
StringValue
getValue
in interface StringValue
public TypeInfo getType()
Value
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
Copyright © 2015 JBoss by Red Hat. All rights reserved.