Package org.jvnet.jaxb.annox.model
Class XField
- java.lang.Object
-
- org.jvnet.jaxb.annox.model.XAnnotated
-
- org.jvnet.jaxb.annox.model.XAnnotatedElement<T>
-
- org.jvnet.jaxb.annox.model.XMember<Field>
-
- org.jvnet.jaxb.annox.model.XField
-
- All Implemented Interfaces:
AnnotatedElement
public class XField extends XMember<Field>
Defines an annotated field.- Author:
- Aleksei Valikov
-
-
Field Summary
Fields Modifier and Type Field Description static XField[]EMPTY_ARRAYEmprty array of fields.
-
Constructor Summary
Constructors Constructor Description XField(Field field, XAnnotation<?>[] xannotations)Constructs an annotated field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldgetField()Returns the target field.-
Methods inherited from class org.jvnet.jaxb.annox.model.XMember
equals, getMember, getName, hashCode
-
Methods inherited from class org.jvnet.jaxb.annox.model.XAnnotatedElement
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresent
-
Methods inherited from class org.jvnet.jaxb.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, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
-
-
-
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.
-
-