Class OXMJavaFieldImpl
- java.lang.Object
-
- org.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaFieldImpl
-
- All Implemented Interfaces:
JavaField,JavaHasAnnotations
public class OXMJavaFieldImpl extends java.lang.Object implements JavaField
INTERNAL:Purpose:
JavaFieldimplementation used when bootstrapping aDynamicJAXBContextfrom XML Bindings.Responsibilities:
- Provide Field information to the
JavaModel.
- See Also:
JavaField- Since:
- EclipseLink 2.2
-
-
Constructor Summary
Constructors Constructor Description OXMJavaFieldImpl(java.lang.String aFieldName, java.lang.String aFieldTypeName, JavaClass owner)Construct a new instance ofOXMJavaFieldImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaAnnotationgetAnnotation(JavaClass aClass)java.util.Collection<JavaAnnotation>getAnnotations()JavaAnnotationgetDeclaredAnnotation(JavaClass aClass)java.util.Collection<JavaAnnotation>getDeclaredAnnotations()intgetModifiers()java.lang.StringgetName()JavaClassgetOwningClass()JavaClassgetResolvedType()booleanisAbstract()booleanisEnumConstant()booleanisFinal()booleanisPrivate()booleanisProtected()booleanisPublic()booleanisStatic()booleanisSynthetic()Not supported.
-
-
-
Constructor Detail
-
OXMJavaFieldImpl
public OXMJavaFieldImpl(java.lang.String aFieldName, java.lang.String aFieldTypeName, JavaClass owner)Construct a new instance ofOXMJavaFieldImpl.- Parameters:
aFieldName- - this fields's nameaFieldTypeName- - this field's type as aString.owner- - theJavaClassthis field belongs to.
-
-
Method Detail
-
getAnnotation
public JavaAnnotation getAnnotation(JavaClass aClass)
- Specified by:
getAnnotationin interfaceJavaHasAnnotations
-
getAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
- Specified by:
getAnnotationsin interfaceJavaHasAnnotations
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin interfaceJavaField
-
getOwningClass
public JavaClass getOwningClass()
-
getResolvedType
public JavaClass getResolvedType()
- Specified by:
getResolvedTypein interfaceJavaField
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceJavaField
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceJavaField
-
isSynthetic
public boolean isSynthetic()
Not supported.- Specified by:
isSyntheticin interfaceJavaField
-
isEnumConstant
public boolean isEnumConstant()
- Specified by:
isEnumConstantin interfaceJavaField
-
getDeclaredAnnotation
public JavaAnnotation getDeclaredAnnotation(JavaClass aClass)
- Specified by:
getDeclaredAnnotationin interfaceJavaHasAnnotations
-
getDeclaredAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceJavaHasAnnotations
-
-