Class OXMJavaFieldImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaFieldImpl
- All Implemented Interfaces:
JavaField
,JavaHasAnnotations
INTERNAL:
Purpose: JavaField
implementation used when bootstrapping
a DynamicJAXBContext
from XML Bindings.
Responsibilities:
- Provide Field information to the
JavaModel
.
- See Also:
-
Constructor Summary
ConstructorDescriptionOXMJavaFieldImpl
(String aFieldName, String aFieldTypeName, JavaClass owner) Construct a new instance ofOXMJavaFieldImpl
. -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotation
(JavaClass aClass) getDeclaredAnnotation
(JavaClass aClass) int
getName()
boolean
boolean
boolean
isFinal()
boolean
boolean
boolean
isPublic()
boolean
isStatic()
boolean
Not supported.
-
Constructor Details
-
OXMJavaFieldImpl
Construct a new instance ofOXMJavaFieldImpl
.- Parameters:
aFieldName
- - this fields's nameaFieldTypeName
- - this field's type as aString
.owner
- - theJavaClass
this field belongs to.
-
-
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() -
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() -
isSynthetic
public boolean isSynthetic()Not supported.- Specified by:
isSynthetic
in interfaceJavaField
-
isEnumConstant
public boolean isEnumConstant()- Specified by:
isEnumConstant
in interfaceJavaField
-
getDeclaredAnnotation
- Specified by:
getDeclaredAnnotation
in interfaceJavaHasAnnotations
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceJavaHasAnnotations
-