Interface AnnotationValue
- 
 public interface AnnotationValueRepresentation of an annotation value. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationInfogetAnnotationValue()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.BooleangetBoolean()Answer the value of this annotation value as a boolean object.booleangetBooleanValue()Answer the value of this annotation value as a simple boolean value.java.lang.BytegetByte()Answer the value of this annotation value as a byte object.bytegetByteValue()Answer the value of this annotation value as a simple byte value.java.lang.CharactergetCharacter()Answer the value of this annotation value as a character object.chargetCharValue()Answer the value of this annotation value as a simple byte value.java.lang.StringgetClassNameValue()Answer the class name for an annotation value which is a class reference.java.lang.DoublegetDouble()Answer the value of this annotation value as a double object.doublegetDoubleValue()Answer the value of this annotation value as a simple double (double precision floating point) value.java.lang.StringgetEnumClassName()Answer the name of the class of the stored enumerated value.java.lang.StringgetEnumValue()Answer the enumerated value as the value name.java.lang.FloatgetFloat()Answer the value of this annotation value as a float object.floatgetFloatValue()Answer the value of this annotation value as a simple float (floating point) value.java.lang.IntegergetInteger()Answer the value of this annotation value as an integer object.intgetIntValue()Answer the value of this annotation value as a simple int (integer) value.java.lang.LonggetLong()Answer the value of this annotation value as a long object.longgetLongValue()Answer the value of this annotation value as a simple long value.java.lang.ObjectgetObjectValue()Answer the raw, untyped, value of this annotation value.java.lang.StringgetStringValue()Answer the value of this annotation value as a simple string value.
 
- 
- 
- 
Method Detail- 
getObjectValuejava.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.- Returns:
- The raw, untyped, value of this annotation value.
 
 - 
getAnnotationValueAnnotationInfo getAnnotationValue() Answer the value of this annotation value as an annotation. - Returns:
- The value of this annotation value, as an annotation itself.
 
 - 
getArrayValuejava.util.List<? extends AnnotationValue> getArrayValue() Answer the value of this annotation value as an array of annotation values. - Returns:
- The elements of the value of this annotation value, ordered, as a list.
 
 - 
getBooleanjava.lang.Boolean getBoolean() Answer the value of this annotation value as a boolean object. - Returns:
- The value of this annotation value as a boolean object.
 
 - 
getBooleanValueboolean getBooleanValue() Answer the value of this annotation value as a simple boolean value. - Returns:
- The value of this annotation value as a simple boolean value.
 
 - 
getBytejava.lang.Byte getByte() Answer the value of this annotation value as a byte object. - Returns:
- The value of this annotation value as a byte object.
 
 - 
getByteValuebyte getByteValue() Answer the value of this annotation value as a simple byte value. - Returns:
- The value of this annotation value as a simple byte value.
 
 - 
getCharacterjava.lang.Character getCharacter() Answer the value of this annotation value as a character object. - Returns:
- The value of this annotation value as a character object.
 
 - 
getCharValuechar getCharValue() Answer the value of this annotation value as a simple byte value. - Returns:
- The value of this annotation value as a simple byte value.
 
 - 
getClassNameValuejava.lang.String getClassNameValue() Answer the class name for an annotation value which is a class reference. - Returns:
- The class name for a value which is a class reference.
 
 - 
getDoublejava.lang.Double getDouble() Answer the value of this annotation value as a double object. - Returns:
- The value of this annotation value as a double object.
 
 - 
getDoubleValuedouble getDoubleValue() Answer the value of this annotation value as a simple double (double precision floating point) value. - Returns:
- The value of this annotation value as a simple double (double precision floating point) value.
 
 - 
getEnumClassNamejava.lang.String getEnumClassName() Answer the name of the class of the stored enumerated value. - Returns:
- The name of the class of the stored enumerated value.
- See Also:
- getEnumValue(),- #getEnumType()
 
 - 
getEnumValuejava.lang.String getEnumValue() Answer the enumerated value as the value name. - Returns:
- The enumerated value as a value name.
- See Also:
- #getEnumType()
 
 - 
getFloatjava.lang.Float getFloat() Answer the value of this annotation value as a float object. - Returns:
- The value of this annotation value as a float object.
 
 - 
getFloatValuefloat getFloatValue() Answer the value of this annotation value as a simple float (floating point) value. - Returns:
- The value of this annotation value as a simple float (floating point) value.
 
 - 
getIntegerjava.lang.Integer getInteger() Answer the value of this annotation value as an integer object. - Returns:
- The value of this annotation value as an integer object.
 
 - 
getIntValueint getIntValue() Answer the value of this annotation value as a simple int (integer) value. - Returns:
- The value of this annotation value as a simple int (integer) value.
 
 - 
getLongjava.lang.Long getLong() Answer the value of this annotation value as a long object. - Returns:
- The value of this annotation value as a long object.
 
 - 
getLongValuelong getLongValue() Answer the value of this annotation value as a simple long value. - Returns:
- The value of this annotation value as a simple long value.
 
 - 
getStringValuejava.lang.String getStringValue() Answer the value of this annotation value as a simple string value. - Returns:
- The value of this annotation value as a simple string value.
 
 
- 
 
-