public interface AnnotationValue
Representation of an annotation value.
Modifier and Type | Method and Description |
---|---|
AnnotationInfo |
getAnnotationValue()
Answer the value of this annotation value as an annotation.
|
java.util.List<? extends AnnotationValue> |
getArrayValue()
Answer the value of this annotation value as an array of annotation values.
|
java.lang.Boolean |
getBoolean()
Answer the value of this annotation value as a boolean object.
|
boolean |
getBooleanValue()
Answer the value of this annotation value as a simple boolean value.
|
java.lang.Byte |
getByte()
Answer the value of this annotation value as a byte object.
|
byte |
getByteValue()
Answer the value of this annotation value as a simple byte value.
|
java.lang.Character |
getCharacter()
Answer the value of this annotation value as a character object.
|
char |
getCharValue()
Answer the value of this annotation value as a simple byte value.
|
java.lang.String |
getClassNameValue()
Answer the class name for an annotation value which is a class reference.
|
java.lang.Double |
getDouble()
Answer the value of this annotation value as a double object.
|
double |
getDoubleValue()
Answer the value of this annotation value as a simple double (double precision floating point) value.
|
java.lang.String |
getEnumClassName()
Answer the name of the class of the stored enumerated value.
|
java.lang.String |
getEnumValue()
Answer the enumerated value as the value name.
|
java.lang.Float |
getFloat()
Answer the value of this annotation value as a float object.
|
float |
getFloatValue()
Answer the value of this annotation value as a simple float (floating point) value.
|
java.lang.Integer |
getInteger()
Answer the value of this annotation value as an integer object.
|
int |
getIntValue()
Answer the value of this annotation value as a simple int (integer) value.
|
java.lang.Long |
getLong()
Answer the value of this annotation value as a long object.
|
long |
getLongValue()
Answer the value of this annotation value as a simple long value.
|
java.lang.Object |
getObjectValue()
Answer the raw, untyped, value of this annotation value.
|
java.lang.String |
getStringValue()
Answer the value of this annotation value as a simple string value.
|
java.lang.Object getObjectValue()
Answer the raw, untyped, value of this annotation value.
The raw value of the annotation is set when the annotation value is constructed, and includes at least a raw value, and may optionally include an the name of the enumeration type of the value.
When the type of the value is known, a casting getter may be used
to retrieve the typed value. See, for example, getLongValue()
,
amount several typing getters. If the casting getter does not match
the set type, a class cast exception will occur.
AnnotationInfo getAnnotationValue()
Answer the value of this annotation value as an annotation.
java.util.List<? extends AnnotationValue> getArrayValue()
Answer the value of this annotation value as an array of annotation values.
java.lang.Boolean getBoolean()
Answer the value of this annotation value as a boolean object.
boolean getBooleanValue()
Answer the value of this annotation value as a simple boolean value.
java.lang.Byte getByte()
Answer the value of this annotation value as a byte object.
byte getByteValue()
Answer the value of this annotation value as a simple byte value.
java.lang.Character getCharacter()
Answer the value of this annotation value as a character object.
char getCharValue()
Answer the value of this annotation value as a simple byte value.
java.lang.String getClassNameValue()
Answer the class name for an annotation value which is a class reference.
java.lang.Double getDouble()
Answer the value of this annotation value as a double object.
double getDoubleValue()
Answer the value of this annotation value as a simple double (double precision floating point) value.
java.lang.String getEnumClassName()
Answer the name of the class of the stored enumerated value.
getEnumValue()
,
#getEnumType()
java.lang.String getEnumValue()
Answer the enumerated value as the value name.
#getEnumType()
java.lang.Float getFloat()
Answer the value of this annotation value as a float object.
float getFloatValue()
Answer the value of this annotation value as a simple float (floating point) value.
java.lang.Integer getInteger()
Answer the value of this annotation value as an integer object.
int getIntValue()
Answer the value of this annotation value as a simple int (integer) value.
java.lang.Long getLong()
Answer the value of this annotation value as a long object.
long getLongValue()
Answer the value of this annotation value as a simple long value.
java.lang.String getStringValue()
Answer the value of this annotation value as a simple string value.