org.apache.felix.scrplugin.annotations
Class FieldAnnotation

java.lang.Object
  extended by org.apache.felix.scrplugin.annotations.ScannedAnnotation
      extended by org.apache.felix.scrplugin.annotations.FieldAnnotation

public class FieldAnnotation
extends ScannedAnnotation

A field annotation


Field Summary
 
Fields inherited from class org.apache.felix.scrplugin.annotations.ScannedAnnotation
name, values
 
Constructor Summary
FieldAnnotation(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> values, java.lang.reflect.Field f)
          Constructor.
 
Method Summary
 java.lang.reflect.Field getAnnotatedField()
          Get the annotated field.
 java.lang.Object getAnnotatedFieldValue()
          Get the initial value of the value if this is a static field.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.felix.scrplugin.annotations.ScannedAnnotation
getBooleanValue, getEnumValue, getIntegerValue, getLongValue, getName, getSimpleName, getStringValue, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldAnnotation

public FieldAnnotation(java.lang.String name,
                       java.util.Map<java.lang.String,java.lang.Object> values,
                       java.lang.reflect.Field f)
Constructor.

Method Detail

getAnnotatedField

public java.lang.reflect.Field getAnnotatedField()
Get the annotated field.


getAnnotatedFieldValue

public java.lang.Object getAnnotatedFieldValue()
                                        throws SCRDescriptorFailureException
Get the initial value of the value if this is a static field.

Throws:
SCRDescriptorFailureException

toString

public java.lang.String toString()
Overrides:
toString in class ScannedAnnotation


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.