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:
JavaField
implementation used when bootstrapping aDynamicJAXBContext
from 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 JavaAnnotation
getAnnotation(JavaClass aClass)
java.util.Collection<JavaAnnotation>
getAnnotations()
JavaAnnotation
getDeclaredAnnotation(JavaClass aClass)
java.util.Collection<JavaAnnotation>
getDeclaredAnnotations()
int
getModifiers()
java.lang.String
getName()
JavaClass
getOwningClass()
JavaClass
getResolvedType()
boolean
isAbstract()
boolean
isEnumConstant()
boolean
isFinal()
boolean
isPrivate()
boolean
isProtected()
boolean
isPublic()
boolean
isStatic()
boolean
isSynthetic()
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
- - theJavaClass
this field belongs to.
-
-
Method Detail
-
getAnnotation
public JavaAnnotation getAnnotation(JavaClass aClass)
- Specified by:
getAnnotation
in interfaceJavaHasAnnotations
-
getAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
- Specified by:
getAnnotations
in interfaceJavaHasAnnotations
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceJavaField
-
getOwningClass
public JavaClass getOwningClass()
-
getResolvedType
public JavaClass getResolvedType()
- Specified by:
getResolvedType
in interfaceJavaField
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceJavaField
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfaceJavaField
-
isSynthetic
public boolean isSynthetic()
Not supported.- Specified by:
isSynthetic
in interfaceJavaField
-
isEnumConstant
public boolean isEnumConstant()
- Specified by:
isEnumConstant
in interfaceJavaField
-
getDeclaredAnnotation
public JavaAnnotation getDeclaredAnnotation(JavaClass aClass)
- Specified by:
getDeclaredAnnotation
in interfaceJavaHasAnnotations
-
getDeclaredAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interfaceJavaHasAnnotations
-
-