org.jvnet.annox.model
Class XField

java.lang.Object
  extended by org.jvnet.annox.model.XAnnotated
      extended by org.jvnet.annox.model.XAnnotatedElement<T>
          extended by org.jvnet.annox.model.XMember<Field>
              extended by org.jvnet.annox.model.XField
All Implemented Interfaces:
AnnotatedElement

public class XField
extends XMember<Field>

Defines an annotated field.

Author:
Aleksei Valikov

Field Summary
static XField[] EMPTY_ARRAY
          Emprty array of fields.
 
Constructor Summary
XField(Field field, XAnnotation[] xannotations)
          Constructs an annotated field.
 
Method Summary
 Field getField()
          Returns the target field.
 
Methods inherited from class org.jvnet.annox.model.XMember
equals, getMember, getName, hashCode
 
Methods inherited from class org.jvnet.annox.model.XAnnotatedElement
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresent
 
Methods inherited from class org.jvnet.annox.model.XAnnotated
getAnnotations, getXAnnotations, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotations
 

Field Detail

EMPTY_ARRAY

public static final XField[] EMPTY_ARRAY
Emprty array of fields.

Constructor Detail

XField

public XField(Field field,
              XAnnotation[] xannotations)
Constructs an annotated field.

Parameters:
field - target field.
xannotations - field annotations.
Method Detail

getField

public Field getField()
Returns the target field.

Returns:
Target field.


Copyright © 2006-2012 Highsource. All Rights Reserved.