Module org.eclipse.persistence.moxy
Class JavaFieldImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.reflection.JavaFieldImpl
- All Implemented Interfaces:
JavaField
,JavaHasAnnotations
INTERNAL:
Purpose:A wrapper class for a JDK Field. This implementation of the TopLink JAXB 2.0 Java model simply makes reflective calls on the underlying JDK object.
Responsibilities:
- Provide access to the underlying field's name, type, modifiers, annotations, etc.
- Since:
- Oracle TopLink 11.1.1.0.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJavaFieldImpl
(Field javaField, JavaModelImpl javaModelImpl) JavaFieldImpl
(Field javaField, JavaModelImpl javaModelImpl, Boolean isMetadataComplete) -
Method Summary
-
Field Details
-
jField
-
isMetadataComplete
protected boolean isMetadataComplete
-
-
Constructor Details
-
JavaFieldImpl
-
JavaFieldImpl
-
-
Method Details
-
getAnnotation
- Specified by:
getAnnotation
in interfaceJavaHasAnnotations
-
getAnnotations
- Specified by:
getAnnotations
in interfaceJavaHasAnnotations
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in interfaceJavaField
-
getName
-
getOwningClass
-
getResolvedType
- Specified by:
getResolvedType
in interfaceJavaField
-
isFinal
public boolean isFinal() -
isSynthetic
public boolean isSynthetic()- Specified by:
isSynthetic
in interfaceJavaField
-
getAnnotatedElement
-
get
- Throws:
IllegalAccessException
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstract
in interfaceJavaField
-
isPrivate
public boolean isPrivate() -
isProtected
public boolean isProtected()- Specified by:
isProtected
in interfaceJavaField
-
isPublic
public boolean isPublic() -
isStatic
public boolean isStatic() -
isEnumConstant
public boolean isEnumConstant()- Specified by:
isEnumConstant
in interfaceJavaField
-
getDeclaredAnnotation
- Specified by:
getDeclaredAnnotation
in interfaceJavaHasAnnotations
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceJavaHasAnnotations
-