public abstract class AbstractValue extends org.jboss.util.JBossObject implements Value, Serializable
| Constructor and Description |
|---|
AbstractValue() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationValue |
asAnnotation()
Get the value as an annotation
|
ArrayValue |
asArray()
Get the value as an annotation
|
ClassValue |
asClass()
Get the value as a class
|
EnumValue |
asEnum()
Get the value as an enum
|
PrimitiveValue |
asPrimitive()
Get the value as a primitive
|
StringValue |
asString()
Get the value as a string
|
boolean |
isAnnotation()
Is this value an annotation
|
boolean |
isArray()
Is this value an array
|
boolean |
isClass()
Is this value a class
|
boolean |
isEnum()
Is this value an enum
|
boolean |
isPrimitive()
Is this value a primitive
|
boolean |
isString()
Is this value a string
|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementationpublic AnnotationValue asAnnotation()
ValueasAnnotation in interface Valuepublic ArrayValue asArray()
Valuepublic ClassValue asClass()
Valuepublic PrimitiveValue asPrimitive()
ValueasPrimitive in interface Valuepublic StringValue asString()
Valuepublic boolean isAnnotation()
ValueisAnnotation in interface Valuepublic boolean isArray()
Valuepublic boolean isClass()
Valuepublic boolean isEnum()
Valuepublic boolean isPrimitive()
ValueisPrimitive in interface ValueCopyright © 2016 JBoss by Red Hat. All rights reserved.