com.ibm.wsspi.anno.info

Interface AnnotationValue


  1. public interface AnnotationValue

Representation of an annotation value.


Method Summary

Modifier and Type Method and Description
  1. AnnotationInfo
getAnnotationValue()
Answer the value of this annotation value as an annotation.
  1. java.util.List<? extends AnnotationValue>
getArrayValue()
Answer the value of this annotation value as an array of annotation values.
  1. java.lang.Boolean
getBoolean()
Answer the value of this annotation value as a boolean object.
  1. boolean
getBooleanValue()
Answer the value of this annotation value as a simple boolean value.
  1. java.lang.Byte
getByte()
Answer the value of this annotation value as a byte object.
  1. byte
getByteValue()
Answer the value of this annotation value as a simple byte value.
  1. java.lang.Character
getCharacter()
Answer the value of this annotation value as a character object.
  1. char
getCharValue()
Answer the value of this annotation value as a simple byte value.
  1. java.lang.String
getClassNameValue()
Answer the class name for an annotation value which is a class reference.
  1. java.lang.Double
getDouble()
Answer the value of this annotation value as a double object.
  1. double
getDoubleValue()
Answer the value of this annotation value as a simple double (double precision floating point) value.
  1. java.lang.String
getEnumClassName()
Answer the name of the class of the stored enumerated value.
  1. java.lang.String
getEnumValue()
Answer the enumerated value as the value name.
  1. java.lang.Float
getFloat()
Answer the value of this annotation value as a float object.
  1. float
getFloatValue()
Answer the value of this annotation value as a simple float (floating point) value.
  1. java.lang.Integer
getInteger()
Answer the value of this annotation value as an integer object.
  1. int
getIntValue()
Answer the value of this annotation value as a simple int (integer) value.
  1. java.lang.Long
getLong()
Answer the value of this annotation value as a long object.
  1. long
getLongValue()
Answer the value of this annotation value as a simple long value.
  1. java.lang.Object
getObjectValue()
Answer the raw, untyped, value of this annotation value.
  1. java.lang.String
getStringValue()
Answer the value of this annotation value as a simple string value.

Method Detail

getObjectValue

  1. 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.

Returns:
The raw, untyped, value of this annotation value.

getAnnotationValue

  1. AnnotationInfo getAnnotationValue( )

Answer the value of this annotation value as an annotation.

Returns:
The value of this annotation value, as an annotation itself.

getArrayValue

  1. java.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.

getBoolean

  1. java.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.

getBooleanValue

  1. boolean 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.

getByte

  1. java.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.

getByteValue

  1. byte 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.

getCharacter

  1. java.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.

getCharValue

  1. char 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.

getClassNameValue

  1. java.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.

getDouble

  1. java.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.

getDoubleValue

  1. double 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.

getEnumClassName

  1. java.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()

getEnumValue

  1. java.lang.String getEnumValue()

Answer the enumerated value as the value name.

Returns:
The enumerated value as a value name.
See Also:
#getEnumType()

getFloat

  1. java.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.

getFloatValue

  1. float 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.

getInteger

  1. java.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.

getIntValue

  1. int 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.

getLong

  1. java.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.

getLongValue

  1. long 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.

getStringValue

  1. java.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.